mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-26 22:07:58 +08:00
bfd/
* elflink.c (elf_link_add_object_symbols): Set SEC_EXCLUDE on .gnu.warning.* sections. ld/ * emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation): Set SEC_EXCLUDE on .gnu.warning sections.
This commit is contained in:
@ -1,3 +1,8 @@
|
|||||||
|
2005-03-23 Alan Modra <amodra@bigpond.net.au>
|
||||||
|
|
||||||
|
* elflink.c (elf_link_add_object_symbols): Set SEC_EXCLUDE on
|
||||||
|
.gnu.warning.* sections.
|
||||||
|
|
||||||
2005-03-22 Alan Modra <amodra@bigpond.net.au>
|
2005-03-22 Alan Modra <amodra@bigpond.net.au>
|
||||||
|
|
||||||
* elf32-ppc.c (elf_linker_section_pointers_t): Remove
|
* elf32-ppc.c (elf_linker_section_pointers_t): Remove
|
||||||
|
@ -3240,6 +3240,10 @@ elf_link_add_object_symbols (bfd *abfd, struct bfd_link_info *info)
|
|||||||
/* Clobber the section size so that the warning does
|
/* Clobber the section size so that the warning does
|
||||||
not get copied into the output file. */
|
not get copied into the output file. */
|
||||||
s->size = 0;
|
s->size = 0;
|
||||||
|
|
||||||
|
/* Also set SEC_EXCLUDE, so that symbols defined in
|
||||||
|
the warning section don't get copied to the output. */
|
||||||
|
s->flags |= SEC_EXCLUDE;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -1,3 +1,8 @@
|
|||||||
|
2005-03-23 Alan Modra <amodra@bigpond.net.au>
|
||||||
|
|
||||||
|
* emultempl/elf32.em (gld${EMULATION_NAME}_before_allocation): Set
|
||||||
|
SEC_EXCLUDE on .gnu.warning sections.
|
||||||
|
|
||||||
2005-03-22 Alan Modra <amodra@bigpond.net.au>
|
2005-03-22 Alan Modra <amodra@bigpond.net.au>
|
||||||
|
|
||||||
* scripttempl/elf.sc (SBSS): Don't provide sbss start and end syms.
|
* scripttempl/elf.sc (SBSS): Don't provide sbss start and end syms.
|
||||||
|
@ -1105,6 +1105,10 @@ ${ELF_INTERPRETER_SET_DEFAULT}
|
|||||||
/* Clobber the section size, so that we don't waste copying the
|
/* Clobber the section size, so that we don't waste copying the
|
||||||
warning into the output file. */
|
warning into the output file. */
|
||||||
s->size = 0;
|
s->size = 0;
|
||||||
|
|
||||||
|
/* Also set SEC_EXCLUDE, so that symbols defined in the warning
|
||||||
|
section don't get copied to the output. */
|
||||||
|
s->flags |= SEC_EXCLUDE;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user