mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-23 03:29:47 +08:00
intptr_t type definition needed
coffcode.h uses an intptr_t cast inside an #ifdef RS6000COFF_C, so ensure that intptr_t is defined. We don't see this when cross-compiling from linux due to intptr_t being provided by unistd.h. PR 16686 * coff-rs6000.c: Include stdint.h. * coff64-rs6000.c: Likewise.
This commit is contained in:
@ -1,3 +1,9 @@
|
|||||||
|
2014-03-11 Alan Modra <amodra@gmail.com>
|
||||||
|
|
||||||
|
PR 16686
|
||||||
|
* coff-rs6000.c: Include stdint.h.
|
||||||
|
* coff64-rs6000.c: Likewise.
|
||||||
|
|
||||||
2014-03-10 Tristan Gingold <gingold@adacore.com>
|
2014-03-10 Tristan Gingold <gingold@adacore.com>
|
||||||
|
|
||||||
* ticoff.h: Removed.
|
* ticoff.h: Removed.
|
||||||
|
@ -114,6 +114,7 @@ extern int rs6000coff_core_file_failing_signal (bfd *abfd);
|
|||||||
#define bfd_pe_print_pdata NULL
|
#define bfd_pe_print_pdata NULL
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#include <stdint.h>
|
||||||
#include "coffcode.h"
|
#include "coffcode.h"
|
||||||
|
|
||||||
/* The main body of code is in coffcode.h. */
|
/* The main body of code is in coffcode.h. */
|
||||||
|
@ -277,6 +277,7 @@ extern int rs6000coff_core_file_failing_signal
|
|||||||
#define bfd_pe_print_pdata NULL
|
#define bfd_pe_print_pdata NULL
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#include <stdint.h>
|
||||||
#include "coffcode.h"
|
#include "coffcode.h"
|
||||||
|
|
||||||
/* For XCOFF64, the effective width of symndx changes depending on
|
/* For XCOFF64, the effective width of symndx changes depending on
|
||||||
|
Reference in New Issue
Block a user