m68k-openbsd -fpic fix

Jeffrey A Law law@cygnus.com
Wed Jun 30 15:43:00 GMT 1999


  In message < vyzaetj7t7u.fsf@issan.cs.uni-dortmund.de >you write:
  > That would be bad.  Unlike other targets, on the m68k there is actually no
  > fixed PIC register
Most targets do not have a PIC register either.

  > (you can use any other address register instead), and a
  > function that accesses no global data does not need it at all (function
  > calls don't need the PIC register).
True, but the current state of our compiler is if you don't make the PIC
register fixed, then you're going to get incorrect code.  The m68k is no
different.

jeff




More information about the Gcc mailing list