Omit output section from executable

Udo A. Steinberg us15@os.inf.tu-dresden.de
Thu Aug 3 01:02:00 GMT 2006


On Thu, 3 Aug 2006 10:13:55 +0930 Alan Modra (AM) wrote:

AM> Try this evil hack.
AM> 
AM> unsigned foo __attribute__((section (".cpulocal,\"aw\",@nobits#")));
AM> 
AM> The '#' might need to be different for targets that start gas comments
AM> with another character.

Excellent. I had tried this but without the # at the end. Doh!

Thanks,

	- Udo



More information about the Binutils mailing list