This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: How to Specify abs. address for section in assembly file.
- From: Ian Lance Taylor <ian at wasabisystems dot com>
- To: "K. Ahmed Feroz" <feroz at acmet dot com>
- Cc: <binutils at sources dot redhat dot com>
- Date: 27 Mar 2004 23:53:00 -0500
- Subject: Re: How to Specify abs. address for section in assembly file.
- References: <000101c4140c$dabc40b0$7200a8c0@FEROZ>
"K. Ahmed Feroz" <feroz@acmet.com> writes:
> Please let me know, how to specify absolute address for assembly file
> sections in the assembly file rather than specifying the in linker
> script file. ?
You neglected to say what your target is.
For most targets, you can't do this. The object file format can not
represent it. The assembler is not able to generate executables; it
only generates object files.
Ian