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: using linker symbols in assembly .S file


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


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