Question on ppc64 and --relax

Douglas B Rupp rupp@adacore.com
Mon Nov 12 10:56:00 GMT 2018


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



More information about the Binutils mailing list