This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: m68k-openbsd -fpic fix



  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



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]