* ld/ldlang.c (insert_pad): Change alignment_needed argument to

bfd_size_type.
(size_input_section): Change alignment_needed varible to
bfd_size_type.
* ld/ldlang.h (lang_padding_statement_type): Change size field to
bfd_size_type.
This commit is contained in:
Andreas Schwab 2011-11-15 18:22:27 +00:00
parent c011a4f469
commit 1a69ff95de
3 changed files with 12 additions and 3 deletions

View File

@ -1,3 +1,12 @@
2011-11-15 Andreas Schwab <schwab@linux-m68k.org>
* ldlang.c (insert_pad): Change alignment_needed argument to
bfd_size_type.
(size_input_section): Change alignment_needed varible to
bfd_size_type.
* ldlang.h (lang_padding_statement_type): Change size field to
bfd_size_type.
2011-11-03 Tristan Gingold <gingold@adacore.com>
* scripttempl/aix.sc: Consider header size for .text and .data

View File

@ -4596,7 +4596,7 @@ dprint_statement (lang_statement_union_type *s, int n)
static void
insert_pad (lang_statement_union_type **ptr,
fill_type *fill,
unsigned int alignment_needed,
bfd_size_type alignment_needed,
asection *output_section,
bfd_vma dot)
{
@ -4651,7 +4651,7 @@ size_input_section
if (!((lang_input_statement_type *) i->owner->usrdata)->just_syms_flag
&& (i->flags & SEC_EXCLUDE) == 0)
{
unsigned int alignment_needed;
bfd_size_type alignment_needed;
asection *o;
/* Align this section first to the input sections requirement,

View File

@ -358,7 +358,7 @@ typedef struct
{
lang_statement_header_type header;
bfd_vma output_offset;
size_t size;
bfd_size_type size;
asection *output_section;
fill_type *fill;
} lang_padding_statement_type;