This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: PATCH: Properly handle .tbss section for objcopy
- From: Alan Modra <amodra at bigpond dot net dot au>
- To: "H. J. Lu" <hjl at lucon dot org>
- Cc: binutils at sources dot redhat dot com
- Date: Thu, 1 Jun 2006 11:03:51 +0930
- Subject: Re: PATCH: Properly handle .tbss section for objcopy
- References: <20060531231816.GA17378@lucon.org>
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