Questions about use of type long in bfd.

Kai Tietz Kai.Tietz@onevision.com
Mon Sep 17 09:43:00 GMT 2007


Hi all,

inspirated by the patch of H.J. I investigated in bfd about the use of the 
type 'long' as data member and I found some points not sure if they are 
correct:

In the structure 'coff_final_link_info' the members sym_indices, indices, 
and outsyms are of type 'long *'('long') ?
In cofflink.c: _bfd_coff_generic_relocate_section line 2996: Use of fwrite 
?
In elf64-ppc.c: structure _ppc64_elf_section_data member opd_adjust has 
type long ?

Are these point OK for targets, when a 'long' is less than a pointer 
equaivalent scalar - eg. x86_64-pc-mingw32 ?

Cheers,
 i.A. Kai Tietz

|  (\_/)  This is Bunny. Copy and paste Bunny
| (='.'=) into your signature to help him gain
| (")_(") world domination.

------------------------------------------------------------------------------------------
  OneVision Software Entwicklungs GmbH & Co. KG
  Dr.-Leo-Ritter-Straße 9 - 93049 Regensburg
  Tel: +49.(0)941.78004.0 - Fax: +49.(0)941.78004.489 - www.OneVision.com
  Commerzbank Regensburg - BLZ 750 400 62 - Konto 6011050
  Handelsregister: HRA 6744, Amtsgericht Regensburg
  Komplementärin: OneVision Software Entwicklungs Verwaltungs GmbH
  Dr.-Leo-Ritter-Straße 9 – 93049 Regensburg
  Handelsregister: HRB 8932, Amtsgericht Regensburg - Geschäftsführer: 
Ulrike Döhler, Manuela Kluger


More information about the Binutils mailing list