caillon%redhat.com 30cd2d061d Fix for bug 272369
`firefox -register` results in SIGSEGV on s390(x)

Patch by Dr. Ulrich Weigand <uweigand@de.ibm.com> r=shaver sr=dougt

The patch reverts the problematic parts of the earlier fix attempt, and uses compiler options to make GCC 3.4 behave as the assembly stubs expect:
-fno-strict-aliasing
  (several of the routines violate C aliasing rules)
-fno-inline
  (so that the InvokeByIndex function allocates a stack frame)
-fomit-frame-pointer
  (so that %r11 is available for allocation, otherwise we might not be able to satisfy 6 inputs + 6 clobbers in GPRs)
-mbackchain
  (so that xptcstubs has the backchain available)


git-svn-id: svn://10.0.0.236/trunk@167692 18797224-902f-48f8-a5cc-f745e15eee43
2005-01-13 23:13:49 +00:00
..
2005-01-13 23:13:49 +00:00