This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
How to Specify abs. address for section in assembly file.
- From: "K. Ahmed Feroz" <feroz at acmet dot com>
- To: <binutils at sources dot redhat dot com>
- Date: Sat, 27 Mar 2004 20:34:50 +0530
- Subject: How to Specify abs. address for section in assembly file.
Hi,
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. ?
For Example
.rdata
.word 1
.word 2
.text
----------
----------
subu $sp,$sp, -4
----------
----------
In the above example, I need to assign absolute address for .rdata,
.text sections in assembly file itself rather than linker script file.
Regards
K.Feroz