diff options
author | Richard Sandiford <rsandifo@nildram.co.uk> | 2009-03-14 09:18:22 +0000 |
---|---|---|
committer | Richard Sandiford <rsandifo@nildram.co.uk> | 2009-03-14 09:18:22 +0000 |
commit | 8ef6e550317e5ed0b159d48569257cc915f1bf0c (patch) | |
tree | e608b9d15f283a0d16cac9da378ada60a7e2894f /bfd/libcoff.h | |
parent | e2bb90bb2904ba2daecd92bfabefc43329627c2f (diff) | |
download | binutils-redhat-8ef6e550317e5ed0b159d48569257cc915f1bf0c.tar.gz |
bfd/
* xcofflink.c: (xcoff_mark_symbol): Mark the TOC section when
creating a descriptor.
(xcoff_sweep): Don't mark toc_section unless it's needed.
(bfd_xcoff_size_dynamic_sections): Skip the toc_section
when marking every bfd.
(xcoff_link_input_bfd): Skip all TOC anchors.
(xcoff_toc_section_p, xcoff_find_tc0): New functions.
(_bfd_xcoff_bfd_final_link): Don't set the output bfd's TOC anchor
to -1; call xcoff_find_tc0 instead.
ld/testsuite/
* ld-powerpc/aix-toc-1.ex, ld-powerpc/aix-toc-1a.s,
ld-powerpc/aix-toc-1b.s, ld-powerpc/aix-toc-1-32.dd,
ld-powerpc/aix-toc-1-64.dd: New tests.
* ld-powerpc/aix52.exp: Run them.
Diffstat (limited to 'bfd/libcoff.h')
0 files changed, 0 insertions, 0 deletions