@@ -1476,6 +1476,7 @@ class SharedFile : public InputFile<E> {
1476
1476
std::span<Symbol<E> *> get_symbols_at (Symbol<E> *sym);
1477
1477
i64 get_alignment (Symbol<E> *sym);
1478
1478
std::vector<std::string_view> get_dt_needed (Context<E> &ctx);
1479
+ std::string_view get_dt_audit (Context<E> &ctx);
1479
1480
bool is_readonly (Symbol<E> *sym);
1480
1481
1481
1482
void mark_live_objects (Context<E> &ctx,
@@ -1678,6 +1679,7 @@ template <typename E> void sort_init_fini(Context<E> &);
1678
1679
template <typename E> void sort_ctor_dtor (Context<E> &);
1679
1680
template <typename E> void fixup_ctors_in_init_array (Context<E> &);
1680
1681
template <typename E> void shuffle_sections (Context<E> &);
1682
+ template <typename E> void add_dynamic_strings (Context<E> &);
1681
1683
template <typename E> void compute_section_sizes (Context<E> &);
1682
1684
template <typename E> void sort_output_sections (Context<E> &);
1683
1685
template <typename E> void claim_unresolved_symbols (Context<E> &);
@@ -2039,8 +2041,11 @@ struct Context {
2039
2041
i64 z_stack_size = 0 ;
2040
2042
std::optional<Glob> unique;
2041
2043
std::optional<u64> physical_image_base;
2044
+ std::optional<std::vector<Symbol<E> *>> retain_symbols_file;
2042
2045
std::string Map;
2046
+ std::string audit;
2043
2047
std::string chroot;
2048
+ std::string depaudit;
2044
2049
std::string dependency_file;
2045
2050
std::string directory;
2046
2051
std::string dynamic_linker;
@@ -2052,7 +2057,6 @@ struct Context {
2052
2057
std::string soname;
2053
2058
std::string sysroot;
2054
2059
std::string_view emulation;
2055
- std::optional<std::vector<Symbol<E> *>> retain_symbols_file;
2056
2060
std::unordered_map<std::string_view, u64> section_align;
2057
2061
std::unordered_map<std::string_view, u64> section_start;
2058
2062
std::unordered_set<std::string_view> discard_section;
0 commit comments