Difficulty in using a linker script
Andreas Schwab
schwab@suse.de
Thu Sep 16 21:28:00 GMT 2004
Bradley Remedios <bremedios@gmail.com> writes:
> Why doesn't the .reset_vector section get marked as a section with
> instructions and get listed with the .boot_code and .text sections?
>
> Why does the section get listed as CONTENTS, READONLY while .boot_code
> gets CONTENTS, ALLOC, LOAD, READONLY, CODE?
Probably the .reset_vector section wasn't marked allocated and code in
object file. I.e., the section should be created with the "ax" attribute
in the assembler source.
Andreas.
--
Andreas Schwab, SuSE Labs, schwab@suse.de
SuSE Linux AG, MaxfeldstraÃe 5, 90409 Nürnberg, Germany
Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."
More information about the Binutils
mailing list