diff options
Diffstat (limited to 'support/splint/examples/ld/ldexample.hw')
-rw-r--r-- | support/splint/examples/ld/ldexample.hw | 16 |
1 files changed, 15 insertions, 1 deletions
diff --git a/support/splint/examples/ld/ldexample.hw b/support/splint/examples/ld/ldexample.hw index a5cab97d2a..d9cb732624 100644 --- a/support/splint/examples/ld/ldexample.hw +++ b/support/splint/examples/ld/ldexample.hw @@ -4,7 +4,7 @@ MEMORY { @> @<Some random portion of \ld\ code@> @= RAM (xrw) : ORIGIN = 0x20000000, LENGTH = 20K - FLASH (rx) : ORIGIN = 0x8000000, LENGTH = 128K + FLASH (rx!w) : ORIGIN = 0x8000000, LENGTH = 128K ASH (rx) : ORIGIN = 8001000, LENGTH = 128K @> @<Some random portion of \ld\ code@> @= CLASH (rx) : ORIGIN = 700000, LENGTH = 128K @@ -27,6 +27,7 @@ ENTRY(_entry); SECTIONS { @> @<Some random portion of \ld\ code@> @= + . = ORIGIN(FLASH); .isr_vector ALIGN(8) (NOLOAD): AT(.) ALIGN(.) ALIGN_WITH_INPUT SUBALIGN(8) SPECIAL { . = ALIGN(4); @@ -73,5 +74,18 @@ SECTIONS _ebss = . ; } >RAM @> @<Some random portion of \ld\ code@> @= + . = ALIGN(0x0001ABCD); + _ffbegin = .; + OVERLAY : NOCROSSREFS AT ( _ffabs ) { + .free_func0 + { + *(.free_func0) + . = ALIGN(4); + } + .free_func1 + { + *(.free_func1) + } + } >RAM } |