diff options
author | H.J. Lu <hjl@lucon.org> | 2007-08-10 12:25:30 +0000 |
---|---|---|
committer | H.J. Lu <hjl@lucon.org> | 2007-08-10 12:25:30 +0000 |
commit | 0dfeed2a4ed13f9a902ea26c337a5e3299b40ea8 (patch) | |
tree | ecc9300648726ac4b2acf12176db015ff5c2f117 /ld/elf-hints-local.h | |
parent | 7aecd2778afc1c4c80c7c0a2a8e7925348feab15 (diff) | |
download | binutils-redhat-0dfeed2a4ed13f9a902ea26c337a5e3299b40ea8.tar.gz |
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/elf-hints-local.h')
-rw-r--r-- | ld/elf-hints-local.h | 16 |
1 files changed, 9 insertions, 7 deletions
diff --git a/ld/elf-hints-local.h b/ld/elf-hints-local.h index 69408180ce..67fcb5ca99 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 |