aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDave Anglin <dave.anglin@nrc.ca>2009-03-03 23:21:52 +0000
committerDave Anglin <dave.anglin@nrc.ca>2009-03-03 23:21:52 +0000
commit1c5c6c13c255e4c83cbc3c26db61b91fed40f1ea (patch)
tree466d38c252a18aa5e1054409bae779bcfe897892
parented84b57b4d4174562f7266b9bbd523ac2b590eb6 (diff)
downloadgdb-1c5c6c13c255e4c83cbc3c26db61b91fed40f1ea.zip
gdb-1c5c6c13c255e4c83cbc3c26db61b91fed40f1ea.tar.gz
gdb-1c5c6c13c255e4c83cbc3c26db61b91fed40f1ea.tar.bz2
binutils/3807
* config/tc-hppa.h (tc_frob_symbol): Don't frob absolute symbols with local scope for ELF targets.
-rw-r--r--gas/ChangeLog6
-rw-r--r--gas/config/tc-hppa.h4
2 files changed, 7 insertions, 3 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog
index a52b055..7712668 100644
--- a/gas/ChangeLog
+++ b/gas/ChangeLog
@@ -1,3 +1,9 @@
+2009-03-03 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
+
+ binutils/3807
+ * config/tc-hppa.h (tc_frob_symbol): Don't frob absolute symbols with
+ local scope for ELF targets.
+
2009-03-04 Alan Modra <amodra@bigpond.net.au>
* config/tc-ppc.c (md_assemble): APUinfo only for e500.
diff --git a/gas/config/tc-hppa.h b/gas/config/tc-hppa.h
index 05168b1..cd8c205 100644
--- a/gas/config/tc-hppa.h
+++ b/gas/config/tc-hppa.h
@@ -1,6 +1,6 @@
/* tc-hppa.h -- Header file for the PA
Copyright 1989, 1993, 1994, 1995, 1997, 1998, 1999, 2000, 2001, 2002,
- 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
+ 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
This file is part of GAS, the GNU Assembler.
@@ -181,8 +181,6 @@ int hppa_fix_adjustable (struct fix *);
if ((S_GET_SEGMENT (sym) == &bfd_und_section \
&& ! symbol_used_p (sym) \
&& ELF_ST_VISIBILITY (S_GET_OTHER (sym)) == STV_DEFAULT) \
- || (S_GET_SEGMENT (sym) == &bfd_abs_section \
- && ! S_IS_EXTERNAL (sym)) \
|| strcmp (S_GET_NAME (sym), "$global$") == 0 \
|| strcmp (S_GET_NAME (sym), "$segrel$") == 0 \
|| strcmp (S_GET_NAME (sym), "$PIC_pcrel$0") == 0 \