Print this page
3616 SHF_GROUP sections should not be discarded via other COMDAT mechanisms
3709 need sloppy relocation for GNU .debug_macro
Reviewed by: Joshua M. Clulow <josh@sysmgr.org>
Reviewed by: Robert Mustacchi <rm@joyent.com>

@@ -686,10 +686,11 @@
 #define ld_assign_got_TLS       ld64_assign_got_TLS
 #define ld_bswap_Word           ld64_bswap_Word
 #define ld_bswap_Xword          ld64_bswap_Xword
 #define ld_cap_add_family       ld64_cap_add_family
 #define ld_cap_move_symtoobj    ld64_cap_move_symtoobj
+#define ld_comdat_validate      ld64_comdat_validate
 #define ld_disp_errmsg          ld64_disp_errmsg
 #define ld_ent_check            ld64_ent_check
 #define ld_ent_lookup           ld64_ent_lookup
 #define ld_eprintf              ld64_eprintf
 #define ld_exit                 ld64_exit

@@ -783,10 +784,11 @@
 #define ld_assign_got_TLS       ld32_assign_got_TLS
 #define ld_bswap_Word           ld32_bswap_Word
 #define ld_bswap_Xword          ld32_bswap_Xword
 #define ld_cap_add_family       ld32_cap_add_family
 #define ld_cap_move_symtoobj    ld32_cap_move_symtoobj
+#define ld_comdat_validate      ld32_comdat_validate
 #define ld_disp_errmsg          ld32_disp_errmsg
 #define ld_ent_check            ld32_ent_check
 #define ld_ent_lookup           ld32_ent_lookup
 #define ld_eprintf              ld32_eprintf
 #define ld_exit                 ld32_exit

@@ -890,10 +892,12 @@
 
 extern uintptr_t        ld_cap_add_family(Ofl_desc *, Sym_desc *, Sym_desc *,
                             Cap_group *, APlist **);
 extern void             ld_cap_move_symtoobj(Ofl_desc *);
 
+extern void             ld_comdat_validate(Ofl_desc *, Ifl_desc *);
+
 extern void             ld_disp_errmsg(const char *, Rel_desc *, Ofl_desc *);
 
 extern void             ld_ent_check(Ofl_desc *);
 extern Ent_desc         *ld_ent_lookup(Ofl_desc *, const char *name,
                             avl_index_t *where);