Read-only data handling: a proposal

Andreas Schwab schwab@issan.informatik.uni-dortmund.de
Thu Sep 18 01:58:00 GMT 1997


Martin Mares <mj@atrey.karlin.mff.cuni.cz> writes:

|>> The PC-rel stuff is useful, but the number of architectures where such tricks
|>> help are diminishing. 

|>   E.g., MC680x0, but AFAIK gas is not capable of such optimization yet.

It is, but it obviously can't do it if the reference is to a different
section.  Thus it will only work if constants are put in the text section
(a.out), not the rodata section (ELF).

-- 
Andreas Schwab                                      "And now for something
schwab@issan.informatik.uni-dortmund.de              completely different"



More information about the Gcc mailing list