Unwind glue: Fix dl_unwind_find_exidx implementation #193

Merged
sb10q merged 1 commits from occheung/artiq-zynq:fix-find-exidx into master 2024-08-17 17:37:22 +08:00
Owner

Description

This patch changes the reported length in dl_unwind_find_exidx from the number of 32-bits word in .ARM.exidx section to the number of entires of the same table.

Implementation references
As stated in the comment, the number of entries should be returned to the caller.

Test

Passed artiq.test targeted to a Kasli-SoC.

## Description This patch changes the reported length in `dl_unwind_find_exidx` from the number of 32-bits word in `.ARM.exidx` section to the number of entires of the same table. [Implementation references](https://cs.android.com/android/platform/superproject/+/master:bionic/libc/arch-arm/bionic/exidx_static.c;l=46?q=dl_unwind_find_exidx&ss=android%2Fplatform%2Fsuperproject) As stated in the comment, the number of entries should be returned to the caller. ### Test Passed `artiq.test` targeted to a Kasli-SoC.
occheung added 2 commits 2022-06-01 19:05:22 +08:00
97a63ca8d0 dyld: add EXIDX entry type
The type is just for aesthetic. The interpretation of an index table entry is not our concern.
sb10q merged commit e3ed41ff32 into master 2022-06-01 20:53:59 +08:00
Sign in to join this conversation.
No reviewers
No Milestone
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: M-Labs/artiq-zynq#193
No description provided.