diff options
author | Andreas Schwab <schwab@linux-m68k.org> | 2011-11-15 18:22:27 +0000 |
---|---|---|
committer | Andreas Schwab <schwab@linux-m68k.org> | 2011-11-15 18:22:27 +0000 |
commit | 1a69ff95def2664fc42d6fde92d43060585f012f (patch) | |
tree | 7ab84cdcbd4f6e35785a5ec58ad3e85d85c65fa6 /ld | |
parent | c011a4f469702871cbd5a1e7fecdb57d322642bd (diff) | |
download | binutils-1a69ff95def2664fc42d6fde92d43060585f012f.zip binutils-1a69ff95def2664fc42d6fde92d43060585f012f.tar.gz binutils-1a69ff95def2664fc42d6fde92d43060585f012f.tar.bz2 |
* 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.
Diffstat (limited to 'ld')
-rw-r--r-- | ld/ChangeLog | 9 | ||||
-rw-r--r-- | ld/ldlang.c | 4 | ||||
-rw-r--r-- | ld/ldlang.h | 2 |
3 files changed, 12 insertions, 3 deletions
diff --git a/ld/ChangeLog b/ld/ChangeLog index 8d610d3..9e56b66 100644 --- a/ld/ChangeLog +++ b/ld/ChangeLog @@ -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 diff --git a/ld/ldlang.c b/ld/ldlang.c index 2c56b56..4b9eae7 100644 --- a/ld/ldlang.c +++ b/ld/ldlang.c @@ -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, diff --git a/ld/ldlang.h b/ld/ldlang.h index 95f9412..f37409c 100644 --- a/ld/ldlang.h +++ b/ld/ldlang.h @@ -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; |