From: Cui GaoSheng
ohos inclusion
category: bugfix
issue: #I3ZXZF
CVE: NA
------------------------------------------------------------------------
Fix follow warnings:
armeb-linux-gnueabi-ld: warning: orphan section `.gnu.hash' from
`arch/arm/kernel/head.o' being placed in section `.gnu.hash'
Signed-off-by: Cui GaoSheng
Reviewed-by: Xiu Jianfeng
Signed-off-by: Chen Jun
Signed-off-by: Yu Changchun
---
arch/arm/kernel/vmlinux.lds.S | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/arch/arm/kernel/vmlinux.lds.S b/arch/arm/kernel/vmlinux.lds.S
index 1a9849968ce6..8af654bd16bf 100644
--- a/arch/arm/kernel/vmlinux.lds.S
+++ b/arch/arm/kernel/vmlinux.lds.S
@@ -70,6 +70,10 @@ SECTIONS
#endif
_etext = .; /* End of text section */
+ .gnu.hash : {
+ *(.gnu.hash)
+ }
+
RO_DATA(PAGE_SIZE)
. = ALIGN(4);
--
2.22.0