-
Notifications
You must be signed in to change notification settings - Fork 28
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Only lookup build ID by section type
The .note.gnu.build-id name for the section containing the GNU build ID is not normative -- it may or may not exist, even if a build ID is present. So far we have used both by-name look up and more extensive iteration over available note sections. However, that ultimately results in a bunch of similar looking but effectively duplicate code. Let's agree on a single approach to discovering the build ID, which is by iterating over note sections and checking for the corresponding note type. Signed-off-by: Daniel Müller <[email protected]>
- Loading branch information
Showing
1 changed file
with
7 additions
and
66 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