mirror of
https://github.com/ipxe/ipxe
synced 2025-12-09 02:40:27 +03:00
[riscv] Place .got and .got.plt in .data
Even though we build with -mno-plt, redundant .got and .got.plt sections are still generated. Include these redundant sections within .data (which has identical section attributes) to simplify the section list. Signed-off-by: Michael Brown <mcb30@ipxe.org>
This commit is contained in:
@@ -51,6 +51,8 @@ SECTIONS {
|
|||||||
KEEP(*(SORT(.tbl.*))) /* Various tables. See include/tables.h */
|
KEEP(*(SORT(.tbl.*))) /* Various tables. See include/tables.h */
|
||||||
KEEP(*(.provided))
|
KEEP(*(.provided))
|
||||||
KEEP(*(.provided.*))
|
KEEP(*(.provided.*))
|
||||||
|
*(.got)
|
||||||
|
*(.got.plt)
|
||||||
_edata = .;
|
_edata = .;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user