Make _bfd_error_handler available outside libbfd
Needed when building libopcodes.so. bfd/ * bfd.c (_bfd_error_handler): Arrange for this function to be declared in bfd-in2.h. * libbfd-in.h (_bfd_error_handler): Don't declare. * libbfd.h: Regenerate. * bfd-in2.h: Regenerate. opcodes/ * sysdep.h (_bfd_error_handler): Don't declare. * msp430-decode.opc: Include bfd.h. Don't include ansidecl.h here. * rl78-decode.opc: Likewise. * msp430-decode.c: Regenerate. * rl78-decode.c: Regenerate.
This commit is contained in:
parent
61a9a607b5
commit
030157d8a6
11 changed files with 42 additions and 19 deletions
|
@ -128,9 +128,6 @@ extern void *bfd_realloc2
|
|||
extern void *bfd_zmalloc2
|
||||
(bfd_size_type, bfd_size_type) ATTRIBUTE_HIDDEN;
|
||||
|
||||
extern void _bfd_error_handler (const char *s, ...)
|
||||
ATTRIBUTE_PRINTF_1 ATTRIBUTE_HIDDEN;
|
||||
|
||||
/* These routines allocate and free things on the BFD's objalloc. */
|
||||
|
||||
extern void *bfd_alloc2
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue