xen/{RISCV,PPC}/xen.lds: Delete duplicate _erodata definitions
PATCH 1/1 xen/{RISCV,PPC}/xen.lds: Delete duplicate _erodata definitions
This is bad copy/paste from somewhere. Retain the second _erodata symbol, which follows the Build ID, and matches the other architectures.
No functional change.
---
CC: Oleksii Kurochko <[email protected]>
CC: Shawn Anastasio <[email protected]>
--- xen/arch/ppc/xen.lds.S | 1 - xen/arch/riscv/xen.lds.S | 1 - 2 files changed, 2 deletions(-)
xen/arch/ppc/xen.lds.S +0 -1
@@ -60,7 +60,6 @@ SECTIONS VPCI_ARRAY . = ALIGN(POINTER_ALIGN); - _erodata = .; /* End of read-only data */ } :text #if defined(BUILD_ID)
xen/arch/riscv/xen.lds.S +0 -1
@@ -60,7 +60,6 @@ SECTIONS VPCI_ARRAY . = ALIGN(POINTER_ALIGN); - _erodata = .; /* End of read-only data */ } :text #if defined(BUILD_ID)
base-commit: fc84b4a5a37b9250d87ef63983b48e1953bba6d1
prerequisite-patch-id: b14999775a3dc222f2f94d7d5d7a1db377de9cb9
prerequisite-patch-id: 00650d75df673992b4c8cb6d7ac61dab72b9b309
prerequisite-patch-id: 5464f5f1e7448cde38749a3744c9e74708727dee
Signature · 1 line
2.30.2
Quoted 4 lines · Andrew Cooper
This is bad copy/paste from somewhere. Retain the second
_erodatasymbol, which follows the Build ID, and matches the other architectures.No functional change.
I.e. the 2nd one took effect? (To be honest I'm surprised the linker didn't complain about a duplicate symbol there.)
Quoted 1 line
Signed-off-by Andrew Cooper <[email protected]>
Quoted 6 lines · Jan Beulich
Quoted 4 lines · Andrew Cooper
This is bad copy/paste from somewhere. Retain the second
_erodatasymbol, which follows the Build ID, and matches the other architectures.No functional change.
I.e. the 2nd one took effect?
Seems to have done, yes.
Quoted 5 lines
(To be honest I'm surprised the linker
didn't complain about a duplicate symbol there.)Quoted 1 line
Signed-off-by Andrew Cooper <[email protected]>Reviewed-by Jan Beulich <[email protected]>
Thanks.
RISC-V changes look good to me.
~ Oleksii
Quoted 44 lines · Andrew Cooper
This is bad copy/paste from somewhere. Retain the second
_erodatasymbol,
which follows the Build ID, and matches the other architectures.No functional change.
Signed-off-by Andrew Cooper <[email protected]>---
CC: Oleksii Kurochko <[email protected]>
CC: Shawn Anastasio <[email protected]>
---
xen/arch/ppc/xen.lds.S | 1 -xen/arch/riscv/xen.lds.S| 1 -2 files changed, 2 deletions(-)xen/arch/ppc/xen.lds.S +0
-0@@ -60,7 +60,6 @@ SECTIONS
VPCI_ARRAY
. =ALIGN(POINTER_ALIGN);
-_erodata= .; /* End of read-only data */ } :text
#ifdefined(BUILD_ID)xen/arch/riscv/xen.lds.S +0
-0@@ -60,7 +60,6 @@ SECTIONS
VPCI_ARRAY
. =ALIGN(POINTER_ALIGN);
-_erodata= .; /* End of read-only data */ } :text
#ifdefined(BUILD_ID)base-commit:
fc84b4a5a37b9250d87ef63983b48e1953bba6d1
prerequisite-patch-id:b14999775a3dc222f2f94d7d5d7a1db377de9cb9
prerequisite-patch-id:00650d75df673992b4c8cb6d7ac61dab72b9b309
prerequisite-patch-id:5464f5f1e7448cde38749a3744c9e74708727dee
Hi Andrew,
Quoted 6 lines · Andrew Cooper
This is bad copy/paste from somewhere. Retain the second
_erodatasymbol, which follows the Build ID, and matches the other architectures.No functional change.
Signed-off-by Andrew Cooper <[email protected]>
For the PPC part:
Thanks,
Shawn