intptr_t type definition needed
authorAlan Modra <amodra@gmail.com>
Tue, 11 Mar 2014 05:12:46 +0000 (15:42 +1030)
committerAlan Modra <amodra@gmail.com>
Tue, 11 Mar 2014 05:43:45 +0000 (16:13 +1030)
commit3c865fca872570ba07c4a16fb262e0487b66bf0a
treeace24cab3a89bdf17b338ad057b6f8589a58e413
parentc1966e261a3c0e0a32639d464a5ebee83aa31144
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.
bfd/ChangeLog
bfd/coff-rs6000.c
bfd/coff64-rs6000.c