This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: [Patch] sh64: Fix gas testsuite expected output
- From: Hans-Peter Nilsson <hp at bitrange dot com>
- To: Alan Modra <amodra at bigpond dot net dot au>
- Cc: binutils at sources dot redhat dot com, Matt Thomas <matt at 3am-software dot com>, Ulrich Drepper <drepper at redhat dot com>
- Date: Fri, 18 Oct 2002 21:46:12 -0400 (EDT)
- Subject: Re: [Patch] sh64: Fix gas testsuite expected output
On Sat, 19 Oct 2002, Alan Modra wrote:
> On Fri, Oct 18, 2002 at 03:33:10PM -0400, Hans-Peter Nilsson wrote:
> > Sure, a .note section with identifying contents for a linked
> > object, but that doesn't solve it for a REL (meaning non-linked)
> > object.
> >
> > Or perhaps you didn't really mean the .note section?
>
> .note works fine for object files too. In fact, we already use them.
> See gas/config/obj-elf.c:obj_elf_version and sco_id.
Right. Unfortunately they take up room (in the binary) and
accumulate in size when linking. (SEC_MERGE on that section,
anyone?) For *this* case, I'd prefer an empty section with a
magic name.
brgds, H-P