using linker symbols in assembly .S file

Alan Modra amodra@gmail.com
Thu Mar 13 01:16:00 GMT 2014


On Wed, Mar 12, 2014 at 05:32:40PM -0700, Kameron Larsen wrote:
> On Wed, Mar 12, 2014 at 5:14 PM, Kameron Larsen <kroylar@gmail.com> wrote:
> > On Wed, Mar 12, 2014 at 5:10 PM, Alan Modra <amodra@gmail.com> wrote:
> >> On Wed, Mar 12, 2014 at 04:43:30PM -0700, Kameron Larsen wrote:
> >>> However, I can use objdump -d on the u-boot
> >>> binary to see that the value being filled in for _text is not
> >>> 0x40000000 but instead some other number.
> >>
> >> Are there dynamic relocations on those locations?
> >
> > I don't believe so, but how would I know for sure? -Bstatic is used in
> > the linking command.

objdump -R

> Also there are no symbols in the objdump -t listing with the "D" flag.

That doesn't preclude dynamic relocations of the type that have no
symbol.

-- 
Alan Modra
Australia Development Lab, IBM



More information about the Binutils mailing list