diff options
Diffstat (limited to 'examples')
-rw-r--r-- | examples/nios.lds | 15 |
1 files changed, 7 insertions, 8 deletions
diff --git a/examples/nios.lds b/examples/nios.lds index 105999f..527eb3a 100644 --- a/examples/nios.lds +++ b/examples/nios.lds @@ -32,17 +32,17 @@ SECTIONS { *(.text) } - __text_end = .; + __text_end = .; - . = ALIGN(4); - .rodata : + . = ALIGN(4); + .rodata : { *(.rodata) } __rodata_end = .; - . = ALIGN(4); - .data : + . = ALIGN(4); + .data : { *(.data) } @@ -50,12 +50,11 @@ SECTIONS __data_end = .; __bss_start = .; - . = ALIGN(4); - .bss : + . = ALIGN(4); + .bss : { *(.bss) } . = ALIGN(4); __bss_end = .; } - |