* config/tc-hppa.c (pa_export): Weak symbols can be global.
This commit is contained in:
parent
9921923c9d
commit
20348649cc
2 changed files with 10 additions and 1 deletions
|
@ -1,3 +1,7 @@
|
||||||
|
Tue Jun 13 20:58:28 2000 Catherine Moore <clm@redhat.com>
|
||||||
|
|
||||||
|
* config/tc-hppa.c (pa_export): Weak symbols can be global.
|
||||||
|
|
||||||
2000-06-13 H.J. Lu <hjl@gnu.org>
|
2000-06-13 H.J. Lu <hjl@gnu.org>
|
||||||
|
|
||||||
* configure: Regenerate.
|
* configure: Regenerate.
|
||||||
|
|
|
@ -6466,8 +6466,13 @@ pa_export (unused)
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
/* OK. Set the external bits and process argument relocations. */
|
/* OK. Set the external bits and process argument relocations.
|
||||||
|
For the HP, weak and global are not mutually exclusive.
|
||||||
|
S_SET_EXTERNAL will not set BSF_GLOBAL if WEAK is set.
|
||||||
|
Call S_SET_EXTERNAL to get the other processing. Manually
|
||||||
|
set BSF_GLOBAL when we get back. */
|
||||||
S_SET_EXTERNAL (symbol);
|
S_SET_EXTERNAL (symbol);
|
||||||
|
symbol_get_bfdsym (symbol)->flags |= BSF_GLOBAL;
|
||||||
p = input_line_pointer;
|
p = input_line_pointer;
|
||||||
*p = c;
|
*p = c;
|
||||||
if (!is_end_of_statement ())
|
if (!is_end_of_statement ())
|
||||||
|
|
Loading…
Add table
Reference in a new issue