[binutils-gdb/binutils-2_44-branch] PR32599, objcopy -I ihex: invalid operation
Alan Modra
amodra@sourceware.org
Mon Jan 27 21:12:36 GMT 2025
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=102df36d9cd1e611c18ae8e258fa633a4949665e
commit 102df36d9cd1e611c18ae8e258fa633a4949665e
Author: Alan Modra <amodra@gmail.com>
Date: Sun Jan 26 14:54:15 2025 +1030
PR32599, objcopy -I ihex: invalid operation
Restores ihex get_symtab_upper_bound to what it was prior to commit
394a3f4f8d. This will enable objcopy of other no-sym formats too.
PR 32599
* libbfd-in.h (_bfd_nosymbols_get_symtab_upper_bound): Define
as _bfd_long_bfd_0.
* libbfd.h: Regenerate.
(cherry picked from commit fd45211245d0f1027a0c3ab606e3253eda779e68)
Diff:
---
bfd/libbfd-in.h | 2 +-
bfd/libbfd.h | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/bfd/libbfd-in.h b/bfd/libbfd-in.h
index 2c0d33142c6..b2f70fbfdac 100644
--- a/bfd/libbfd-in.h
+++ b/bfd/libbfd-in.h
@@ -415,7 +415,7 @@ extern bool _bfd_vms_lib_ia64_mkarchive
/* Routines to use for BFD_JUMP_TABLE_SYMBOLS where there is no symbol
support. Use BFD_JUMP_TABLE_SYMBOLS (_bfd_nosymbols). */
-#define _bfd_nosymbols_get_symtab_upper_bound _bfd_long_bfd_n1_error
+#define _bfd_nosymbols_get_symtab_upper_bound _bfd_long_bfd_0
extern long _bfd_nosymbols_canonicalize_symtab
(bfd *, asymbol **) ATTRIBUTE_HIDDEN;
#define _bfd_nosymbols_make_empty_symbol _bfd_generic_make_empty_symbol
diff --git a/bfd/libbfd.h b/bfd/libbfd.h
index 41da1e9a312..86f220380a8 100644
--- a/bfd/libbfd.h
+++ b/bfd/libbfd.h
@@ -421,7 +421,7 @@ extern bool _bfd_vms_lib_ia64_mkarchive
/* Routines to use for BFD_JUMP_TABLE_SYMBOLS where there is no symbol
support. Use BFD_JUMP_TABLE_SYMBOLS (_bfd_nosymbols). */
-#define _bfd_nosymbols_get_symtab_upper_bound _bfd_long_bfd_n1_error
+#define _bfd_nosymbols_get_symtab_upper_bound _bfd_long_bfd_0
extern long _bfd_nosymbols_canonicalize_symtab
(bfd *, asymbol **) ATTRIBUTE_HIDDEN;
#define _bfd_nosymbols_make_empty_symbol _bfd_generic_make_empty_symbol
More information about the Binutils-cvs
mailing list