summaryrefslogtreecommitdiffstats
path: root/src/ld.h
diff options
context:
space:
mode:
authorUlrich Drepper <[email protected]>2008-01-31 19:44:12 +0000
committerUlrich Drepper <[email protected]>2008-01-31 19:44:12 +0000
commit89759c76ee1e3231ee89d4aafed3a88772ce2245 (patch)
treea712bb1ae7718f8ba422cd6c934d8a2f1a77584f /src/ld.h
parentb61c4cc4ab5d61d5d7c1a31e700bff8ad39fa079 (diff)
Implement --build-id command line parameter for ld.
Diffstat (limited to 'src/ld.h')
-rw-r--r--src/ld.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/ld.h b/src/ld.h
index d4ad8f9d..860bcdb4 100644
--- a/src/ld.h
+++ b/src/ld.h
@@ -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;