binutils-gdb/ld/testsuite/ld-powerpc
Richard Sandiford b64232cca5 include/coff/
* 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.
2009-03-14 09:35:46 +00:00
..
aix-abs-branch-1.dd bfd/ 2009-03-14 09:16:01 +00:00
aix-abs-branch-1.ex bfd/ 2009-03-14 09:16:01 +00:00
aix-abs-branch-1.im bfd/ 2009-03-14 09:16:01 +00:00
aix-abs-branch-1.nd bfd/ 2009-03-14 09:32:56 +00:00
aix-abs-branch-1.s bfd/ 2009-03-14 09:16:01 +00:00
aix-abs-reloc-1.ex bfd/ 2009-03-14 09:15:34 +00:00
aix-abs-reloc-1.im bfd/ 2009-03-14 09:15:34 +00:00
aix-abs-reloc-1.nd bfd/ 2009-03-14 09:32:56 +00:00
aix-abs-reloc-1.od bfd/ 2009-03-14 09:15:34 +00:00
aix-abs-reloc-1.s bfd/ 2009-03-14 09:15:34 +00:00
aix-core-sec-1.ex ld/ 2009-03-14 09:14:30 +00:00
aix-core-sec-1.hd ld/ 2009-03-14 09:14:30 +00:00
aix-core-sec-1.s ld/ 2009-03-14 09:14:30 +00:00
aix-core-sec-2.ex ld/ 2009-03-14 09:14:30 +00:00
aix-core-sec-2.hd ld/ 2009-03-14 09:14:30 +00:00
aix-core-sec-2.s ld/ 2009-03-14 09:14:30 +00:00
aix-core-sec-3.ex ld/ 2009-03-14 09:14:30 +00:00
aix-core-sec-3.hd ld/ 2009-03-14 09:14:30 +00:00
aix-core-sec-3.s ld/ 2009-03-14 09:14:30 +00:00
aix-export-1-all.dd include/coff/ 2009-03-14 09:35:46 +00:00
aix-export-1-full.dd include/coff/ 2009-03-14 09:35:46 +00:00
aix-export-1a.s include/coff/ 2009-03-14 09:35:46 +00:00
aix-export-1b.s include/coff/ 2009-03-14 09:35:46 +00:00
aix-gc-1-32.dd bfd/ 2009-03-14 09:35:06 +00:00
aix-gc-1-64.dd bfd/ 2009-03-14 09:35:06 +00:00
aix-gc-1.ex bfd/ 2009-03-14 09:35:06 +00:00
aix-gc-1.s bfd/ 2009-03-14 09:35:06 +00:00
aix-glink-1-32.d include/coff/ 2009-03-14 09:17:32 +00:00
aix-glink-1-32.dd include/coff/ 2009-03-14 09:17:32 +00:00
aix-glink-1-64.d include/coff/ 2009-03-14 09:17:32 +00:00
aix-glink-1-64.dd include/coff/ 2009-03-14 09:17:32 +00:00
aix-glink-1.ex include/coff/ 2009-03-14 09:17:32 +00:00
aix-glink-1.s include/coff/ 2009-03-14 09:17:32 +00:00
aix-glink-2-32.dd include/coff/ 2009-03-14 09:34:27 +00:00
aix-glink-2-64.dd include/coff/ 2009-03-14 09:34:27 +00:00
aix-glink-2a.ex include/coff/ 2009-03-14 09:34:27 +00:00
aix-glink-2a.s include/coff/ 2009-03-14 09:34:27 +00:00
aix-glink-2b.s include/coff/ 2009-03-14 09:34:27 +00:00
aix-glink-2c.ex include/coff/ 2009-03-14 09:34:27 +00:00
aix-glink-2c.s include/coff/ 2009-03-14 09:34:27 +00:00
aix-glink-2d.s include/coff/ 2009-03-14 09:34:27 +00:00
aix-lineno-1.s bfd/ 2009-03-14 09:32:33 +00:00
aix-lineno-1.txt bfd/ 2009-03-14 09:32:33 +00:00
aix-lineno-1a.dd bfd/ 2009-03-14 09:32:33 +00:00
aix-lineno-1a.nd bfd/ 2009-03-14 09:32:33 +00:00
aix-lineno-1b.dd bfd/ 2009-03-14 09:32:33 +00:00
aix-lineno-1b.nd bfd/ 2009-03-14 09:32:33 +00:00
aix-no-dup-syms-1-dso.dnd include/coff/ 2009-03-14 09:33:39 +00:00
aix-no-dup-syms-1-dso.drd include/coff/ 2009-03-14 09:33:39 +00:00
aix-no-dup-syms-1-dso.nd include/coff/ 2009-03-14 09:33:39 +00:00
aix-no-dup-syms-1-dso.rd include/coff/ 2009-03-14 09:33:39 +00:00
aix-no-dup-syms-1-rel.nd include/coff/ 2009-03-14 09:33:39 +00:00
aix-no-dup-syms-1-rel.rd include/coff/ 2009-03-14 09:33:39 +00:00
aix-no-dup-syms-1.ex include/coff/ 2009-03-14 09:33:39 +00:00
aix-no-dup-syms-1.im include/coff/ 2009-03-14 09:33:39 +00:00
aix-no-dup-syms-1a.s include/coff/ 2009-03-14 09:33:39 +00:00
aix-no-dup-syms-1b.s include/coff/ 2009-03-14 09:33:39 +00:00
aix-toc-1-32.dd bfd/ 2009-03-14 09:18:22 +00:00
aix-toc-1-64.dd bfd/ 2009-03-14 09:18:22 +00:00
aix-toc-1.ex bfd/ 2009-03-14 09:18:22 +00:00
aix-toc-1a.s bfd/ 2009-03-14 09:18:22 +00:00
aix-toc-1b.s bfd/ 2009-03-14 09:18:22 +00:00
aix-weak-1-dso.dnd include/coff/ 2009-03-14 09:34:27 +00:00
aix-weak-1-dso.hd include/coff/ 2009-03-14 09:34:27 +00:00
aix-weak-1-dso.nd include/coff/ 2009-03-14 09:34:27 +00:00
aix-weak-1-gcdso.dnd bfd/ 2009-03-14 09:35:06 +00:00
aix-weak-1-gcdso.hd bfd/ 2009-03-14 09:35:06 +00:00
aix-weak-1-gcdso.nd bfd/ 2009-03-14 09:35:06 +00:00
aix-weak-1-rel.hd include/coff/ 2009-03-14 09:34:27 +00:00
aix-weak-1-rel.nd include/coff/ 2009-03-14 09:34:27 +00:00
aix-weak-1.ex include/coff/ 2009-03-14 09:34:27 +00:00
aix-weak-1a.s include/coff/ 2009-03-14 09:34:27 +00:00
aix-weak-1b.s include/coff/ 2009-03-14 09:34:27 +00:00
aix-weak-2a.ex include/coff/ 2009-03-14 09:34:27 +00:00
aix-weak-2a.nd include/coff/ 2009-03-14 09:34:27 +00:00
aix-weak-2a.s include/coff/ 2009-03-14 09:34:27 +00:00
aix-weak-2b.nd include/coff/ 2009-03-14 09:34:27 +00:00
aix-weak-2b.s include/coff/ 2009-03-14 09:34:27 +00:00
aix-weak-2c.ex include/coff/ 2009-03-14 09:34:27 +00:00
aix-weak-2c.nd include/coff/ 2009-03-14 09:34:27 +00:00
aix-weak-2c.od include/coff/ 2009-03-14 09:34:27 +00:00
aix-weak-2c.s include/coff/ 2009-03-14 09:34:27 +00:00
aix-weak-3-32.d include/coff/ 2009-03-14 09:34:27 +00:00
aix-weak-3-32.dd include/coff/ 2009-03-14 09:34:27 +00:00
aix-weak-3-64.d include/coff/ 2009-03-14 09:34:27 +00:00
aix-weak-3-64.dd include/coff/ 2009-03-14 09:34:27 +00:00
aix-weak-3a.ex include/coff/ 2009-03-14 09:34:27 +00:00
aix-weak-3a.s include/coff/ 2009-03-14 09:34:27 +00:00
aix-weak-3b.ex include/coff/ 2009-03-14 09:34:27 +00:00
aix-weak-3b.s include/coff/ 2009-03-14 09:34:27 +00:00
aix52.exp include/coff/ 2009-03-14 09:35:46 +00:00
apuinfo.rd
apuinfo1.s
apuinfo2.s
attr-gnu-4-00.d bfd: 2007-06-30 00:03:40 +00:00
attr-gnu-4-0.s bfd: 2007-06-30 00:03:40 +00:00
attr-gnu-4-01.d bfd: 2007-06-30 00:03:40 +00:00
attr-gnu-4-1.s bfd: 2007-06-30 00:03:40 +00:00
attr-gnu-4-02.d bfd: 2007-06-30 00:03:40 +00:00
attr-gnu-4-2.s bfd: 2007-06-30 00:03:40 +00:00
attr-gnu-4-03.d Support PowerPC single-precision float. 2008-07-26 13:10:48 +00:00
attr-gnu-4-3.s bfd: 2007-06-30 00:03:40 +00:00
attr-gnu-4-4.s Support PowerPC single-precision float. 2008-07-26 13:10:48 +00:00
attr-gnu-4-10.d bfd: 2007-06-30 00:03:40 +00:00
attr-gnu-4-11.d bfd: 2007-06-30 00:03:40 +00:00
attr-gnu-4-12.d bfd: 2007-06-30 00:03:40 +00:00
attr-gnu-4-13.d Support PowerPC single-precision float. 2008-07-26 13:10:48 +00:00
attr-gnu-4-14.d Support PowerPC single-precision float. 2008-07-26 13:10:48 +00:00
attr-gnu-4-20.d bfd: 2007-06-30 00:03:40 +00:00
attr-gnu-4-21.d bfd: 2007-06-30 00:03:40 +00:00
attr-gnu-4-22.d bfd: 2007-06-30 00:03:40 +00:00
attr-gnu-4-23.d Support PowerPC single-precision float. 2008-07-26 13:10:48 +00:00
attr-gnu-4-24.d Support PowerPC single-precision float. 2008-07-26 13:10:48 +00:00
attr-gnu-4-31.d Support PowerPC single-precision float. 2008-07-26 13:10:48 +00:00
attr-gnu-4-32.d Support PowerPC single-precision float. 2008-07-26 13:10:48 +00:00
attr-gnu-4-33.d Support PowerPC single-precision float. 2008-07-26 13:10:48 +00:00
attr-gnu-4-34.d Support PowerPC single-precision float. 2008-07-26 13:10:48 +00:00
attr-gnu-4-41.d Support PowerPC single-precision float. 2008-07-26 13:10:48 +00:00
attr-gnu-8-1.s * elf32-ppc.c (ppc_elf_merge_obj_attributes): Add support for 2007-10-25 15:20:24 +00:00
attr-gnu-8-2.s * elf32-ppc.c (ppc_elf_merge_obj_attributes): Add support for 2007-10-25 15:20:24 +00:00
attr-gnu-8-3.s * elf32-ppc.c (ppc_elf_merge_obj_attributes): Add support for 2007-10-25 15:20:24 +00:00
attr-gnu-8-11.d * elf32-ppc.c (ppc_elf_merge_obj_attributes): Add support for 2007-10-25 15:20:24 +00:00
attr-gnu-8-23.d * elf32-ppc.c (ppc_elf_merge_obj_attributes): Add support for 2007-10-25 15:20:24 +00:00
attr-gnu-8-31.d * elf32-ppc.c (ppc_elf_merge_obj_attributes): Add support for 2007-10-25 15:20:24 +00:00
attr-gnu-12-1.s include/elf/ 2008-10-10 20:55:36 +00:00
attr-gnu-12-2.s include/elf/ 2008-10-10 20:55:36 +00:00
attr-gnu-12-11.d include/elf/ 2008-10-10 20:55:36 +00:00
attr-gnu-12-21.d include/elf/ 2008-10-10 20:55:36 +00:00
plt1.d * ld-powerpc/plt1.s: New. 2006-10-24 13:29:37 +00:00
plt1.s * ld-powerpc/plt1.s: New. 2006-10-24 13:29:37 +00:00
powerpc.exp include/elf/ 2009-03-04 05:50:50 +00:00
relbrlt.d bfd/ 2008-03-01 06:52:52 +00:00
relbrlt.s bfd/ 2007-08-13 00:20:59 +00:00
reloc.d
reloc.s
sdadyn.d
sdadyn.s
sdalib.s
symtocbase-1.s
symtocbase-2.s
symtocbase.d
tls.d
tls.g
tls.s
tls.t
tls32.d
tls32.g
tls32.s
tls32.t
tlsexe.d bfd/ 2007-08-13 00:20:59 +00:00
tlsexe.g bfd/ 2007-08-13 00:20:59 +00:00
tlsexe.r 2007-09-29 Mike Frysinger <vapier@gentoo.org> 2007-09-30 01:33:15 +00:00
tlsexe.t
tlsexe32.d
tlsexe32.g
tlsexe32.r 2007-09-29 Mike Frysinger <vapier@gentoo.org> 2007-09-30 01:33:15 +00:00
tlsexe32.t
tlsexetoc.d bfd/ 2007-08-13 00:20:59 +00:00
tlsexetoc.g bfd/ 2007-08-13 00:20:59 +00:00
tlsexetoc.r 2007-09-29 Mike Frysinger <vapier@gentoo.org> 2007-09-30 01:33:15 +00:00
tlsexetoc.t
tlslib.s
tlslib32.s
tlsmark.d include/elf/ 2009-03-04 05:50:50 +00:00
tlsmark.s include/elf/ 2009-03-04 05:50:50 +00:00
tlsmark32.d include/elf/ 2009-03-04 05:50:50 +00:00
tlsmark32.s include/elf/ 2009-03-04 05:50:50 +00:00
tlsso.d bfd/ 2007-11-06 13:49:19 +00:00
tlsso.g bfd/ 2007-08-13 00:20:59 +00:00
tlsso.r bfd/ 2007-11-06 13:49:19 +00:00
tlsso.t
tlsso32.d bfd/ 2007-11-06 03:59:16 +00:00
tlsso32.g
tlsso32.r 2007-09-29 Mike Frysinger <vapier@gentoo.org> 2007-09-30 01:33:15 +00:00
tlsso32.t
tlstoc.d
tlstoc.g
tlstoc.s
tlstoc.t
tlstocso.d bfd/ 2007-08-13 00:20:59 +00:00
tlstocso.g bfd/ 2007-08-13 00:20:59 +00:00
tlstocso.r 2007-09-29 Mike Frysinger <vapier@gentoo.org> 2007-09-30 01:33:15 +00:00
tlstocso.t
vxworks-relax.rd * ld-powerpc/powerpc.exp: Add vxworks relax testcase. 2009-01-26 15:27:04 +00:00
vxworks-relax.s * ld-powerpc/powerpc.exp: Add vxworks relax testcase. 2009-01-26 15:27:04 +00:00
vxworks1-lib.dd
vxworks1-lib.nd
vxworks1-lib.rd Update. 2008-10-03 13:03:37 +00:00
vxworks1-lib.s
vxworks1-lib.sd
vxworks1-lib.td ld/testsuite/ 2007-05-15 12:22:34 +00:00
vxworks1-static.d
vxworks1.dd
vxworks1.ld * ld-powerpc/powerpc.exp: Add vxworks relax testcase. 2009-01-26 15:27:04 +00:00
vxworks1.rd * ld-powerpc/powerpc.exp: Add vxworks relax testcase. 2009-01-26 15:27:04 +00:00
vxworks1.s
vxworks2-static.sd
vxworks2.s
vxworks2.sd