binutils-gdb/ld/testsuite/ld-cris
Alan Modra bab55c0522 Support different ld --hash-style in the ld testsuite
When ld is running with something other than --hash-style=sysv by
default, numerous tests need tweaking.  Most of the changes just add
--hash-style=sysv.  I didn't want to make --hash-style=sysv global as
that means --hash-style=gnu isn't well tested.

	* testsuite/ld-alpha/alpha.exp: Add --hash-style=sysv to various
	test's ld options.
	* testsuite/ld-arm/arm-elf.exp: Likewise.
	* testsuite/ld-elf/elf.exp: Likewise.
	* testsuite/ld-elf/readelf.exp: Likewise.
	* testsuite/ld-elfvsb/elfvsb.exp: Likewise.
	* testsuite/ld-i386/i386.exp: Likewise.
	* testsuite/ld-ia64/ia64.exp: Likewise.
	* testsuite/ld-m68k/m68k.exp: Likewise.
	* testsuite/ld-metag/metag.exp: Likewise.
	* testsuite/ld-powerpc/powerpc.exp: Likewise.
	* testsuite/ld-s390/s390.exp: Likewise.
	* testsuite/ld-sh/sh-vxworks.exp: Likewise.
	* testsuite/ld-shared/shared.exp: Likewise.
	* testsuite/ld-sparc/sparc.exp: Likewise.
	* testsuite/ld-tic6x/tic6x.exp: Likewise.
	* testsuite/ld-vax-elf/vax-elf.exp: Likewise.
	* testsuite/ld-x86-64/mpx.exp: Likewise.
	* testsuite/ld-x86-64/x86-64.exp: Likewise.
	* testsuite/ld-xtensa/xtensa.exp: Likewise.

	* testsuite/ld-elf/comm-data2.ld: Add .gnu.hash output section.
	* testsuite/ld-elf/pr20828-v.ld: Likewise.
	* testsuite/ld-elf/pr20828.ld: Likewise.
	* testsuite/ld-elf/pr21233.ld: Likewise.
	* testsuite/ld-elf/pr21384.ld: Likewise.
	* testsuite/ld-elf/provide-hidden-1.ld: Likewise.
	* testsuite/ld-elf/provide-hidden-2.ld: Likewise.
	* testsuite/ld-elf/provide-hidden-s.ld: Likewise.
	* testsuite/ld-scripts/cross1.t: Likewise.

	* testsuite/ld-elf/stab.d: Adjust allowed section indices.

	* testsuite/ld-i386/pie1.d: Don't match addresses.
	* testsuite/ld-i386/plt-pic2.dd: Likewise.
	* testsuite/ld-i386/pr19636-1d.d: Likewise.
	* testsuite/ld-i386/pr19636-2c.d: Likewise.
	* testsuite/ld-powerpc/elfv2so.d: Likewise.
	* testsuite/ld-powerpc/tlsopt5.d: Likewise.
	* testsuite/ld-powerpc/tlsopt5.wf: Likewise.
	* testsuite/ld-powerpc/tlsopt5_32.d: Likewise.

	* testsuite/ld-i386/pr19636-2b.d: Don't match _start.

	* testsuite/ld-powerpc/ambiguousv1.d: Relax symbol count, index
	and address match.
	* testsuite/ld-powerpc/ambiguousv1b.d: Likewise.
	* testsuite/ld-powerpc/ambiguousv2.d: Likewise.
	* testsuite/ld-powerpc/ambiguousv2b.d: Likewise.

	* testsuite/ld-aarch64/gc-plt-relocs.d: Run ld with --hash-style=sysv.
	* testsuite/ld-aarch64/ifunc-1.d: Likewise.
	* testsuite/ld-aarch64/ifunc-2.d: Likewise.
	* testsuite/ld-aarch64/ifunc-21.d: Likewise.
	* testsuite/ld-aarch64/relasz.d: Likewise.
	* testsuite/ld-aarch64/tls-small-ld.d: Likewise.
	* testsuite/ld-aarch64/tls-tiny-ld.d: Likewise.
	* testsuite/ld-arc/tls_gd-01.d: Likewise.
	* testsuite/ld-cris/libdso-10.d: Likewise.
	* testsuite/ld-cris/libdso-2.d: Likewise.
	* testsuite/ld-cris/pic-gc-72.d: Likewise.
	* testsuite/ld-cris/pic-gc-73.d: Likewise.
	* testsuite/ld-cris/tls-gd-1.d: Likewise.
	* testsuite/ld-cris/tls-gd-1h.d: Likewise.
	* testsuite/ld-cris/tls-gd-2.d: Likewise.
	* testsuite/ld-cris/tls-gd-2h.d: Likewise.
	* testsuite/ld-cris/tls-ie-10.d: Likewise.
	* testsuite/ld-cris/tls-ie-11.d: Likewise.
	* testsuite/ld-cris/tls-ie-8.d: Likewise.
	* testsuite/ld-cris/tls-ie-9.d: Likewise.
	* testsuite/ld-cris/tls-ld-4.d: Likewise.
	* testsuite/ld-cris/tls-ld-5.d: Likewise.
	* testsuite/ld-cris/tls-ld-6.d: Likewise.
	* testsuite/ld-cris/tls-ld-7.d: Likewise.
	* testsuite/ld-cris/tls-ldgd-14.d: Likewise.
	* testsuite/ld-cris/tls-ldgd-15.d: Likewise.
	* testsuite/ld-cris/tls-ldgdx-14.d: Likewise.
	* testsuite/ld-cris/tls-ldgdx-15.d: Likewise.
	* testsuite/ld-cris/tls-local-54.d: Likewise.
	* testsuite/ld-cris/tls-local-60.d: Likewise.
	* testsuite/ld-cris/tls-local-61.d: Likewise.
	* testsuite/ld-cris/weakhiddso.d: Likewise.
	* testsuite/ld-elf/linkinfo1a.d: Likewise.
	* testsuite/ld-elf/linkinfo1b.d: Likewise.
	* testsuite/ld-elf/pr19617a.d: Likewise.
	* testsuite/ld-elfvsb/hidden2.d: Likewise.
	* testsuite/ld-frv/fdpic-pie-6.d: Likewise.
	* testsuite/ld-frv/fdpic-shared-2.d: Likewise.
	* testsuite/ld-frv/fdpic-shared-5.d: Likewise.
	* testsuite/ld-frv/fdpic-shared-6.d: Likewise.
	* testsuite/ld-frv/fdpic-shared-8.d: Likewise.
	* testsuite/ld-frv/fdpic-shared-local-2.d: Likewise.
	* testsuite/ld-frv/fdpic-shared-local-8.d: Likewise.
	* testsuite/ld-frv/tls-dynamic-2.d: Likewise.
	* testsuite/ld-i386/ibt-plt-1.d: Likewise.
	* testsuite/ld-i386/ibt-plt-2a.d: Likewise.
	* testsuite/ld-i386/ibt-plt-2c.d: Likewise.
	* testsuite/ld-i386/ibt-plt-3a.d: Likewise.
	* testsuite/ld-i386/ibt-plt-3c.d: Likewise.
	* testsuite/ld-i386/pr20830.d: Likewise.
	* testsuite/ld-ia64/merge1.d: Likewise.
	* testsuite/ld-ia64/merge2.d: Likewise.
	* testsuite/ld-ia64/merge3.d: Likewise.
	* testsuite/ld-ia64/merge4.d: Likewise.
	* testsuite/ld-ia64/merge5.d: Likewise.
	* testsuite/ld-ifunc/ifunc-1-local-x86.d: Likewise.
	* testsuite/ld-ifunc/ifunc-1-x86.d: Likewise.
	* testsuite/ld-ifunc/ifunc-2-i386-now.d: Likewise.
	* testsuite/ld-ifunc/ifunc-2-local-i386-now.d: Likewise.
	* testsuite/ld-ifunc/ifunc-2-local-x86-64-now.d: Likewise.
	* testsuite/ld-ifunc/ifunc-2-local-x86-64.d: Likewise.
	* testsuite/ld-ifunc/ifunc-2-x86-64-now.d: Likewise.
	* testsuite/ld-ifunc/ifunc-2-x86-64.d: Likewise.
	* testsuite/ld-ifunc/ifunc-3a-x86.d: Likewise.
	* testsuite/ld-ifunc/pr17154-i386-now.d: Likewise.
	* testsuite/ld-ifunc/pr17154-i386.d: Likewise.
	* testsuite/ld-ifunc/pr17154-x86-64-now.d: Likewise.
	* testsuite/ld-ifunc/pr17154-x86-64.d: Likewise.
	* testsuite/ld-m68k/got-1.d: Likewise.
	* testsuite/ld-m68k/got-multigot-12-13-14-34-35-ok.d: Likewise.
	* testsuite/ld-m68k/got-multigot-14-ok.d: Likewise.
	* testsuite/ld-m68k/got-multigot-15-er.d: Likewise.
	* testsuite/ld-m68k/got-negative-12-13-14-34-ok.d: Likewise.
	* testsuite/ld-m68k/got-negative-12-13-14-35-er.d: Likewise.
	* testsuite/ld-m68k/got-negative-14-ok.d: Likewise.
	* testsuite/ld-m68k/got-negative-15-er.d: Likewise.
	* testsuite/ld-m68k/got-single-12-ok.d: Likewise.
	* testsuite/ld-m68k/got-single-13-er.d: Likewise.
	* testsuite/ld-m68k/got-xgot-12-13-14-15-34-35-ok.d: Likewise.
	* testsuite/ld-m68k/got-xgot-15-ok.d: Likewise.
	* testsuite/ld-m68k/tls-gd-1.d: Likewise.
	* testsuite/ld-m68k/tls-gd-2.d: Likewise.
	* testsuite/ld-m68k/tls-gd-ie-1.d: Likewise.
	* testsuite/ld-m68k/tls-ie-1.d: Likewise.
	* testsuite/ld-m68k/tls-ld-1.d: Likewise.
	* testsuite/ld-m68k/tls-ld-2.d: Likewise.
	* testsuite/ld-sh/shared-2.d: Likewise.
	* testsuite/ld-sh/tlsbin-2.d: Likewise.
	* testsuite/ld-sh/tlspic-2.d: Likewise.
	* testsuite/ld-x86-64/bnd-branch-1-now.d: Likewise.
	* testsuite/ld-x86-64/bnd-ifunc-1-now.d: Likewise.
	* testsuite/ld-x86-64/bnd-ifunc-1.d: Likewise.
	* testsuite/ld-x86-64/bnd-ifunc-2-now.d: Likewise.
	* testsuite/ld-x86-64/bnd-ifunc-2.d: Likewise.
	* testsuite/ld-x86-64/bnd-plt-1-now.d: Likewise.
	* testsuite/ld-x86-64/bnd-plt-1.d: Likewise.
	* testsuite/ld-x86-64/ibt-plt-1-x32.d: Likewise.
	* testsuite/ld-x86-64/ibt-plt-1.d: Likewise.
	* testsuite/ld-x86-64/ibt-plt-2a-x32.d: Likewise.
	* testsuite/ld-x86-64/ibt-plt-2a.d: Likewise.
	* testsuite/ld-x86-64/ibt-plt-2c-x32.d: Likewise.
	* testsuite/ld-x86-64/ibt-plt-2c.d: Likewise.
	* testsuite/ld-x86-64/ibt-plt-3a-x32.d: Likewise.
	* testsuite/ld-x86-64/ibt-plt-3a.d: Likewise.
	* testsuite/ld-x86-64/ibt-plt-3c-x32.d: Likewise.
	* testsuite/ld-x86-64/ibt-plt-3c.d: Likewise.
	* testsuite/ld-x86-64/ilp32-4-nacl.d: Likewise.
	* testsuite/ld-x86-64/ilp32-4.d: Likewise.
	* testsuite/ld-x86-64/load1c-nacl.d: Likewise.
	* testsuite/ld-x86-64/load1c.d: Likewise.
	* testsuite/ld-x86-64/load1d-nacl.d: Likewise.
	* testsuite/ld-x86-64/load1d.d: Likewise.
	* testsuite/ld-x86-64/pie3-nacl.d: Likewise.
	* testsuite/ld-x86-64/pie3.d: Likewise.
	* testsuite/ld-x86-64/pr14207.d: Likewise.
	* testsuite/ld-x86-64/pr19162.d: Likewise.
	* testsuite/ld-x86-64/pr19636-2d-nacl.d: Likewise.
	* testsuite/ld-x86-64/pr19636-2d.d: Likewise.
	* testsuite/ld-x86-64/pr20253-1d.d: Likewise.
	* testsuite/ld-x86-64/pr20253-1f.d: Likewise.
	* testsuite/ld-x86-64/pr20253-1j.d: Likewise.
	* testsuite/ld-x86-64/pr20253-1l.d: Likewise.
	* testsuite/ld-x86-64/pr20830a-now.d: Likewise.
	* testsuite/ld-x86-64/pr20830a.d: Likewise.
	* testsuite/ld-x86-64/pr20830b-now.d: Likewise.
	* testsuite/ld-x86-64/pr20830b.d: Likewise.
	* testsuite/ld-x86-64/pr21038a-now.d: Likewise.
	* testsuite/ld-x86-64/pr21038a.d: Likewise.
	* testsuite/ld-x86-64/pr21038b-now.d: Likewise.
	* testsuite/ld-x86-64/pr21038b.d: Likewise.
	* testsuite/ld-x86-64/pr21038c-now.d: Likewise.
	* testsuite/ld-x86-64/pr21038c.d: Likewise.
2017-08-07 22:10:51 +09:30
..
asneed1.d
badgotr1.d
comref1.s
cris.exp
def2.d
def3.d
dso12-pltdis.d
dso-1.s
dso-1b.s
dso-1c.s Fix for PR ld/16044: elf32-cris.c h->plt.refcount inconsistency 2017-03-28 23:43:09 +02:00
dso-2.s
dso-2b.s Fix for PR ld/16044: elf32-cris.c h->plt.refcount inconsistency 2017-03-28 23:43:09 +02:00
dso-3.s
dso-4.s Fix for PR ld/16044: elf32-cris.c h->plt.refcount inconsistency 2017-03-28 23:43:09 +02:00
dso-pltdis1.d
dso-pltdis2.d
dsofn4g.s
dsofnf2.s
dsofnf.s
dsofng.s
dsov32-1.s
dsov32-2.s
dsov32-3.s
dsov32-4.s
euwref1.s
expalltst3
expdref1.s
expdref2.s
expdref3.s
expdref4.s
expdyn1.d
expdyn1.s
expdyn1w.s
expdyn2.d
expdyn2.s
expdyn3.d
expdyn4.d
expdyn5.d
expdyn6.d
expdyn7.d
globsym1ref.s
globsymw1.s
globsymw2.s
got7.s
gotplt1.d
gotplt2.d
gotplt3.d
gotrel1.s
gotrel2.s
hiddef1.d
hiddef1.s
hide1
hidedsofns2468
hidrefgotplt1.s
init.s
ldsym1.d
libdso-1.d
libdso-1b.d
libdso-1c.d
libdso-1d.d
libdso-2.d Support different ld --hash-style in the ld testsuite 2017-08-07 22:10:51 +09:30
libdso-3.d
libdso-4.d
libdso-10.d Support different ld --hash-style in the ld testsuite 2017-08-07 22:10:51 +09:30
libdso-11.d
libdso-12.d
libdso-12b.d
libdso-12c.d
libdso-13.d
libdso-13b.d
libdso-14.d
libdso-15.d
libdso-15b.d
locref1.d
locref1.s
locref2.d
locref2.s
move-1.s
nodyn4.d
nodyn5.d
noglob1.d
noglob1.s
noov.d
noov.s
pcrelcp-1.d
pcrelcp-1.s
pic-gc-72.d Support different ld --hash-style in the ld testsuite 2017-08-07 22:10:51 +09:30
pic-gc-72.s
pic-gc-73.d Support different ld --hash-style in the ld testsuite 2017-08-07 22:10:51 +09:30
pic-gc-73.s
pr16044.d Fix for PR ld/16044: elf32-cris.c h->plt.refcount inconsistency 2017-03-28 23:43:09 +02:00
pv32-1.d
pv32.s
stabs1.s
start1.s
tls128.s
tls128g.s
tls-commx.s
tls-dso-dtpoffd2.d
tls-dso-dtpoffd4.d
tls-dso-tpoffgotcomm1.d
tls-dso-tpoffgotcomm1.s
tls-dso-x1x2-1.d
tls-dso-xz-1.d
tls-dtpoffdx.s
tls-dtprelm.s
tls-e-20.d
tls-e-20a.d
tls-e-21.d
tls-e-22.d
tls-e-23.d
tls-e-66.d
tls-e-80.d
tls-e-dtpoffd1.d
tls-e-dtpoffd3.d
tls-e-tpiecomm1.d
tls-e-tpiecomm1.s
tls-e-tpoffcomm1.d
tls-e-tpoffcomm1.s
tls-e-tpoffgotcomm1.d
tls-err-20x.d
tls-err-24.d
tls-err-25.d
tls-err-26.d
tls-err-27.d
tls-err-28.d
tls-err-29.d
tls-err-31.d
tls-err-33.d
tls-err-35.d
tls-err-37.d
tls-err-39.d
tls-err-40.d
tls-err-41.d
tls-err-43.d
tls-err-44.d
tls-err-45.d
tls-err-47.d
tls-err-48.d
tls-err-49.d
tls-err-51.d
tls-err-52.d
tls-err-53.d
tls-err-55.d
tls-err-55.s
tls-err-56.d
tls-err-56.s
tls-err-62.d
tls-err-62.s
tls-err-65.d
tls-err-67.d
tls-err-77.d
tls-gc-68.d
tls-gc-69.d
tls-gc-70.d
tls-gc-71.d
tls-gc-71.s
tls-gc-75.d
tls-gc-76.d
tls-gc-76.s
tls-gc-79.d
tls-gd-1.d Support different ld --hash-style in the ld testsuite 2017-08-07 22:10:51 +09:30
tls-gd-1.s
tls-gd-1h.d Support different ld --hash-style in the ld testsuite 2017-08-07 22:10:51 +09:30
tls-gd-2.d Support different ld --hash-style in the ld testsuite 2017-08-07 22:10:51 +09:30
tls-gd-2.s
tls-gd-2h.d Support different ld --hash-style in the ld testsuite 2017-08-07 22:10:51 +09:30
tls-gd-3.d
tls-gd-3.s
tls-gd-3h.d
tls-gdgotrelm.s
tls-global-74.d
tls-gottprelm.s
tls-hx1x2.s
tls-hx.s
tls-ie-8.d Support different ld --hash-style in the ld testsuite 2017-08-07 22:10:51 +09:30
tls-ie-8.s
tls-ie-8e1.d
tls-ie-8e.s
tls-ie-9.d Support different ld --hash-style in the ld testsuite 2017-08-07 22:10:51 +09:30
tls-ie-9.s
tls-ie-10.d Support different ld --hash-style in the ld testsuite 2017-08-07 22:10:51 +09:30
tls-ie-10.s
tls-ie-11.d Support different ld --hash-style in the ld testsuite 2017-08-07 22:10:51 +09:30
tls-ie-11.s
tls-ie-78.d
tls-js1.d
tls-ld-4.d Support different ld --hash-style in the ld testsuite 2017-08-07 22:10:51 +09:30
tls-ld-4.s
tls-ld-5.d Support different ld --hash-style in the ld testsuite 2017-08-07 22:10:51 +09:30
tls-ld-5.s
tls-ld-6.d Support different ld --hash-style in the ld testsuite 2017-08-07 22:10:51 +09:30
tls-ld-6.s
tls-ld-7.d Support different ld --hash-style in the ld testsuite 2017-08-07 22:10:51 +09:30
tls-ld-7.s
tls-ldgd-14.d Support different ld --hash-style in the ld testsuite 2017-08-07 22:10:51 +09:30
tls-ldgd-14.s
tls-ldgd-15.d Support different ld --hash-style in the ld testsuite 2017-08-07 22:10:51 +09:30
tls-ldgd-15.s
tls-ldgde-14.d
tls-ldgde-15.d
tls-ldgdex-14.d
tls-ldgdex-15.d
tls-ldgdx-14.d Support different ld --hash-style in the ld testsuite 2017-08-07 22:10:51 +09:30
tls-ldgdx-15.d Support different ld --hash-style in the ld testsuite 2017-08-07 22:10:51 +09:30
tls-le-12.d
tls-le-12.s
tls-le-12s.d
tls-le-12s.s
tls-le-13.d
tls-le-13.s
tls-le-13s.d
tls-le-13s.s
tls-legd-16.d
tls-legd-16.s
tls-legd-17.d
tls-legdx-16.d
tls-legdx-17.d
tls-leie-18.d
tls-leie-19.d
tls-leie-19.s
tls-local-54.d Support different ld --hash-style in the ld testsuite 2017-08-07 22:10:51 +09:30
tls-local-54.s
tls-local-57.d
tls-local-57.s
tls-local-58.d
tls-local-58.s
tls-local-59.d
tls-local-59.s
tls-local-60.d Support different ld --hash-style in the ld testsuite 2017-08-07 22:10:51 +09:30
tls-local-61.d Support different ld --hash-style in the ld testsuite 2017-08-07 22:10:51 +09:30
tls-local-63.d
tls-local-64.d
tls-ok-30.d
tls-ok-32.d
tls-ok-34.d
tls-ok-36.d
tls-tbss64.s
tls-tprelm.s
tls-und-38.d
tls-und-42.d
tls-und-46.d
tls-und-50.d
tls-x1x2.s
tls-x.s
tls-z.s
undef1.d
undef2.d
undef3.d
v10-v32.d
v10-va.d
v32-ba-1.d
v32-ba-1.s
v32-bin-1.d
v32-bin-1.s
v32-v10.d
v32-va.d
va-v10.d
va-v32.d
warn1.d
warn2.d
warn3.d
warn4.d
weakhid.s
weakhiddso.d Support different ld --hash-style in the ld testsuite 2017-08-07 22:10:51 +09:30
weakref1.d
weakref2.d
weakref3.d
weakref4.d