ARM: vmlinux*.lds.S: some decruftification

Remove stuff from vmlinux.lds.S that is relevant only to the XIP build,
and stuff from vmlinux-xip.lds.S related to self-modifying code that
makes no sense in the XIP case.

Signed-off-by: Nicolas Pitre <nico@linaro.org>
Reviewed-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Tested-by: Chris Brandt <Chris.Brandt@renesas.com>
This commit is contained in:
Nicolas Pitre
2017-08-24 16:35:36 -04:00
parent 9520b1a1b5
commit 88cac29f42
2 changed files with 1 additions and 17 deletions

View File

@@ -236,9 +236,8 @@ SECTIONS
. = ALIGN(THREAD_SIZE);
#endif
__init_end = .;
__data_loc = .;
.data : AT(__data_loc) {
.data : {
_data = .; /* address in memory */
_sdata = .;
@@ -260,7 +259,6 @@ SECTIONS
_edata = .;
}
_edata_loc = __data_loc + SIZEOF(.data);
BUG_TABLE