Source-Changes-D archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: CVS commit: src
On Sun, Sep 12, 2010 at 02:50:17AM +0200, Joerg Sonnenberger wrote:
> At the moment the following binaries change:
>
> nlist_elf64.o from libc
> ld.elf_so
> savecore
> ldd
> librump and librumpuser + t_modautoload from the rump test cases
> boot, netboot and ustarboot in mdec
> lockstat
> paxctl
> exec_elf64.kmod
The same change for a src tree before this change results in:
ld.elf_so
ldd
librump, librumpuser, t_modautoload
mdec's boot, netboot and ustarboot
crunchide.
ld.elf_so and ldd is at least expected the relocations use Elf_Word. The
smaller size would be consistent with every other tool. Similar reasons
likely apply to the rest, I would ask Alpha users to test the attached
patch.
Joerg
Index: elf_machdep.h
===================================================================
RCS file: /home/joerg/repo/netbsd/src/sys/arch/alpha/include/elf_machdep.h,v
retrieving revision 1.11
diff -u -p -r1.11 elf_machdep.h
--- elf_machdep.h 30 May 2009 05:56:52 -0000 1.11
+++ elf_machdep.h 13 Sep 2010 13:46:02 -0000
@@ -3,15 +3,6 @@
#ifndef _ALPHA_ELF_MACHDEP_H_
#define _ALPHA_ELF_MACHDEP_H_
-/*
- * Alpha ELF uses different (non-standard) definitions of Elf64_Sword
- * and Elf64_Word.
- */
-typedef int64_t Elf64_Sword;
-#define ELF64_FSZ_SWORD 8
-typedef uint64_t Elf64_Word;
-#define ELF64_FSZ_WORD 8
-
#define ELF32_MACHDEP_ENDIANNESS XXX /* break compilation */
#define ELF32_MACHDEP_ID_CASES
\
/* no 32-bit ELF machine types supported */
Home |
Main Index |
Thread Index |
Old Index