Thanks Rainer, if you cons up a patch to add the ".align" directive I'll ACK
that as well.
here's the patch that I've been testing over the weekend. It caused no
change for HAVE_AS_SPARC_GOTDATA_OP on anything but Solaris 10 with gas
and Sun ld, where HAVE_AS_SPARC_GOTDATA_OP is 1 now, and that
configuration showed no testsuite regressions.
Ok for mainline?
2011-04-15 David S. Miller<davem@davemloft.net>
Rainer Orth<ro@CeBiTec.Uni-Bielefeld.DE>
* configure.ac (gcc_cv_as_sparc_gotdata_op): Specify alignment.
* configure: Regenerate.
diff --git a/gcc/configure.ac b/gcc/configure.ac
--- a/gcc/configure.ac
+++ b/gcc/configure.ac
@@ -3270,6 +3270,7 @@ case "$target" in
gcc_cv_as_sparc_gotdata_op,,
[-K PIC],
[.text
+.align 4
foo:
nop
bar: