From eaee47c85878c0580142e187ff3b3d41b9818393 Mon Sep 17 00:00:00 2001 From: Sachin Gupta Date: Wed, 21 Nov 2018 04:43:46 -0600 Subject: Remove unused code from SBE Change-Id: Ia24de56af312bf9cdcc80573216cc6dbd1f8acf5 Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/69006 Tested-by: Jenkins Server Tested-by: FSP CI Jenkins Reviewed-by: RAJA DAS Reviewed-by: Shakeeb A. Pasha B K Reviewed-by: Sachin Gupta --- src/build/linkerscripts/power_axone/linkseeprom.cmd | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'src/build/linkerscripts/power_axone') diff --git a/src/build/linkerscripts/power_axone/linkseeprom.cmd b/src/build/linkerscripts/power_axone/linkseeprom.cmd index 75fd5724..73fe74ab 100644 --- a/src/build/linkerscripts/power_axone/linkseeprom.cmd +++ b/src/build/linkerscripts/power_axone/linkseeprom.cmd @@ -58,7 +58,7 @@ SECTIONS // Header //////////////////////////////// .header : { - _header_origin = .; _header_offset = . - _seeprom_origin; *(.header); + _header_origin = .; _header_offset = . - _seeprom_origin; KEEP(*(.header)); } > seeprom _header_size = . - _header_origin; @@ -72,7 +72,7 @@ SECTIONS //////////////////////////////// .loader_text ALIGN(0x200): { _loader_text_origin = .; _loader_text_offset = . - _seeprom_origin; - *(.loader_text); + KEEP(*(.loader_text)); } > seeprom _loader_text_size = . - _loader_text_origin; @@ -89,7 +89,7 @@ SECTIONS //////////////////////////////// .fixed ALIGN(0x200) : { _fixed_origin = .; _fixed_offset = . - _seeprom_origin; - *(.fixed) + KEEP(*(.fixed)) } > seeprom _fixed_size = . - _fixed_origin; @@ -105,7 +105,7 @@ SECTIONS // FIXED_TOC //////////////////////////////// .fixed_toc ALIGN(8) : { - _fixed_toc_origin = .; _fixed_toc_offset = . - _seeprom_origin; *(.fixed_toc); + _fixed_toc_origin = .; _fixed_toc_offset = . - _seeprom_origin; KEEP(*(.fixed_toc)); } > seeprom _fixed_toc_size = . - _fixed_toc_origin; @@ -113,7 +113,7 @@ SECTIONS // TOC //////////////////////////////// .toc ALIGN(4): { - _toc_origin = .; _toc_offset = . - _seeprom_origin; *(.toc); + _toc_origin = .; _toc_offset = . - _seeprom_origin; KEEP(*(.toc)); } > seeprom _toc_size = . - _toc_origin; @@ -121,7 +121,7 @@ SECTIONS // STRING //////////////////////////////// .strings : { - _strings_origin = .; _strings_offset = . - _seeprom_origin; *(.strings); + _strings_origin = .; _strings_offset = . - _seeprom_origin; KEEP(*(.strings)); } > seeprom _strings_size = . - _strings_origin; @@ -161,9 +161,9 @@ SECTIONS . = ALIGN(8); .rodata . : { ctor_start_address = .; - *(.ctors) *(.ctors.*) + KEEP(*(.ctors)) KEEP(*(.ctors.*)) ctor_end_address = .; - *(.rodata*) *(.got2); + KEEP(*(.rodata*)) KEEP(*(.got2)); } > pibmem _RODATA_SECTION_SIZE = . - _RODATA_SECTION_BASE; -- cgit v1.2.1