projects
/
deliverable
/
binutils-gdb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
bfd_size_type to size_t
[deliverable/binutils-gdb.git]
/
bfd
/
elfxx-sparc.c
diff --git
a/bfd/elfxx-sparc.c
b/bfd/elfxx-sparc.c
index e1e34a56e289f939d493e7e58e5aed0815775825..510e77cb66e176563c594716362c4e27a519712f 100644
(file)
--- a/
bfd/elfxx-sparc.c
+++ b/
bfd/elfxx-sparc.c
@@
-1136,7
+1136,7
@@
struct bfd_link_hash_table *
_bfd_sparc_elf_link_hash_table_create (bfd *abfd)
{
struct _bfd_sparc_elf_link_hash_table *ret;
_bfd_sparc_elf_link_hash_table_create (bfd *abfd)
{
struct _bfd_sparc_elf_link_hash_table *ret;
-
bfd_size_type
amt = sizeof (struct _bfd_sparc_elf_link_hash_table);
+
size_t
amt = sizeof (struct _bfd_sparc_elf_link_hash_table);
ret = (struct _bfd_sparc_elf_link_hash_table *) bfd_zmalloc (amt);
if (ret == NULL)
ret = (struct _bfd_sparc_elf_link_hash_table *) bfd_zmalloc (amt);
if (ret == NULL)
@@
-1811,7
+1811,7
@@
_bfd_sparc_elf_check_relocs (bfd *abfd, struct bfd_link_info *info,
p = *head;
if (p == NULL || p->sec != sec)
{
p = *head;
if (p == NULL || p->sec != sec)
{
-
bfd_size_type
amt = sizeof *p;
+
size_t
amt = sizeof *p;
p = ((struct elf_dyn_relocs *)
bfd_alloc (htab->elf.dynobj, amt));
if (p == NULL)
p = ((struct elf_dyn_relocs *)
bfd_alloc (htab->elf.dynobj, amt));
if (p == NULL)
@@
-2770,7
+2770,7
@@
_bfd_sparc_elf_new_section_hook (bfd *abfd, asection *sec)
if (!sec->used_by_bfd)
{
struct _bfd_sparc_elf_section_data *sdata;
if (!sec->used_by_bfd)
{
struct _bfd_sparc_elf_section_data *sdata;
-
bfd_size_type
amt = sizeof (*sdata);
+
size_t
amt = sizeof (*sdata);
sdata = bfd_zalloc (abfd, amt);
if (sdata == NULL)
sdata = bfd_zalloc (abfd, amt);
if (sdata == NULL)
This page took
0.02517 seconds
and
4
git commands to generate.