detecting section overflow without using the MEMORY command

Mike Frysinger
Tue Jul 10 07:45:00 GMT 2007

is there a way (or trick) to control the size of an output section without 
defining the region in MEMORY ?  it'd be nice if there were an optional 
LENGTH() argument with output sections ...
section [address] [(type)] :
[AT(lma)] [ALIGN(section_align)] [SUBALIGN(subsection_align)] [LENGTH(length)]

the linux kernel has a lot of common code for the vmlinux linker scripts which 
prevents using MEMORY regions at the same time
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 827 bytes
Desc: This is a digitally signed message part.
URL: <>

More information about the Binutils mailing list