|
@@ -266,7 +266,7 @@ static int read_unwind_spec_eh_frame(struct dso *dso, struct machine *machine,
|
|
|
u64 *fde_count)
|
|
|
{
|
|
|
int ret = -EINVAL, fd;
|
|
|
- u64 offset = dso->data.frame_offset;
|
|
|
+ u64 offset = dso->data.eh_frame_hdr_offset;
|
|
|
|
|
|
if (offset == 0) {
|
|
|
fd = dso__data_fd(dso, machine);
|
|
@@ -275,7 +275,7 @@ static int read_unwind_spec_eh_frame(struct dso *dso, struct machine *machine,
|
|
|
|
|
|
/* Check the .eh_frame section for unwinding info */
|
|
|
offset = elf_section_offset(fd, ".eh_frame_hdr");
|
|
|
- dso->data.frame_offset = offset;
|
|
|
+ dso->data.eh_frame_hdr_offset = offset;
|
|
|
}
|
|
|
|
|
|
if (offset)
|
|
@@ -291,7 +291,7 @@ static int read_unwind_spec_debug_frame(struct dso *dso,
|
|
|
struct machine *machine, u64 *offset)
|
|
|
{
|
|
|
int fd;
|
|
|
- u64 ofs = dso->data.frame_offset;
|
|
|
+ u64 ofs = dso->data.debug_frame_offset;
|
|
|
|
|
|
if (ofs == 0) {
|
|
|
fd = dso__data_fd(dso, machine);
|
|
@@ -300,7 +300,7 @@ static int read_unwind_spec_debug_frame(struct dso *dso,
|
|
|
|
|
|
/* Check the .debug_frame section for unwinding info */
|
|
|
ofs = elf_section_offset(fd, ".debug_frame");
|
|
|
- dso->data.frame_offset = ofs;
|
|
|
+ dso->data.debug_frame_offset = ofs;
|
|
|
}
|
|
|
|
|
|
*offset = ofs;
|