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>

Split Close
Expand all
Collapse all
          --- old/usr/src/cmd/sgs/libld/common/_libld.h
          +++ new/usr/src/cmd/sgs/libld/common/_libld.h
↓ open down ↓ 680 lines elided ↑ open up ↑
 681  681  #define ld_add_libdir           ld64_add_libdir
 682  682  #define ld_adj_movereloc        ld64_adj_movereloc
 683  683  #define ld_am_I_partial         ld64_am_I_partial
 684  684  #define ld_ar_member            ld64_ar_member
 685  685  #define ld_ar_setup             ld64_ar_setup
 686  686  #define ld_assign_got_TLS       ld64_assign_got_TLS
 687  687  #define ld_bswap_Word           ld64_bswap_Word
 688  688  #define ld_bswap_Xword          ld64_bswap_Xword
 689  689  #define ld_cap_add_family       ld64_cap_add_family
 690  690  #define ld_cap_move_symtoobj    ld64_cap_move_symtoobj
      691 +#define ld_comdat_validate      ld64_comdat_validate
 691  692  #define ld_disp_errmsg          ld64_disp_errmsg
 692  693  #define ld_ent_check            ld64_ent_check
 693  694  #define ld_ent_lookup           ld64_ent_lookup
 694  695  #define ld_eprintf              ld64_eprintf
 695  696  #define ld_exit                 ld64_exit
 696  697  #define ld_find_library         ld64_find_library
 697  698  #define ld_finish_libs          ld64_finish_libs
 698  699  #define ld_get_group            ld64_get_group
 699  700  #define ld_group_process        ld64_group_process
 700  701  #define ld_lib_setup            ld64_lib_setup
↓ open down ↓ 77 lines elided ↑ open up ↑
 778  779  #define ld_add_libdir           ld32_add_libdir
 779  780  #define ld_adj_movereloc        ld32_adj_movereloc
 780  781  #define ld_am_I_partial         ld32_am_I_partial
 781  782  #define ld_ar_member            ld32_ar_member
 782  783  #define ld_ar_setup             ld32_ar_setup
 783  784  #define ld_assign_got_TLS       ld32_assign_got_TLS
 784  785  #define ld_bswap_Word           ld32_bswap_Word
 785  786  #define ld_bswap_Xword          ld32_bswap_Xword
 786  787  #define ld_cap_add_family       ld32_cap_add_family
 787  788  #define ld_cap_move_symtoobj    ld32_cap_move_symtoobj
      789 +#define ld_comdat_validate      ld32_comdat_validate
 788  790  #define ld_disp_errmsg          ld32_disp_errmsg
 789  791  #define ld_ent_check            ld32_ent_check
 790  792  #define ld_ent_lookup           ld32_ent_lookup
 791  793  #define ld_eprintf              ld32_eprintf
 792  794  #define ld_exit                 ld32_exit
 793  795  #define ld_find_library         ld32_find_library
 794  796  #define ld_finish_libs          ld32_finish_libs
 795  797  #define ld_get_group            ld32_get_group
 796  798  #define ld_group_process        ld32_group_process
 797  799  #define ld_lib_setup            ld32_lib_setup
↓ open down ↓ 87 lines elided ↑ open up ↑
 885  887                              Sym_desc *, Gotndx *, Gotref, Word, Word,
 886  888                              Word, Word);
 887  889  
 888  890  extern Word             ld_bswap_Word(Word);
 889  891  extern Xword            ld_bswap_Xword(Xword);
 890  892  
 891  893  extern uintptr_t        ld_cap_add_family(Ofl_desc *, Sym_desc *, Sym_desc *,
 892  894                              Cap_group *, APlist **);
 893  895  extern void             ld_cap_move_symtoobj(Ofl_desc *);
 894  896  
      897 +extern void             ld_comdat_validate(Ofl_desc *, Ifl_desc *);
      898 +
 895  899  extern void             ld_disp_errmsg(const char *, Rel_desc *, Ofl_desc *);
 896  900  
 897  901  extern void             ld_ent_check(Ofl_desc *);
 898  902  extern Ent_desc         *ld_ent_lookup(Ofl_desc *, const char *name,
 899  903                              avl_index_t *where);
 900  904  extern void             ld_eprintf(Ofl_desc *, Error, const char *, ...);
 901  905  extern int              ld_exit(Ofl_desc *);
 902  906  
 903  907  extern uintptr_t        ld_find_library(const char *, Ofl_desc *);
 904  908  extern uintptr_t        ld_finish_libs(Ofl_desc *);
↓ open down ↓ 139 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX