SPARC gold / ld support
Ian Lance Taylor
iant@google.com
Tue Jan 19 20:56:00 GMT 2010
Jorge Pérez <jernestop@gmail.com> writes:
> Actually what I would like is tell the linker not where the sections
> are, but instead to tell it where branches (and other instructions
> using relative addressing) should point to, since I would like to
> remove instructions in a pseudo-manually way (the famous SETHIs) and
> the relative addresses are gonna change but I still want the code to
> be executable.
Those two seem to me to amount to the same thing.
In any case, no, there is no way to tell the linker where specific
symbols should be placed. You can only tell it where sections should
go.
Ian
More information about the Binutils
mailing list