OAR

RTEMS GNU Tools On-Line Library


Output Section Region

PREV UP NEXT Bookshelf

3.6.8.3: 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 }


PREV UP NEXT Bookshelf

Packaging copyright © 1988-2000 OAR Corporation
Context copyright by each document's author. See Free Software Foundation for information.