mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-12-21 04:42:53 +08:00
d85815e2d1
The .dc.a directive has wrong size (32 bits) on SPARC 64-bit because the assembler sets the correct BFD architecture only at the very end of the processing and it's too late for the directive. It's fixed by defining TARGET_MACH and making it return a sensible default value. gas/ * config/tc-sparc.h (sparc_mach): Declare. (TARGET_MACH): Define to above. * config/tc-sparc.c (sparc_mach): New function. (sparc_md_end): Minor tweak. ld/ * testsuite/ld-elf/pr22450.d: Remove reference to SPARC64.
13 lines
544 B
Makefile
13 lines
544 B
Makefile
#source: pr22450.s
|
|
#readelf: --notes --wide
|
|
#ld: -r
|
|
# Fails on H8300 because it does not generate the correct relocs for the size fields.
|
|
# Fails on AVR, IP2K, M68HC11, XC16C because the assembler does not calculate the correct values for the differences of local symbols.
|
|
# Fails on CRX because readelf does not know how to apply CRX reloc number 20 (R_CRX_SWITCH32).
|
|
|
|
#...
|
|
Displaying notes found in: \.note\.gnu
|
|
[ ]+Owner[ ]+Data size[ ]+Description
|
|
[ ]+GNU[ ]+0x0+0..[ ]+NT_GNU_PROPERTY_TYPE_0[ ]+Properties: stack size: 0x8000
|
|
#pass
|