• R/O
  • HTTP
  • SSH
  • HTTPS

Commit

Tags
No Tags

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

Commit MetaInfo

Revisão1ad40414e3acfa6a96c3e76226aa670cedef902c (tree)
Hora2022-10-27 10:22:05
AutorAlan Modra <amodra@gmai...>
CommiterAlan Modra

Mensagem de Log

Re: ld/testsuite: adjust ld-arm to run shared tests only when supported

commit 67527cffcd enabled previously disabled tests unresolved-1-dyn,
thumb-plt and thumb-plt-got for nacl. The first fails due to trying
to link against mixed-lib.so which isn't compiled for nacl. The last
two fail with
objdump: tmpdir/dump(.rel.plt): relocation 0 has invalid symbol index 14885104
and
readelf: Error: bad symbol index: 00e320f0 in reloc

Relocation section '.rel.plt' at offset 0x128 contains 1 entry:

Offset Info Type Sym. Value Symbol's Name

e320f000 e320f000 R_ARM_NONE

* testsuite/ld-arm/arm-elf.exp: Disable unresolved-1-dyn,
thumb-plt and thumb-plt-got for nacl.

Mudança Sumário

Diff

--- a/ld/testsuite/ld-arm/arm-elf.exp
+++ b/ld/testsuite/ld-arm/arm-elf.exp
@@ -1247,7 +1247,7 @@ run_dump_test "attr-merge-nosection-1"
12471247 run_dump_test "attr-merge-hardfp-use-1"
12481248 run_dump_test "attr-merge-hardfp-use-2"
12491249 run_dump_test "unresolved-1"
1250-if { [check_shared_lib_support] } {
1250+if { !$is_nacl && [check_shared_lib_support] } {
12511251 run_dump_test "unresolved-1-dyn"
12521252 }
12531253 run_dump_test "unresolved-2"
@@ -1272,7 +1272,7 @@ run_dump_test "non-contiguous-arm4"
12721272 run_dump_test "non-contiguous-arm5"
12731273 run_dump_test "non-contiguous-arm6"
12741274
1275-if { [check_shared_lib_support] } {
1275+if { !$is_nacl && [check_shared_lib_support] } {
12761276 run_dump_test "thumb-plt"
12771277 run_dump_test "thumb-plt-got"
12781278 }