This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: how do I tell GAS that I want something to be in the absolutesection?
- From: Russell Shaw <rjshaw at iprimus dot com dot au>
- Cc: binutils at sources dot redhat dot com
- Date: Tue, 14 Oct 2003 19:20:58 +1000
- Subject: Re: how do I tell GAS that I want something to be in the absolutesection?
- References: <3F8BAA65.50801@tpgi.com.au>
Jonathan Wilson wrote:
I want to tell GAS to put stuff into an Absolute section.
Also, how do I define an Absolute section and give it a name?
Use: .section <secname> in the assembler input to fill the
section you want. Collect that input section into an output
section in the ld script, where you can specify the load-time
and run-time location.