diff options
author | Richard Sandiford <rdsandiford@googlemail.com> | 2009-03-14 09:32:56 +0000 |
---|---|---|
committer | Richard Sandiford <rdsandiford@googlemail.com> | 2009-03-14 09:32:56 +0000 |
commit | c4037431e0ee0a46a4b8717ee6de97546143995b (patch) | |
tree | 40eb99f3d29e73105e60deba3f3e75b2c793540f /bfd/xcofflink.c | |
parent | 3df13c4a63ba23bb8e9b0b38f2dcd98d8d0b4a4b (diff) | |
download | binutils-c4037431e0ee0a46a4b8717ee6de97546143995b.zip binutils-c4037431e0ee0a46a4b8717ee6de97546143995b.tar.gz binutils-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/xcofflink.c')
-rw-r--r-- | bfd/xcofflink.c | 1 |
1 files changed, 1 insertions, 0 deletions
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)) |