Proposed elf header changes which affect PPC and ARM

John Birrell jb at what-creek.com
Wed Oct 4 13:20:12 PDT 2006


On Wed, Oct 04, 2006 at 09:14:26PM +0530, Joseph Koshy wrote:
> >The patch: <http://people.freebsd.org/~jb/elf.patch> moves
> >all the relocation definitions for each arch from the machine/elf.h
> >header to sys/elf_common.h.
> 
> What's the semantic difference between an 'Lword' and an 'Xword'?
> 
> + typedef uint64_t	Elf32_Lword;
> 
> and...
> 
>  typedef int32_t		Elf64_Sword;
>  typedef int64_t		Elf64_Sxword;
>  typedef uint32_t	Elf64_Word;
> + typedef uint64_t	Elf64_Lword;
>  typedef uint64_t	Elf64_Xword;

I'm not sure there is any. It's just something that OpenSolaris code
expects.

--
John Birrell


More information about the freebsd-ppc mailing list