mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-12-03 04:12:10 +08:00
b64232cca5
* xcoff.h (XCOFF_EXPALL, XCOFF_EXPFULL): New flags. (xcoff_loader_info): Add auto_export_flags. bfd/ * bfd-in.h (bfd_xcoff_size_dynamic_sections): Replace the bfd_boolean export_defineds parameter with an unsigned int auto_export_flags parameter. * bfd-in2.h: Regenerate. * xcofflink.c (xcoff_archive_contains_shared_object_p): New function, split out from xcoff_build_ldsyms. (xcoff_covered_by_expall_p): New function. (xcoff_auto_export_p): New function, split out from xcoff_build_ldsyms but with extra code to handle -bexpfull and -bexpall. (xcoff_mark_auto_exports): New function. (xcoff_build_ldsyms): Use xcoff_auto_export_p to decide whether a function should be automatically exported. (bfd_xcoff_size_dynamic_sections): Replace the export_defineds parameter with an auto_export_flags parameter. Update ldinfo accordingly. Use xcoff_mark_auto_exports to mark all automatically- exported symbols. ld/ * emultempl/aix.em (auto_export_flags): New variable. (explicit_auto_export_flags): Likewise. (OPTION_EXPALL, OPTION_EXPFULL): New enum values. (OPTION_NOEXPALL, OPTION_NOEXPFULL): Likewise. (gld${EMULATION_NAME}_add_options): Add -bexpall, -bexpfull, -bnoexpall and -bnoexpfull. (gld${EMULATION_NAME}_handle_option): Handle them. (gld${EMULATION_NAME}_before_allocation): Update the call to bfd_size_dynamic_sections. ld/testsuite/ * ld-powerpc/aix-export-1-all.dd, ld-powerpc/aix-export-1-full.dd, ld-powerpc/aix-export-1a.s, ld-powerpc/aix-export-1b.s: New tests. * ld-powerpc/aix52.exp: Run them. |
||
---|---|---|
.. | ||
aix52.exp | ||
aix-abs-branch-1.dd | ||
aix-abs-branch-1.ex | ||
aix-abs-branch-1.im | ||
aix-abs-branch-1.nd | ||
aix-abs-branch-1.s | ||
aix-abs-reloc-1.ex | ||
aix-abs-reloc-1.im | ||
aix-abs-reloc-1.nd | ||
aix-abs-reloc-1.od | ||
aix-abs-reloc-1.s | ||
aix-core-sec-1.ex | ||
aix-core-sec-1.hd | ||
aix-core-sec-1.s | ||
aix-core-sec-2.ex | ||
aix-core-sec-2.hd | ||
aix-core-sec-2.s | ||
aix-core-sec-3.ex | ||
aix-core-sec-3.hd | ||
aix-core-sec-3.s | ||
aix-export-1-all.dd | ||
aix-export-1-full.dd | ||
aix-export-1a.s | ||
aix-export-1b.s | ||
aix-gc-1-32.dd | ||
aix-gc-1-64.dd | ||
aix-gc-1.ex | ||
aix-gc-1.s | ||
aix-glink-1-32.d | ||
aix-glink-1-32.dd | ||
aix-glink-1-64.d | ||
aix-glink-1-64.dd | ||
aix-glink-1.ex | ||
aix-glink-1.s | ||
aix-glink-2-32.dd | ||
aix-glink-2-64.dd | ||
aix-glink-2a.ex | ||
aix-glink-2a.s | ||
aix-glink-2b.s | ||
aix-glink-2c.ex | ||
aix-glink-2c.s | ||
aix-glink-2d.s | ||
aix-lineno-1.s | ||
aix-lineno-1.txt | ||
aix-lineno-1a.dd | ||
aix-lineno-1a.nd | ||
aix-lineno-1b.dd | ||
aix-lineno-1b.nd | ||
aix-no-dup-syms-1-dso.dnd | ||
aix-no-dup-syms-1-dso.drd | ||
aix-no-dup-syms-1-dso.nd | ||
aix-no-dup-syms-1-dso.rd | ||
aix-no-dup-syms-1-rel.nd | ||
aix-no-dup-syms-1-rel.rd | ||
aix-no-dup-syms-1.ex | ||
aix-no-dup-syms-1.im | ||
aix-no-dup-syms-1a.s | ||
aix-no-dup-syms-1b.s | ||
aix-toc-1-32.dd | ||
aix-toc-1-64.dd | ||
aix-toc-1.ex | ||
aix-toc-1a.s | ||
aix-toc-1b.s | ||
aix-weak-1-dso.dnd | ||
aix-weak-1-dso.hd | ||
aix-weak-1-dso.nd | ||
aix-weak-1-gcdso.dnd | ||
aix-weak-1-gcdso.hd | ||
aix-weak-1-gcdso.nd | ||
aix-weak-1-rel.hd | ||
aix-weak-1-rel.nd | ||
aix-weak-1.ex | ||
aix-weak-1a.s | ||
aix-weak-1b.s | ||
aix-weak-2a.ex | ||
aix-weak-2a.nd | ||
aix-weak-2a.s | ||
aix-weak-2b.nd | ||
aix-weak-2b.s | ||
aix-weak-2c.ex | ||
aix-weak-2c.nd | ||
aix-weak-2c.od | ||
aix-weak-2c.s | ||
aix-weak-3-32.d | ||
aix-weak-3-32.dd | ||
aix-weak-3-64.d | ||
aix-weak-3-64.dd | ||
aix-weak-3a.ex | ||
aix-weak-3a.s | ||
aix-weak-3b.ex | ||
aix-weak-3b.s | ||
apuinfo1.s | ||
apuinfo2.s | ||
apuinfo.rd | ||
attr-gnu-4-0.s | ||
attr-gnu-4-1.s | ||
attr-gnu-4-2.s | ||
attr-gnu-4-3.s | ||
attr-gnu-4-4.s | ||
attr-gnu-4-00.d | ||
attr-gnu-4-01.d | ||
attr-gnu-4-02.d | ||
attr-gnu-4-03.d | ||
attr-gnu-4-10.d | ||
attr-gnu-4-11.d | ||
attr-gnu-4-12.d | ||
attr-gnu-4-13.d | ||
attr-gnu-4-14.d | ||
attr-gnu-4-20.d | ||
attr-gnu-4-21.d | ||
attr-gnu-4-22.d | ||
attr-gnu-4-23.d | ||
attr-gnu-4-24.d | ||
attr-gnu-4-31.d | ||
attr-gnu-4-32.d | ||
attr-gnu-4-33.d | ||
attr-gnu-4-34.d | ||
attr-gnu-4-41.d | ||
attr-gnu-8-1.s | ||
attr-gnu-8-2.s | ||
attr-gnu-8-3.s | ||
attr-gnu-8-11.d | ||
attr-gnu-8-23.d | ||
attr-gnu-8-31.d | ||
attr-gnu-12-1.s | ||
attr-gnu-12-2.s | ||
attr-gnu-12-11.d | ||
attr-gnu-12-21.d | ||
plt1.d | ||
plt1.s | ||
powerpc.exp | ||
relbrlt.d | ||
relbrlt.s | ||
reloc.d | ||
reloc.s | ||
sdadyn.d | ||
sdadyn.s | ||
sdalib.s | ||
symtocbase-1.s | ||
symtocbase-2.s | ||
symtocbase.d | ||
tls32.d | ||
tls32.g | ||
tls32.s | ||
tls32.t | ||
tls.d | ||
tls.g | ||
tls.s | ||
tls.t | ||
tlsexe32.d | ||
tlsexe32.g | ||
tlsexe32.r | ||
tlsexe32.t | ||
tlsexe.d | ||
tlsexe.g | ||
tlsexe.r | ||
tlsexe.t | ||
tlsexetoc.d | ||
tlsexetoc.g | ||
tlsexetoc.r | ||
tlsexetoc.t | ||
tlslib32.s | ||
tlslib.s | ||
tlsmark32.d | ||
tlsmark32.s | ||
tlsmark.d | ||
tlsmark.s | ||
tlsso32.d | ||
tlsso32.g | ||
tlsso32.r | ||
tlsso32.t | ||
tlsso.d | ||
tlsso.g | ||
tlsso.r | ||
tlsso.t | ||
tlstoc.d | ||
tlstoc.g | ||
tlstoc.s | ||
tlstoc.t | ||
tlstocso.d | ||
tlstocso.g | ||
tlstocso.r | ||
tlstocso.t | ||
vxworks1-lib.dd | ||
vxworks1-lib.nd | ||
vxworks1-lib.rd | ||
vxworks1-lib.s | ||
vxworks1-lib.sd | ||
vxworks1-lib.td | ||
vxworks1-static.d | ||
vxworks1.dd | ||
vxworks1.ld | ||
vxworks1.rd | ||
vxworks1.s | ||
vxworks2-static.sd | ||
vxworks2.s | ||
vxworks2.sd | ||
vxworks-relax.rd | ||
vxworks-relax.s |