forked from Imagelibrary/binutils-gdb
LoongArch: Un-skip cross-segment alignment compensation during relax pass 2
It turned out wrong to skip compensating for segment alignment if the current section is closed for deletion, as my recent system update with binutils trunk revealed link failures of many high-profile packages such as ffmpeg, numpy and wxGTK -- the dreaded "relocation truncated to fit" errors regarding improperly produced R_LARCH_PCREL20_S2. As it's near 2.45 branching time, revert the problematic change and XFAIL the original test case for now. Suggested-by: Xi Ruoyao <xry111@xry111.site> Signed-off-by: WANG Xuerui <git@xen0n.name>
This commit is contained in:
@@ -2,6 +2,7 @@
|
||||
#as:
|
||||
#ld: --defsym _start=0
|
||||
#objdump: -d --no-show-raw-insn
|
||||
#xfail: *-*-*
|
||||
|
||||
.*:\s+file format .*
|
||||
|
||||
|
||||
Reference in New Issue
Block a user