PATCH: Properly handle .tbss section for objcopy
Alan Modra
amodra@bigpond.net.au
Thu Jun 1 01:34:00 GMT 2006
On Wed, May 31, 2006 at 04:18:16PM -0700, H. J. Lu wrote:
> * internal.h (ELF_SECTION_SIZE): New.
> (ELF_IS_SECTION_IN_SEGMENT): Likewise.
> (ELF_IS_SECTION_IN_SEGMENT_FILE): Updated.
> (ELF_IS_SECTION_IN_SEGMENT_MEMORY): Likewise.
This looks good.
> * ld-elf/binutils.exp (strip_test): Renamed to binutils_test.
> Check for unsupported options. Add more tests.
>
> * ld-elf/maxpage1.s: Add start and __start.
>
> * ld-elf/maxpage2.d: New file.
> * ld-elf/tbss1.s: Likewise.
> * ld-elf/tbss2.s: Likewise.
> * ld-elf/tdata1.s: Likewise.
> * ld-elf/tdata2.s: Likewise.
For the sake of hppa64, please add "main" as well as "start" and
"__start". OK with that change.
--
Alan Modra
IBM OzLabs - Linux Technology Centre
More information about the Binutils
mailing list