This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: ld capping section/segment address at 1<<32
2011-11-11 Andreas Schwab <schwab@linux-m68k.org>
* ldlang.c (insert_pad): Change alignment_needed argument to
bfd_size_type.
* ldlang.h (lang_padding_statement_type): Change size field to
bfd_size_type.
diff --git a/ld/ldlang.c b/ld/ldlang.c
index 2c56b56..99df017 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)
{
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;
--
1.7.7.3
--
Andreas Schwab, schwab@linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."