aboutsummaryrefslogtreecommitdiff
path: root/bfd
diff options
context:
space:
mode:
authorRichard Sandiford <rdsandiford@googlemail.com>2009-03-14 09:32:56 +0000
committerRichard Sandiford <rdsandiford@googlemail.com>2009-03-14 09:32:56 +0000
commitc4037431e0ee0a46a4b8717ee6de97546143995b (patch)
tree40eb99f3d29e73105e60deba3f3e75b2c793540f /bfd
parent3df13c4a63ba23bb8e9b0b38f2dcd98d8d0b4a4b (diff)
downloadgdb-c4037431e0ee0a46a4b8717ee6de97546143995b.zip
gdb-c4037431e0ee0a46a4b8717ee6de97546143995b.tar.gz
gdb-c4037431e0ee0a46a4b8717ee6de97546143995b.tar.bz2
bfd/
* xcofflink.c (bfd_xcoff_import_symbol): Treat imported absolute symbols as XMC_XO. ld/testsuite/ * ld-powerpc/aix-abs-branch-1.nd, ld-powerpc/aix-abs-reloc-1.nd: New tests. * ld-powerpc/aix52.exp: Run them.
Diffstat (limited to 'bfd')
-rw-r--r--bfd/ChangeLog5
-rw-r--r--bfd/xcofflink.c1
2 files changed, 6 insertions, 0 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog
index 9e7b00f..6f9011a 100644
--- a/bfd/ChangeLog
+++ b/bfd/ChangeLog
@@ -1,5 +1,10 @@
2009-03-14 Richard Sandiford <r.sandiford@uk.ibm.com>
+ * xcofflink.c (bfd_xcoff_import_symbol): Treat imported absolute
+ symbols as XMC_XO.
+
+2009-03-14 Richard Sandiford <r.sandiford@uk.ibm.com>
+
* libcoff-in.h (xcoff_tdata): Add a lineno_counts field.
* libcoff.h: Regenerate.
* xcofflink.c (xcoff_link_add_symbols): Record per-symbol
diff --git a/bfd/xcofflink.c b/bfd/xcofflink.c
index aacd078..39d278e 100644
--- a/bfd/xcofflink.c
+++ b/bfd/xcofflink.c
@@ -2723,6 +2723,7 @@ bfd_xcoff_import_symbol (bfd *output_bfd,
h->root.type = bfd_link_hash_defined;
h->root.u.def.section = bfd_abs_section_ptr;
h->root.u.def.value = val;
+ h->smclas = XMC_XO;
}
if (!xcoff_set_import_path (info, h, imppath, impfile, impmember))