Vector tables and such...

Nick Clifton nickc@cambridge.redhat.com
Fri Jun 7 08:46:00 GMT 2002


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



More information about the Binutils mailing list