mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-10-19 22:03:57 +08:00
* 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:
@ -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>
|
2011-11-03 Tristan Gingold <gingold@adacore.com>
|
||||||
|
|
||||||
* scripttempl/aix.sc: Consider header size for .text and .data
|
* scripttempl/aix.sc: Consider header size for .text and .data
|
||||||
|
@ -4596,7 +4596,7 @@ dprint_statement (lang_statement_union_type *s, int n)
|
|||||||
static void
|
static void
|
||||||
insert_pad (lang_statement_union_type **ptr,
|
insert_pad (lang_statement_union_type **ptr,
|
||||||
fill_type *fill,
|
fill_type *fill,
|
||||||
unsigned int alignment_needed,
|
bfd_size_type alignment_needed,
|
||||||
asection *output_section,
|
asection *output_section,
|
||||||
bfd_vma dot)
|
bfd_vma dot)
|
||||||
{
|
{
|
||||||
@ -4651,7 +4651,7 @@ size_input_section
|
|||||||
if (!((lang_input_statement_type *) i->owner->usrdata)->just_syms_flag
|
if (!((lang_input_statement_type *) i->owner->usrdata)->just_syms_flag
|
||||||
&& (i->flags & SEC_EXCLUDE) == 0)
|
&& (i->flags & SEC_EXCLUDE) == 0)
|
||||||
{
|
{
|
||||||
unsigned int alignment_needed;
|
bfd_size_type alignment_needed;
|
||||||
asection *o;
|
asection *o;
|
||||||
|
|
||||||
/* Align this section first to the input sections requirement,
|
/* Align this section first to the input sections requirement,
|
||||||
|
@ -358,7 +358,7 @@ typedef struct
|
|||||||
{
|
{
|
||||||
lang_statement_header_type header;
|
lang_statement_header_type header;
|
||||||
bfd_vma output_offset;
|
bfd_vma output_offset;
|
||||||
size_t size;
|
bfd_size_type size;
|
||||||
asection *output_section;
|
asection *output_section;
|
||||||
fill_type *fill;
|
fill_type *fill;
|
||||||
} lang_padding_statement_type;
|
} lang_padding_statement_type;
|
||||||
|
Reference in New Issue
Block a user