as: Replace the removed symbol with the versioned symbol
Alan Modra
amodra@gmail.com
Wed Aug 18 04:11:12 GMT 2021
More information about the Binutils mailing list
Wed Aug 18 04:11:12 GMT 2021
- Previous message (by thread): [GOLD] PowerPC64 relocation overflow for -Os register save/restore funcs
- Next message (by thread): as: Replace the removed symbol with the versioned symbol
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Some targets, typically embedded without shared libraries, replace the relocation symbol with a section symbol (see tc_fix_adjustable). Allow the test to pass for such targets. Fixes the following. avr-elf +FAIL: symver symver16 d10v-elf +FAIL: symver symver16 dlx-elf +FAIL: symver symver16 ip2k-elf +FAIL: symver symver16 m68k-elf +FAIL: symver symver16 mcore-elf +FAIL: symver symver16 pj-elf +FAIL: symver symver16 s12z-elf +FAIL: symver symver16 visium-elf +FAIL: symver symver16 z80-elf +FAIL: symver symver16 PR gas/28157 * testsuite/gas/symver/symver16.d: Relax reloc match. diff --git a/gas/testsuite/gas/symver/symver16.d b/gas/testsuite/gas/symver/symver16.d index cdf0ddde57d..ef335d5b260 100644 --- a/gas/testsuite/gas/symver/symver16.d +++ b/gas/testsuite/gas/symver/symver16.d @@ -4,9 +4,9 @@ #... Relocation section .* #... -[0-9a-f]+[ \t]+[0-9a-f]+[ \t]+R_.*[ \t]+[0-9a-f]+[ \t]+foo@@VERS_1.* +[0-9a-f]+[ \t]+[0-9a-f]+[ \t]+R_.*[ \t]+[0-9a-f]+[ \t]+(foo@@VERS_1|\.data).* #... -[0-9a-f]+[ \t]+[0-9a-f]+[ \t]+R_.*[ \t]+[0-9a-f]+[ \t]+bar@VERS_1.* +[0-9a-f]+[ \t]+[0-9a-f]+[ \t]+R_.*[ \t]+[0-9a-f]+[ \t]+(bar@VERS_1|\.data).* #... +[0-9]+: 0+ +1 +OBJECT +GLOBAL +DEFAULT +[0-9]+ +foo@@VERS_1 +[0-9]+: 0+1 +1 +OBJECT +GLOBAL +DEFAULT +[0-9]+ +bar@VERS_1 -- Alan Modra Australia Development Lab, IBM
- Previous message (by thread): [GOLD] PowerPC64 relocation overflow for -Os register save/restore funcs
- Next message (by thread): as: Replace the removed symbol with the versioned symbol
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Binutils mailing list