* ld/ldlang.c (insert_pad): Change alignment_needed argument to
authorAndreas Schwab <schwab@linux-m68k.org>
Tue, 15 Nov 2011 18:22:27 +0000 (18:22 +0000)
committerAndreas Schwab <schwab@linux-m68k.org>
Tue, 15 Nov 2011 18:22:27 +0000 (18:22 +0000)
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.

ld/ChangeLog
ld/ldlang.c
ld/ldlang.h

index 8d610d3ca017c9ca5d5b76f8db87b23f2031d8f2..9e56b666153d85ff804f4fe880b65b06ea3b7a4f 100644 (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
index 2c56b564559e3a30683d5168854856c569112299..4b9eae7ac050daef51989d6412f326b9a8cac8d7 100644 (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,
index 95f94128b355698615afdce2b717a899118df280..f37409c7b5f8a2fbbd0c456218e0ae787693a2b1 100644 (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;
This page took 0.039363 seconds and 4 git commands to generate.