mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-24 21:54:34 -04:00
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>
This commit is contained in:
parent
7664709b44
commit
ca967258b6
29 changed files with 40 additions and 28 deletions
|
|
@ -9,6 +9,10 @@
|
|||
/* Align . to a 8 byte boundary equals to maximum function alignment. */
|
||||
#define ALIGN_FUNCTION() . = ALIGN(8)
|
||||
|
||||
/* .data section */
|
||||
#define DATA_DATA \
|
||||
*(.data)
|
||||
|
||||
#define RODATA \
|
||||
. = ALIGN(4096); \
|
||||
.rodata : AT(ADDR(.rodata) - LOAD_OFFSET) { \
|
||||
|
|
|
|||
Loading…
Reference in a new issue