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]

Re: SPARC gold / ld support


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


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