This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
RFA: emitting .rodata before .text
- From: Matt Thomas <matt at 3am-software dot com>
- To: gcc at gcc dot gnu dot org
- Date: Mon, 22 Sep 2008 16:40:54 -0700
- Subject: RFA: emitting .rodata before .text
In trying to make gcc for VAX pass test suites, one of the problems is
gcc.c-torture/compile/pr34029-2.c in that the function foo is emitted
before .rodata. This mean s & t are undefined and vax--netbsdelf-as
doesn't like that. Moving .rodata before .text solves this but I can't
see how to force that behavior.
Any ideas other than fixing gas to deal with this?