RFA: emitting .rodata before .text
Matt Thomas
matt@3am-software.com
Wed Sep 24 06:23:00 GMT 2008
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?
More information about the Gcc
mailing list