[PATCH] gas: copy st_size only if unset
Fangrui Song
i@maskray.me
Fri Apr 8 21:26:13 GMT 2022
On 2022-04-08, Alan Modra wrote:
>Your patch regressed these tests. Please investigate.
>
>aarch64_be-linux-gnu_ilp32 +FAIL: ELF symbol size
>aarch64-elf +FAIL: ELF symbol size
>aarch64-linux +FAIL: ELF symbol size
>alpha-linux +FAIL: ELF symbol size
>alpha-netbsd +FAIL: ELF symbol size
>alpha-unknown-freebsd4.7 +FAIL: ELF symbol size
>hppa64-hp-hpux11.23 +FAIL: ELF symbol size
>hppa64-linux +XPASS: .reloc against undefined local symbol (PR 27228)
>hppa-linux +XPASS: .reloc against undefined local symbol (PR 27228)
>nds32be-elf +FAIL: readelf -wiaoRlL dw5
>nds32le-linux +FAIL: readelf -wiaoRlL dw5
>riscv32-elf +FAIL: ELF symbol size
>riscv64-linux +FAIL: ELF symbol size
>
>--
>Alan Modra
>Australia Development Lab, IBM
Sorry for the breakage. a3a7f5e1586467b137b8dcdcd2f74f5efa9f3919 should fix aarch64/alpha/hppa/riscv.
I am puzzled by
> nds32be-elf +FAIL: readelf -wiaoRlL dw5
> nds32le-linux +FAIL: readelf -wiaoRlL dw5
../../configure CFLAGS='-O0 -g' CXXFLAGS='-O0 -g' --target=nds32be-elf
make -j 50 all-binutils && make -j 50 check-binutils
binutils/tmpdir/dw5.o does not change with "gas: copy st_size only if unset"
> hppa64-linux +XPASS: .reloc against undefined local symbol (PR 27228)
> hppa-linux +XPASS: .reloc against undefined local symbol (PR 27228)
I am also puzzled by this. I confirm it passes on --target=hppa64-linux
I'll need to investigate it.
PS: is there a shortcut than building all-binutils/all-gas with various
different --target= (especially these exotic ones like
alpha/hppa/nds32)?
More information about the Binutils
mailing list