diff options
| author | Jisheng Zhang <[email protected]> | 2023-01-19 23:54:14 +0800 |
|---|---|---|
| committer | Palmer Dabbelt <[email protected]> | 2023-02-21 16:29:04 -0800 |
| commit | e5973191a8e33ffadef4882a261130866a1e70dc (patch) | |
| tree | fa0b0ce6bdc3552769a7cac24134dcf6d932f4e1 /drivers/fpga/altera-fpga2sdram.c | |
| parent | 7e92586c28a50dd5875655c0d169184a5acb0eee (diff) | |
riscv: vmlinux.lds.S: explicitly catch .rela.dyn symbols
When enabling linker orphan section warning, I got warnings similar as
below:
riscv64-linux-gnu-ld: warning: orphan section `.rela.text' from
`init/main.o' being placed in section `.rela.dyn'
Use the approach similar as ARM64 does and declare it in vmlinux.lds.S
Signed-off-by: Jisheng Zhang <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Palmer Dabbelt <[email protected]>
Diffstat (limited to 'drivers/fpga/altera-fpga2sdram.c')
0 files changed, 0 insertions, 0 deletions