diff options
| author | Ulrich Drepper <[email protected]> | 2008-01-31 19:44:12 +0000 |
|---|---|---|
| committer | Ulrich Drepper <[email protected]> | 2008-01-31 19:44:12 +0000 |
| commit | 89759c76ee1e3231ee89d4aafed3a88772ce2245 (patch) | |
| tree | a712bb1ae7718f8ba422cd6c934d8a2f1a77584f /src/ld.h | |
| parent | b61c4cc4ab5d61d5d7c1a31e700bff8ad39fa079 (diff) | |
Implement --build-id command line parameter for ld.
Diffstat (limited to 'src/ld.h')
| -rw-r--r-- | src/ld.h | 7 |
1 files changed, 6 insertions, 1 deletions
@@ -689,7 +689,8 @@ struct scnhead scn_dot_plt, /* Generated .plt section. */ scn_dot_pltrel, /* Generated .rel.plt section. */ scn_dot_version, /* Generated .gnu.version section. */ - scn_dot_version_r /* Generated .gnu.version_r section. */ + scn_dot_version_r, /* Generated .gnu.version_r section. */ + scn_dot_note_gnu_build_id /* Generated .note.gnu.build-id section. */ } kind; /* True is the section is used in the output. */ @@ -1044,6 +1045,10 @@ struct ld_state the dynamic symbol table. */ bool export_all_dynamic; + /* Build-ID style. NULL is none. */ + const char *build_id; + Elf32_Word buildidscnidx; + /* If DSO is generated, this is the SONAME. */ const char *soname; |
