From: Jakub Jelinek <jakub@redhat.com>
To: Keith Owens <kaos@ocs.com.au>
Cc: torvalds@transmeta.com, linux-kernel@vger.kernel.org
Subject: Re: [PATCH] Fix kernel linker scripts
Date: Tue, 3 Jul 2001 04:46:15 -0400 [thread overview]
Message-ID: <20010703044615.P32061@devserv.devel.redhat.com> (raw)
In-Reply-To: <20010702115351.B11623@devserv.devel.redhat.com> <813.994133208@kao2.melbourne.sgi.com>
In-Reply-To: <813.994133208@kao2.melbourne.sgi.com>; from kaos@ocs.com.au on Tue, Jul 03, 2001 at 02:06:48PM +1000
On Tue, Jul 03, 2001 at 02:06:48PM +1000, Keith Owens wrote:
> On Mon, 2 Jul 2001 11:53:51 -0400,
> Jakub Jelinek <jakub@redhat.com> wrote:
> >Apparently all kernel scripts only have .rodata and not also .rodata.* input
> >sections in it.
> >- .rodata : { *(.rodata) }
> >+ .rodata : { *(.rodata) *(.rodata.*) }
>
> Any reason not to use *(.rodata*) to cover all rodata sections? I see
> no need for two input definitions, one works for me.
The reason why I wrote it this way is so that it matches default ld linker
scripts:
...
.rodata : { *(.rodata) *(.rodata.*) *(.gnu.linkonce.r.*) }
.rodata1 : { *(.rodata1) }
...
Of course, *(.rodata*) would work as well and provided nobody creates
sections like .rodatafoo, the behaviour would be the same as well.
Jakub
prev parent reply other threads:[~2001-07-03 8:46 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-07-02 15:53 [PATCH] Fix kernel linker scripts Jakub Jelinek
2001-07-03 4:06 ` Keith Owens
2001-07-03 8:46 ` Jakub Jelinek [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20010703044615.P32061@devserv.devel.redhat.com \
--to=jakub@redhat.com \
--cc=kaos@ocs.com.au \
--cc=linux-kernel@vger.kernel.org \
--cc=torvalds@transmeta.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox