提交 bbfbad16 编写于 作者: C Cui GaoSheng 提交者: Zheng Zengkai

arm32: kaslr: Add missing sections about relocatable

hulk inclusion
category: bugfix
bugzilla: 47952
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: NCui GaoSheng <cuigaosheng1@huawei.com>
Reviewed-by: NXiu Jianfeng <xiujianfeng@huawei.com>
Signed-off-by: NZheng Zengkai <zhengzengkai@huawei.com>
上级 5b0030f7
...@@ -70,6 +70,10 @@ SECTIONS ...@@ -70,6 +70,10 @@ SECTIONS
#endif #endif
_etext = .; /* End of text section */ _etext = .; /* End of text section */
.gnu.hash : {
*(.gnu.hash)
}
RO_DATA(PAGE_SIZE) RO_DATA(PAGE_SIZE)
. = ALIGN(4); . = ALIGN(4);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册