This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: Difficulty in using a linker script
- From: Andreas Schwab <schwab at suse dot de>
- To: Bradley Remedios <bremedios at gmail dot com>
- Cc: binutils at sources dot redhat dot com
- Date: Thu, 16 Sep 2004 23:24:19 +0200
- Subject: Re: Difficulty in using a linker script
- References: <963b338704091613443f468cf7@mail.gmail.com>
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."