This is the mail archive of the binutils@sources.redhat.com 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: Vector tables and such...


Hi Mark,

> >If you run "objdump -dr" on your assembled test code do you see a
> >reloc for the "start" symbol ?
> 
> I did this only to realize that the source is in assembler and not
> "C" or "C" like... So there was no useable output.

Err, there should have been usable output.  The "-d" switch to objdump
means disassemble, so it should have shown you the .long statements.
The "-r" switch to objdump means that it should display the relocs, so
for each of those .long statements there should have been a reloc
indicating which symbol's value is being referenced.

> M.CORE GAS Version 2.9.4 exception_vector.s 			page 2

That is quite an old version of GAS by the way.  We are now at version
2.12.1.  You might like to try downloading the latest sources and
building a new assembler and linker...

> UNDEFINED SYMBOLS
> start
> turn_on_led_error

Is this an output from the assembler or the linker ?


Cheers
        Nick


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