aboutsummaryrefslogtreecommitdiff
path: root/bfd/elf32-csky.h
diff options
context:
space:
mode:
authorXi Ruoyao <xry111@mengyan1223.wang>2022-04-29 01:25:20 +0800
committerliuzhensong <liuzhensong@loongson.cn>2022-05-05 16:00:34 +0800
commit83c5f3aea9a0d55be73e6d5dedd653fc32f0d6d3 (patch)
tree95d4cdb6ed514118d9580fa08e032ae38fcb3d8d /bfd/elf32-csky.h
parentc54a62119afd6d1e25ae9b708ccd44b441891d76 (diff)
downloadfsf-binutils-gdb-83c5f3aea9a0d55be73e6d5dedd653fc32f0d6d3.zip
fsf-binutils-gdb-83c5f3aea9a0d55be73e6d5dedd653fc32f0d6d3.tar.gz
fsf-binutils-gdb-83c5f3aea9a0d55be73e6d5dedd653fc32f0d6d3.tar.bz2
loongarch: Don't check ABI flags if no code section
Various packages (glib and gtk4 for example) produces data-only objects using `ld -r -b binary` or `objcopy`, with no elf header flags set. But these files also have no code sections, so they should be compatible with all ABIs. bfd/ * elfnn-loongarch.c (elfNN_loongarch_merge_private_bfd_data): Skip ABI checks if the input has no code sections. Reported-by: Wu Xiaotian <yetist@gmail.com> Suggested-by: Wang Xuerui <i@xen0n.name> Signed-off-by: Xi Ruoyao <xry111@mengyan1223.wang>
Diffstat (limited to 'bfd/elf32-csky.h')
0 files changed, 0 insertions, 0 deletions