This is the mail archive of the
mailing list for the binutils project.
Re: using linker symbols in assembly .S file
- From: Alan Modra <amodra at gmail dot com>
- To: Kameron Larsen <kroylar at gmail dot com>
- Cc: binutils at sourceware dot org
- Date: Thu, 13 Mar 2014 11:46:14 +1030
- Subject: Re: using linker symbols in assembly .S file
- Authentication-results: sourceware.org; auth=none
- References: <CAO+8wm_ELRNG1PKCFVom4PUN2PMLSJwHYnWi8p4i4D907iq-DA at mail dot gmail dot com> <20140313001022 dot GY26922 at bubble dot grove dot modra dot org> <CAO+8wm-TziVCA8W5vq5a6BrrnF2MS8QdaYS1ASwokjEJY=PY-g at mail dot gmail dot com> <CAO+8wm8Sf_HtM03w2Rod+NKeAkhJLjL_k4dCmr+Lf3qm4A=S6A at mail dot gmail dot com>
On Wed, Mar 12, 2014 at 05:32:40PM -0700, Kameron Larsen wrote:
> On Wed, Mar 12, 2014 at 5:14 PM, Kameron Larsen <firstname.lastname@example.org> wrote:
> > On Wed, Mar 12, 2014 at 5:10 PM, Alan Modra <email@example.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.
> 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
Australia Development Lab, IBM