[Bug binutils/30692] [RISC-V] Symbol offset in .eh_frame section is not adjusted after relaxation

2023-07-31 Thread yanzhang.wang at intel dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=30692 --- Comment #3 from Wang, Yanzhang --- Hi Andreas Schwab. Thanks, this is the same. I didn't realize this can be resolved in gcc by disabling the unwind-tables. -- You are receiving this mail because: You are on the CC list for the bug.

[Bug binutils/30692] [RISC-V] Symbol offset in .eh_frame section is not adjusted after relaxation

2023-07-27 Thread yanzhang.wang at intel dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=30692 --- Comment #1 from Wang, Yanzhang --- We tried to fix it with two methods, - one is to support tc_fix_adjustable in gas. But there's a comment /* Let the linker resolve all the relocs due to relaxation. */. I'm not sure whether we can

[Bug binutils/30692] New: [RISC-V] Symbol offset in .eh_frame section is not adjusted after relaxation

2023-07-27 Thread yanzhang.wang at intel dot com
Severity: normal Priority: P2 Component: binutils Assignee: unassigned at sourceware dot org Reporter: yanzhang.wang at intel dot com Target Milestone: --- When we build the test with option -static -pg, the binary will be segment fault. This is also a