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] |
Russell Shaw wrote:
Jonathan Wilson wrote:I actually want this to be an absolute section in the .obj file (as specified under "absolute section" under "Linker Sections" in the gas docs)
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.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |