Print this page
10346 ld(1) should not reduce symbol visibility of COMDAT symbols when producing relocatable objects

@@ -752,10 +752,11 @@
 #define ld_sym_enter            ld64_sym_enter
 #define ld_sym_find             ld64_sym_find
 #define ld_sym_nodirect         ld64_sym_nodirect
 #define ld_sym_process          ld64_sym_process
 #define ld_sym_resolve          ld64_sym_resolve
+#define ld_sym_reducable        ld64_sym_reducable
 #define ld_sym_spec             ld64_sym_spec
 #define ld_targ                 ld64_targ
 #define ld_targ_init_sparc      ld64_targ_init_sparc
 #define ld_targ_init_x86        ld64_targ_init_x86
 #define ld_unwind_make_hdr      ld64_unwind_make_hdr

@@ -850,10 +851,11 @@
 #define ld_sym_enter            ld32_sym_enter
 #define ld_sym_find             ld32_sym_find
 #define ld_sym_nodirect         ld32_sym_nodirect
 #define ld_sym_process          ld32_sym_process
 #define ld_sym_resolve          ld32_sym_resolve
+#define ld_sym_reducable        ld32_sym_reducable
 #define ld_sym_spec             ld32_sym_spec
 #define ld_targ                 ld32_targ
 #define ld_targ_init_sparc      ld32_targ_init_sparc
 #define ld_targ_init_x86        ld32_targ_init_x86
 #define ld_unwind_make_hdr      ld32_unwind_make_hdr

@@ -995,10 +997,11 @@
                             Ofl_desc *);
 extern uintptr_t        ld_sym_nodirect(Is_desc *, Ifl_desc *, Ofl_desc *);
 extern uintptr_t        ld_sym_process(Is_desc *, Ifl_desc *, Ofl_desc *);
 extern uintptr_t        ld_sym_resolve(Sym_desc *, Sym *, Ifl_desc *,
                             Ofl_desc *, int, Word, sd_flag_t);
+extern Boolean          ld_sym_reducable(Ofl_desc *, Sym_desc *);
 extern uintptr_t        ld_sym_spec(Ofl_desc *);
 
 extern Target           ld_targ;
 extern const Target     *ld_targ_init_sparc(void);
 extern const Target     *ld_targ_init_x86(void);