This is the mail archive of the binutils@sourceware.org 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: GAS: changing name of default sections .text/.data/.rodata


Hi Etienne,

 Is it possible to add a way to tell GAS to change those
default section names for current file? Here is my problem:

Have you considered using objcopy instead ? You can use the "--rename-section <old>=<new>" switch to rename sections in the object file generated by GAS...


Cheers
  Nick


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