What happened to Elf64_Sxword?

Peter Avalos pavalos at theshell.com
Tue Dec 4 11:51:54 PST 2007

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:


-------------- next part --------------
A non-text attachment was scrubbed...
Name: pgp00002.pgp
Type: application/octet-stream
Size: 189 bytes
Desc: "Description: PGP signature"
URL: <http://lists.dragonflybsd.org/pipermail/bugs/attachments/20071204/80b75e84/attachment-0022.obj>

More information about the Bugs mailing list