Print this page
3265 link-editor builds bogus .eh_frame_hdr on ia32

Split Close
Expand all
Collapse all
          --- old/usr/src/cmd/sgs/elfdump/common/_elfdump.h
          +++ new/usr/src/cmd/sgs/elfdump/common/_elfdump.h
↓ open down ↓ 216 lines elided ↑ open up ↑
 217  217  #define syminfo                 syminfo32
 218  218  #define symlookup               symlookup32
 219  219  #define unwind                  unwind32
 220  220  #define versions                versions32
 221  221  #define version_def             version_def32
 222  222  #define version_need            version_need32
 223  223  #endif
 224  224  
 225  225  extern  corenote_ret_t  corenote(Half, int, Word, const char *, Word);
 226  226  extern  void    dump_eh_frame(uchar_t *, size_t, uint64_t, Half e_machine,
 227      -                    uchar_t *e_ident);
      227 +                    uchar_t *e_ident, uint64_t gotaddr);
 228  228  extern  void    dump_hex_bytes(const void *, size_t, int, int, int);
 229  229  
 230  230  extern  int     fake_shdr_cache32(const char *, int, Elf *, Elf32_Ehdr *,
 231  231                      Cache **, size_t *);
 232  232  extern  int     fake_shdr_cache64(const char *, int, Elf *, Elf64_Ehdr *,
 233  233                      Cache **, size_t *);
 234  234  
 235  235  extern  void    fake_shdr_cache_free32(Cache *, size_t);
 236  236  extern  void    fake_shdr_cache_free64(Cache *, size_t);
 237  237  
 238  238  extern  int     regular32(const char *, int, Elf *, uint_t, const char *, int,
 239  239                      uchar_t);
 240  240  extern  int     regular64(const char *, int, Elf *, uint_t, const char *, int,
 241  241                      uchar_t);
 242  242  
 243  243  #ifdef  __cplusplus
 244  244  }
 245  245  #endif
 246  246  
 247  247  #endif  /* __ELFDUMP_H */
    
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX