mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-10-11 18:06:03 +08:00
bfd/
* elf32-arm.c (bfd_elf32_arm_allocate_interworking_sect): Check, don't set, glue section size. (record_arm_to_thumb_glue): Set glue section size here. (record_thumb_to_arm_glue): Likewise. (bfd_elf32_arm_add_glue_sections_to_bfd): Formatting. (bfd_elf32_arm_process_before_allocation): Ignore exluded sections. ld/ * emultempl/armelf.em (arm_elf_before_allocation): Run gld${EMULATION_NAME}_before_allocation later. * ldlang.c (lang_size_sections_1): Revert 2006-09-15 change.
This commit is contained in:
@ -1,6 +1,13 @@
|
||||
2006-10-19 Alan Modra <amodra@bigpond.net.au>
|
||||
|
||||
* emultempl/armelf.em (arm_elf_before_allocation): Run
|
||||
gld${EMULATION_NAME}_before_allocation later.
|
||||
* ldlang.c (lang_size_sections_1): Revert 2006-09-15 change.
|
||||
|
||||
2006-10-18 Roy Marples <uberlord@gentoo.org>
|
||||
|
||||
* emulparams/elf64_sparc_fbsd.sh (OUTPUT_FORMAT): Define as elf64-sparc-freebsd.
|
||||
* emulparams/elf64_sparc_fbsd.sh (OUTPUT_FORMAT): Define as
|
||||
elf64-sparc-freebsd.
|
||||
|
||||
2006-10-18 Joseph Myers <joseph@codesourcery.com>
|
||||
|
||||
|
18
ld/ldlang.c
18
ld/ldlang.c
@ -4368,18 +4368,12 @@ lang_size_sections_1
|
||||
os->processed_vma = TRUE;
|
||||
|
||||
if (bfd_is_abs_section (os->bfd_section) || os->ignored)
|
||||
{
|
||||
if (os->bfd_section->size > 0)
|
||||
{
|
||||
/* PR ld/3107: Do not abort when a buggy linker script
|
||||
causes a non-empty section to be discarded. */
|
||||
if (bfd_is_abs_section (os->bfd_section))
|
||||
einfo (_("%P%X: internal error: attempting to take the size of the non-section *ABS*\n"));
|
||||
else
|
||||
einfo (_("%P: warning: discarding non-empty, well known section %A\n"),
|
||||
os->bfd_section);
|
||||
}
|
||||
}
|
||||
/* Except for some special linker created sections,
|
||||
no output section should change from zero size
|
||||
after strip_excluded_output_sections. A non-zero
|
||||
size on an ignored section indicates that some
|
||||
input section was not sized early enough. */
|
||||
ASSERT (os->bfd_section->size == 0);
|
||||
else
|
||||
{
|
||||
dot = os->bfd_section->vma;
|
||||
|
Reference in New Issue
Block a user