diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2007-08-10 12:25:30 +0000 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2007-08-10 12:25:30 +0000 |
commit | fe8b7f87390df6090751e63ffa642f524f05691f (patch) | |
tree | 30c662f38bdec1acc88cc91bcae480d8f4349b7a /ld | |
parent | bd37ed4910e892550d3c2b8c20c7ea5abd17b4ff (diff) | |
download | gdb-fe8b7f87390df6090751e63ffa642f524f05691f.zip gdb-fe8b7f87390df6090751e63ffa642f524f05691f.tar.gz gdb-fe8b7f87390df6090751e63ffa642f524f05691f.tar.bz2 |
2007-08-10 H.J. Lu <hongjiu.lu@intel.com>
PR ld/4875
* elf-hints-local.h: Include bfd_stdint.h. Use uint32_t
instead of u_int32_t.
* sha1.h: Include bfd_stdint.h instead of <stdint.h>.
Diffstat (limited to 'ld')
-rw-r--r-- | ld/ChangeLog | 8 | ||||
-rw-r--r-- | ld/elf-hints-local.h | 16 | ||||
-rw-r--r-- | ld/sha1.h | 2 |
3 files changed, 18 insertions, 8 deletions
diff --git a/ld/ChangeLog b/ld/ChangeLog index 11de68a..db70139 100644 --- a/ld/ChangeLog +++ b/ld/ChangeLog @@ -1,3 +1,11 @@ +2007-08-10 H.J. Lu <hongjiu.lu@intel.com> + + PR ld/4875 + * elf-hints-local.h: Include bfd_stdint.h. Use uint32_t + instead of u_int32_t. + + * sha1.h: Include bfd_stdint.h instead of <stdint.h>. + 2007-08-09 Alan Modra <amodra@bigpond.net.au> PR 4515 diff --git a/ld/elf-hints-local.h b/ld/elf-hints-local.h index 6940818..67fcb5c 100644 --- a/ld/elf-hints-local.h +++ b/ld/elf-hints-local.h @@ -25,16 +25,18 @@ #ifndef _ELF_HINTS_H_ #define _ELF_HINTS_H_ +#include "bfd_stdint.h" + /* Hints file produced by ldconfig. */ struct elfhints_hdr { - u_int32_t magic; /* Magic number. */ - u_int32_t version; /* File version (1). */ - u_int32_t strtab; /* Offset of string table in file. */ - u_int32_t strsize; /* Size of string table. */ - u_int32_t dirlist; /* Offset of directory list in string table. */ - u_int32_t dirlistlen; /* strlen(dirlist). */ - u_int32_t spare[26]; /* Room for expansion. */ + uint32_t magic; /* Magic number. */ + uint32_t version; /* File version (1). */ + uint32_t strtab; /* Offset of string table in file. */ + uint32_t strsize; /* Size of string table. */ + uint32_t dirlist; /* Offset of directory list in string table. */ + uint32_t dirlistlen; /* strlen(dirlist). */ + uint32_t spare[26]; /* Room for expansion. */ }; #define ELFHINTS_MAGIC 0x746e6845 @@ -22,7 +22,7 @@ #define SHA1_H 1 #include <stdio.h> -#include <stdint.h> +#include "bfd_stdint.h" /* Structure to save state of computation between the single steps. */ struct sha1_ctx |