Print this page
10366 ld(1) should support GNU-style linker sets
10581 ld(1) should know kernel modules are a thing

Split Close
Expand all
Collapse all
          --- old/usr/src/cmd/sgs/include/_libelf.h
          +++ new/usr/src/cmd/sgs/include/_libelf.h
↓ open down ↓ 39 lines elided ↑ open up ↑
  40   40  #endif
  41   41  
  42   42  typedef void _elf_execfill_func_t(void *, off_t, size_t);
  43   43  
  44   44  extern void             _elf_execfill(_elf_execfill_func_t *);
  45   45  extern size_t           _elf_getnextoff(Elf *);
  46   46  extern off_t            _elf_getarhdrbase(Elf *);
  47   47  extern size_t           _elf_getarsymwordsize(Elf *);
  48   48  extern Elf64_Off        _elf_getxoff(Elf_Data *);
  49   49  extern GElf_Xword       _gelf_getdyndtflags_1(Elf *);
       50 +extern GElf_Xword       _gelf_getdynval(Elf *, GElf_Sxword);
  50   51  extern int              _elf_swap_wrimage(Elf *);
  51   52  extern uint_t           _elf_sys_encoding(void);
  52   53  
  53   54  #ifdef  __cplusplus
  54   55  }
  55   56  #endif
  56   57  
  57   58  #endif  /* __LIBELF_H */
    
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX