What happened to Elf64_Sxword?

Matthew Dillon dillon at apollo.backplane.com
Thu Dec 6 16:00:18 PST 2007

:I notice that Sword was redefined from int32 to uint64 in DFly -- i.e. Sword
:was redefined to the value of Sxword, which then leaves Sxword as redundant.
:I'm no expert in any of this, but it seems like changing these 'industry
:standard' definitions would be a bit dicey, no?

     Elf64_Sword was never redefined, it was 64 bits when that file was 
     originally imported.

     If you fix Elf64_Sword and add Elf64_Sxword you also have to adjust
     the declaration in sys/imgact_elf.h to use Sxword instead of Sword.
     That's the only thing in the kernel that I see using that definition.

					Matthew Dillon 
					<dillon at backplane.com>

More information about the Bugs mailing list