Fix build when size_t is not available in bfd-in2.h

bfd/ChangeLog:

2015-06-15  Jon Turney  <jon.turney@dronecode.org.uk>

	* bfd.c: Change struct bfd_build_id to use bfd_size_type.
	* bfd-in2.h : Regenerate.
This commit is contained in:
Jon Turney 2015-06-15 19:20:02 +01:00
parent 24b4cf66a6
commit 56f4083249
3 changed files with 7 additions and 2 deletions

View File

@ -1,3 +1,8 @@
2015-06-15 Jon Turney <jon.turney@dronecode.org.uk>
* bfd.c: Change struct bfd_build_id to use bfd_size_type.
* bfd-in2.h : Regenerate.
2015-06-16 Alan Modra <amodra@gmail.com>
* elf32-ppc.c (ppc_elf_relocate_section): Correct binary search of

View File

@ -6328,7 +6328,7 @@ enum bfd_plugin_format
struct bfd_build_id
{
size_t size;
bfd_size_type size;
bfd_byte data[1];
};

View File

@ -53,7 +53,7 @@ CODE_FRAGMENT
.
.struct bfd_build_id
. {
. size_t size;
. bfd_size_type size;
. bfd_byte data[1];
. };
.