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]

Re: how do I tell GAS that I want something to be in the absolutesection?


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]