This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Question on ppc64 and --relax


Greetings,

I understand that ppc64 makes function calls through function descriptors, but afaict these function descriptors are all output at the beginning of the .text section so the range of a function call (without resorting to -mlongcall) isn't substantially better than that found on ppc32.

ppc32 has --relax which mostly alleviates the need for -mlongcall, which we try to avoid due to the huge amount of code bloat it causes.

It seems that there might be a use for --relax on ppc64 as well, for the same reason?

Or possibly I'm missing something here. Please throw me a hint when convenient.

--Douglas Rupp
AdaCore


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