GAS: changing name of default sections .text/.data/.rodata

Nick Clifton nickc@redhat.com
Wed Feb 1 15:31:00 GMT 2006


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



More information about the Binutils mailing list