diff options
author | Alan Modra <amodra@gmail.com> | 2018-06-01 11:00:46 +0930 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2018-06-01 13:10:33 +0930 |
commit | 030157d8a65afcc6292a4d3d183b816ed2ff7c57 (patch) | |
tree | 27844b4acc7f05aed8c429f135be92476df67cf5 /opcodes | |
parent | Automatic date update in version.in (diff) | |
download | binutils-gdb-030157d8a65afcc6292a4d3d183b816ed2ff7c57.tar.gz binutils-gdb-030157d8a65afcc6292a4d3d183b816ed2ff7c57.tar.bz2 binutils-gdb-030157d8a65afcc6292a4d3d183b816ed2ff7c57.zip |
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.
Diffstat (limited to 'opcodes')
-rw-r--r-- | opcodes/ChangeLog | 8 | ||||
-rw-r--r-- | opcodes/msp430-decode.c | 2 | ||||
-rw-r--r-- | opcodes/msp430-decode.opc | 2 | ||||
-rw-r--r-- | opcodes/rl78-decode.c | 2 | ||||
-rw-r--r-- | opcodes/rl78-decode.opc | 2 | ||||
-rw-r--r-- | opcodes/sysdep.h | 1 |
6 files changed, 12 insertions, 5 deletions
diff --git a/opcodes/ChangeLog b/opcodes/ChangeLog index 005ca935582..725bf153585 100644 --- a/opcodes/ChangeLog +++ b/opcodes/ChangeLog @@ -1,3 +1,11 @@ +2018-06-01 Alan Modra <amodra@gmail.com> + + * 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. + 2018-05-30 Amit Pawar <Amit.Pawar@amd.com> * i386-gen.c (cpu_flag_init): Add CPU_ZNVER2_FLAGS. diff --git a/opcodes/msp430-decode.c b/opcodes/msp430-decode.c index eb101169ca9..68d9073f582 100644 --- a/opcodes/msp430-decode.c +++ b/opcodes/msp430-decode.c @@ -26,7 +26,7 @@ #include <stdio.h> #include <stdlib.h> #include <string.h> -#include "ansidecl.h" +#include "bfd.h" #include "opintl.h" #include "opcode/msp430-decode.h" diff --git a/opcodes/msp430-decode.opc b/opcodes/msp430-decode.opc index 8cdae5afaef..71ff762d91f 100644 --- a/opcodes/msp430-decode.opc +++ b/opcodes/msp430-decode.opc @@ -24,7 +24,7 @@ #include <stdio.h> #include <stdlib.h> #include <string.h> -#include "ansidecl.h" +#include "bfd.h" #include "opintl.h" #include "opcode/msp430-decode.h" diff --git a/opcodes/rl78-decode.c b/opcodes/rl78-decode.c index 18d007603c4..3edc8ace8a0 100644 --- a/opcodes/rl78-decode.c +++ b/opcodes/rl78-decode.c @@ -26,7 +26,7 @@ #include <stdio.h> #include <stdlib.h> #include <string.h> -#include "ansidecl.h" +#include "bfd.h" #include "opintl.h" #include "opcode/rl78.h" diff --git a/opcodes/rl78-decode.opc b/opcodes/rl78-decode.opc index 49e9e69d958..444ced27647 100644 --- a/opcodes/rl78-decode.opc +++ b/opcodes/rl78-decode.opc @@ -24,7 +24,7 @@ #include <stdio.h> #include <stdlib.h> #include <string.h> -#include "ansidecl.h" +#include "bfd.h" #include "opintl.h" #include "opcode/rl78.h" diff --git a/opcodes/sysdep.h b/opcodes/sysdep.h index 20f5828082a..8e5e6af1aea 100644 --- a/opcodes/sysdep.h +++ b/opcodes/sysdep.h @@ -57,7 +57,6 @@ extern char *stpcpy (char *__dest, const char *__src); #endif #define opcodes_error_handler _bfd_error_handler -extern void _bfd_error_handler (const char *, ...) ATTRIBUTE_PRINTF_1; /* Use sigsetjmp/siglongjmp without saving the signal mask if possible. It is faster than setjmp/longjmp on systems where the signal mask is |