This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: Feature request: .section$key
> From: Michael Meissner <meissner@cygnus.com>
> Date: Mon, 28 Aug 2000 17:05:03 -0400
> Cc: binutils@sources.redhat.com, jason@cygnus.com
>
> On Mon, Aug 28, 2000 at 01:56:38PM -0700, Jason Merrill wrote:
> > Currently, if we want the linker to collapse several linkonce sections
> > into the main section, we need to add something to a linker script:
> >
> > .text : { *(.text) *(.gnu.linkonce.t.*) }
>
> Instead ld should be modified so that is the default behavior.
This would be a bit tricky, since there is no automatic mapping
between the name of a linkonce section and the section it goes in.
--
- Geoffrey Keating <geoffk@cygnus.com>