This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: [David Mosberger <davidm@hpl.hp.com>] problem with unwind info for .init/.fini sections
- From: Richard Henderson <rth at redhat dot com>
- To: davidm at hpl dot hp dot com
- Cc: "H . J . Lu" <hjl at lucon dot org>, Ulrich Drepper <drepper at redhat dot com>, GNU libc hacker <libc-hacker at sources dot redhat dot com>, binutils at sources dot redhat dot com
- Date: Fri, 1 Mar 2002 17:00:10 -0800
- Subject: Re: [David Mosberger <davidm@hpl.hp.com>] problem with unwind info for .init/.fini sections
- References: <20020228165851.A26168@lucon.org> <15486.55079.333535.999190@napali.hpl.hp.com> <20020228173311.A26728@lucon.org> <15486.56491.696020.742674@napali.hpl.hp.com> <20020228175426.A30756@redhat.com> <15487.8879.719511.86715@napali.hpl.hp.com> <20020228225757.A30933@redhat.com> <15487.51034.573513.390031@napali.hpl.hp.com> <20020301164725.C31581@redhat.com> <15488.8807.791615.352587@napali.hpl.hp.com>
On Fri, Mar 01, 2002 at 04:52:55PM -0800, David Mosberger wrote:
> The reason I moved the labels outside is because
> otherwise the linker seems to insist on creating the sections, even if
> they're empty. Is there another way to avoid this?
Not that I'm aware of. I suppose you could put
${RELOCATING+. = ALIGN(${ALIGNMENT})}
before the first label, which should have the same effect.
r~