From: | Peter Avalos <pavalos@xxxxxxxxxxxx> |
Date: | Tue, 4 Dec 2007 14:51:34 -0500 |
Mail-followup-to: | bugs@crater.dragonflybsd.org |
On Tue, Dec 04, 2007 at 11:11:23AM -0800, walt wrote: > On Tue, 4 Dec 2007, Matthew Dillon wrote: > > > > > :That value is defined in FreeBSD, NetBSD, OpenBSD, and linux, but not > > :in DFly. Pkgsrc/devel/libelf won't build on DF because it's missing. > > : > > :Any particular reason to remove it? > > > > I have no idea what Elf64_Sxword even is. Some kind of structure or > > elf type? Where is it supposed to be defined? > > I guess you didn't remove it, then :o) Here is sys/elf64.h from DFly: > ... > > > 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? This is inherited from FreeBSD. It looks like they changed it around in their 1.13 version of elf64.h: http://www.theshell.com/cgi-bin/cvsweb.cgi/src/sys/sys/elf64.h?cvsroot=freebsd#rev1.13 --Peter
Attachment:
pgp00002.pgp
Description: PGP signature