* elf64-ppc.c (maybe_strip_output): Heed SEC_KEEP.
This commit is contained in:
parent
1ec2d25ebf
commit
53d8967a85
@ -1,3 +1,7 @@
|
|||||||
|
2012-11-06 Alan Modra <amodra@gmail.com>
|
||||||
|
|
||||||
|
* elf64-ppc.c (maybe_strip_output): Heed SEC_KEEP.
|
||||||
|
|
||||||
2012-11-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
|
2012-11-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
|
||||||
|
|
||||||
PR target/14788
|
PR target/14788
|
||||||
@ -1447,7 +1451,7 @@
|
|||||||
PR target/13503
|
PR target/13503
|
||||||
* reloc.c: Rename BFD_RELOC_AVR_8_HHI to BFD_RELOC_AVR_8_HLO.
|
* reloc.c: Rename BFD_RELOC_AVR_8_HHI to BFD_RELOC_AVR_8_HLO.
|
||||||
* bfd-in2.h: Regenerate.
|
* bfd-in2.h: Regenerate.
|
||||||
* libbfd.h: Regenrate.
|
* libbfd.h: Regenerate.
|
||||||
* elf32-avr.c (elf_avr_howto_table): Rename R_AVR_8_HHI8 to
|
* elf32-avr.c (elf_avr_howto_table): Rename R_AVR_8_HHI8 to
|
||||||
R_AVR_8_HLO8.
|
R_AVR_8_HLO8.
|
||||||
(avr_reloc_map): Likewise.
|
(avr_reloc_map): Likewise.
|
||||||
|
@ -11300,6 +11300,7 @@ maybe_strip_output (struct bfd_link_info *info, asection *isec)
|
|||||||
{
|
{
|
||||||
if (isec->size == 0
|
if (isec->size == 0
|
||||||
&& isec->output_section->size == 0
|
&& isec->output_section->size == 0
|
||||||
|
&& !(isec->output_section->flags & SEC_KEEP)
|
||||||
&& !bfd_section_removed_from_list (info->output_bfd,
|
&& !bfd_section_removed_from_list (info->output_bfd,
|
||||||
isec->output_section)
|
isec->output_section)
|
||||||
&& elf_section_data (isec->output_section)->dynindx == 0)
|
&& elf_section_data (isec->output_section)->dynindx == 0)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user