-
Notifications
You must be signed in to change notification settings - Fork 155
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
read/elf: exclude zero sized STT_NOTYPE symbols from is_definition
These are generally markers, not definitions. In particular, this excludes ARM mapping symbols ('$*'). Additionally, since we are treating non-zero sized STT_NOTYPE symbols as definitions, that means they are not SymbolKind::Label.
- Loading branch information
Showing
4 changed files
with
10 additions
and
43 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -40,6 +40,4 @@ Dynamic symbols | |
Dynamic relocations | ||
|
||
Symbol map | ||
0x0 "$d" | ||
0x0 "$x" | ||
0x0 "main" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters