aboutsummaryrefslogtreecommitdiff
path: root/gdb/python/python.c
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2025-09-23 08:52:26 +0800
committerH.J. Lu <hjl.tools@gmail.com>2025-09-24 04:23:32 +0800
commitaeaaa9af6359c8e394ce9cf24911fec4f4d23703 (patch)
treed30c7733af291f3b75a9d2026883b8fb58eb2ffb /gdb/python/python.c
parent1108620d7a521f1c85d2f629031ce0fbae14e331 (diff)
downloadbinutils-aeaaa9af6359c8e394ce9cf24911fec4f4d23703.zip
binutils-aeaaa9af6359c8e394ce9cf24911fec4f4d23703.tar.gz
binutils-aeaaa9af6359c8e394ce9cf24911fec4f4d23703.tar.bz2
elf: Return error on unsorted symbol table if not allowed
Normally ELF symbol table should be sorted, i.e., local symbols precede global symbols. Irix 6 is an exception and its elf_bad_symtab is set to true. Issue an error if elf_bad_symtab is false and symbol table is unsorted. PR ld/33450 * elflink.c (set_symbol_value): Change return type to bool and return false on error. Issue an error on unsorted symbol table if not allowed. (elf_link_input_bfd): Return false if set_symbol_value reurns false. Signed-off-by: H.J. Lu <hjl.tools@gmail.com>
Diffstat (limited to 'gdb/python/python.c')
0 files changed, 0 insertions, 0 deletions