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: Difficulty in using a linker script


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."


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