diff options
author | Sam Ravnborg <sam@ravnborg.org> | 2007-05-17 07:38:44 -0400 |
---|---|---|
committer | Sam Ravnborg <sam@ravnborg.org> | 2007-05-19 03:11:57 -0400 |
commit | ca967258b69eb65dcb07bbab90fdf964c6d2ec45 (patch) | |
tree | e02acc9e830fd76e411f742ac39a7c359d7e5ba9 /include/asm-generic/vmlinux.lds.h | |
parent | 7664709b44a13e2e0b545e2dd8e7b8797a1748dc (diff) |
all-archs: consolidate .data section definition in asm-generic
With this consolidation we can now modify the .data
section definition in one spot for all archs.
Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
Diffstat (limited to 'include/asm-generic/vmlinux.lds.h')
-rw-r--r-- | include/asm-generic/vmlinux.lds.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/asm-generic/vmlinux.lds.h b/include/asm-generic/vmlinux.lds.h index a464227a66b1..52e2d69ee535 100644 --- a/include/asm-generic/vmlinux.lds.h +++ b/include/asm-generic/vmlinux.lds.h | |||
@@ -9,6 +9,10 @@ | |||
9 | /* Align . to a 8 byte boundary equals to maximum function alignment. */ | 9 | /* Align . to a 8 byte boundary equals to maximum function alignment. */ |
10 | #define ALIGN_FUNCTION() . = ALIGN(8) | 10 | #define ALIGN_FUNCTION() . = ALIGN(8) |
11 | 11 | ||
12 | /* .data section */ | ||
13 | #define DATA_DATA \ | ||
14 | *(.data) | ||
15 | |||
12 | #define RODATA \ | 16 | #define RODATA \ |
13 | . = ALIGN(4096); \ | 17 | . = ALIGN(4096); \ |
14 | .rodata : AT(ADDR(.rodata) - LOAD_OFFSET) { \ | 18 | .rodata : AT(ADDR(.rodata) - LOAD_OFFSET) { \ |