commit | 15516ed0ef148051fd752a62df3e29ccd09fa457 | [log] [tgz] |
---|---|---|
author | Nathaniel Graff <nathaniel.graff@sifive.com> | Wed Jul 18 16:19:57 2018 -0700 |
committer | Kumar Gala <kumar.gala@gmail.com> | Mon Jul 30 13:38:31 2018 -0500 |
tree | 75a23fa6ab2d95888698463770e1c0b8ff644e73 | |
parent | aa609faab379b83961ee7958faf59b10eff24cbf [diff] |
linker: riscv: Relocate .eh_frame symbol The .eh_frame symbol was causing __data_rom_start to contain the wrong offset into the ROM, resulting in corrupt data copied into RAM by _data_copy(). Fix by placing the .eh_frame in the .text section as is done in include/arch/x86/linker.ld Signed-off-by: Nathaniel Graff <nathaniel.graff@sifive.com>