mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-25 12:12:47 +01:00
91f02ebcd5
Summary:
This tag is documented in https://docs.oracle.com/cd/E19253-01/817-1984/chapter6-42444/index.html
Though I could not find some docs that describe it in detail, I found some code snippets.
1.
```
/*
* Look up the string in the string table and get its offset. If
* this succeeds, then it is possible that there is a DT_NEEDED
* dynamic entry that references it.
*/
have_string = elfedit_sec_findstr(argstate->str.sec,
strpad_elt.dn_dyn.d_un.d_val, arg, &str_offset) != 0;
if (have_string) {
dyn = argstate->dynamic.data;
for (ndx = 0; ndx < numdyn; dyn++, ndx++) {
if (((dyn->d_tag == DT_NEEDED) ||
(dyn->d_tag == DT_USED)) &&
(dyn->d_un.d_val == str_offset))
goto done;
}
}
```
|
||
---|---|---|
.. | ||
Inputs | ||
dynamic-section-arch-tags.test | ||
dynamic-section.test | ||
elf-entsize.yaml | ||
elf-shinfo.yaml | ||
invalid_input_file.test | ||
lit.local.cfg | ||
missing_symtab.test | ||
section-type.yaml | ||
special-symbol-indices.yaml | ||
symbol-type.yaml | ||
verdef-section.yaml | ||
verneed-section.yaml | ||
versym-section.yaml |