Next: , Previous: Forced Input Alignment, Up: Output Section Attributes


3.6.8.5 Output Section Region

You can assign a section to a previously defined region of memory by using `>region'. See MEMORY.

Here is a simple example:

     MEMORY { rom : ORIGIN = 0x1000, LENGTH = 0x1000 }
     SECTIONS { ROM : { *(.text) } >rom }