Skip to content

Commit 420e080

Browse files
committed
Match libunwind baremetal symbol name
1 parent 1cede08 commit 420e080

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

unwind/src/find_cfi/baremetal.rs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ use super::EhRef;
44
extern "C" {
55
static __text_start: usize;
66
static __text_end: usize;
7-
static __ehframehdr_start: usize;
8-
static __ehframehdr_end: usize;
7+
static __eh_frame_hdr_start: usize;
8+
static __eh_frame_hdr_end: usize;
99
}
1010

1111
pub fn find_cfi_sections() -> Vec<EhRef> {
@@ -15,8 +15,8 @@ pub fn find_cfi_sections() -> Vec<EhRef> {
1515
// of those values.
1616
let text_start = &__text_start as *const _ as u64;
1717
let text_end = &__text_end as *const _ as u64;
18-
let cfi_start = &__ehframehdr_start as *const _ as u64;
19-
let cfi_end = &__ehframehdr_end as *const _ as u64;
18+
let cfi_start = &__eh_frame_hdr_start as *const _ as u64;
19+
let cfi_end = &__eh_frame_hdr_end as *const _ as u64;
2020

2121
cfi.push(EhRef {
2222
obj_base: 0,

0 commit comments

Comments
 (0)