aboutsummaryrefslogtreecommitdiff
path: root/gas
diff options
context:
space:
mode:
authorJeff Law <law@redhat.com>2000-06-14 02:58:49 +0000
committerJeff Law <law@redhat.com>2000-06-14 02:58:49 +0000
commit20348649cc46f313dfd80f168eb4679d77b34dd8 (patch)
treeaea219dae85007c48b9a0abf97ed4da5da1e98f1 /gas
parent9921923c9ddbc0161980262027eb6d9395976c73 (diff)
downloadgdb-20348649cc46f313dfd80f168eb4679d77b34dd8.zip
gdb-20348649cc46f313dfd80f168eb4679d77b34dd8.tar.gz
gdb-20348649cc46f313dfd80f168eb4679d77b34dd8.tar.bz2
* config/tc-hppa.c (pa_export): Weak symbols can be global.
Diffstat (limited to 'gas')
-rw-r--r--gas/ChangeLog4
-rw-r--r--gas/config/tc-hppa.c7
2 files changed, 10 insertions, 1 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog
index d0ddd60..f305b25 100644
--- a/gas/ChangeLog
+++ b/gas/ChangeLog
@@ -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>
* configure: Regenerate.
diff --git a/gas/config/tc-hppa.c b/gas/config/tc-hppa.c
index c57fd61..61f42c1 100644
--- a/gas/config/tc-hppa.c
+++ b/gas/config/tc-hppa.c
@@ -6466,8 +6466,13 @@ pa_export (unused)
}
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);
+ symbol_get_bfdsym (symbol)->flags |= BSF_GLOBAL;
p = input_line_pointer;
*p = c;
if (!is_end_of_statement ())