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


 207 #define hash                    hash32
 208 #define interp                  interp32
 209 #define move                    move32
 210 #define note                    note32
 211 #define note_entry              note_entry32
 212 #define regular                 regular32
 213 #define reloc                   reloc32
 214 #define sections                sections32
 215 #define string                  string32
 216 #define symbols                 symbols32
 217 #define syminfo                 syminfo32
 218 #define symlookup               symlookup32
 219 #define unwind                  unwind32
 220 #define versions                versions32
 221 #define version_def             version_def32
 222 #define version_need            version_need32
 223 #endif
 224 
 225 extern  corenote_ret_t  corenote(Half, int, Word, const char *, Word);
 226 extern  void    dump_eh_frame(uchar_t *, size_t, uint64_t, Half e_machine,
 227                     uchar_t *e_ident);
 228 extern  void    dump_hex_bytes(const void *, size_t, int, int, int);
 229 
 230 extern  int     fake_shdr_cache32(const char *, int, Elf *, Elf32_Ehdr *,
 231                     Cache **, size_t *);
 232 extern  int     fake_shdr_cache64(const char *, int, Elf *, Elf64_Ehdr *,
 233                     Cache **, size_t *);
 234 
 235 extern  void    fake_shdr_cache_free32(Cache *, size_t);
 236 extern  void    fake_shdr_cache_free64(Cache *, size_t);
 237 
 238 extern  int     regular32(const char *, int, Elf *, uint_t, const char *, int,
 239                     uchar_t);
 240 extern  int     regular64(const char *, int, Elf *, uint_t, const char *, int,
 241                     uchar_t);
 242 
 243 #ifdef  __cplusplus
 244 }
 245 #endif
 246 
 247 #endif  /* __ELFDUMP_H */


 207 #define hash                    hash32
 208 #define interp                  interp32
 209 #define move                    move32
 210 #define note                    note32
 211 #define note_entry              note_entry32
 212 #define regular                 regular32
 213 #define reloc                   reloc32
 214 #define sections                sections32
 215 #define string                  string32
 216 #define symbols                 symbols32
 217 #define syminfo                 syminfo32
 218 #define symlookup               symlookup32
 219 #define unwind                  unwind32
 220 #define versions                versions32
 221 #define version_def             version_def32
 222 #define version_need            version_need32
 223 #endif
 224 
 225 extern  corenote_ret_t  corenote(Half, int, Word, const char *, Word);
 226 extern  void    dump_eh_frame(uchar_t *, size_t, uint64_t, Half e_machine,
 227                     uchar_t *e_ident, uint64_t gotaddr);
 228 extern  void    dump_hex_bytes(const void *, size_t, int, int, int);
 229 
 230 extern  int     fake_shdr_cache32(const char *, int, Elf *, Elf32_Ehdr *,
 231                     Cache **, size_t *);
 232 extern  int     fake_shdr_cache64(const char *, int, Elf *, Elf64_Ehdr *,
 233                     Cache **, size_t *);
 234 
 235 extern  void    fake_shdr_cache_free32(Cache *, size_t);
 236 extern  void    fake_shdr_cache_free64(Cache *, size_t);
 237 
 238 extern  int     regular32(const char *, int, Elf *, uint_t, const char *, int,
 239                     uchar_t);
 240 extern  int     regular64(const char *, int, Elf *, uint_t, const char *, int,
 241                     uchar_t);
 242 
 243 #ifdef  __cplusplus
 244 }
 245 #endif
 246 
 247 #endif  /* __ELFDUMP_H */