Simplify kernel config file need.
Don't build a default config file when not needed.
1 From http://www.mail-archive.com/pld-cvs-commit@pld-linux.org/msg00229.html
3 rtld.c: In function '_dl_start':
4 dynamic-link.h:47: error: nested function 'elf_machine_rela_relative' declared but never defined
5 dynamic-link.h:41: error: nested function 'elf_machine_rela' declared but never defined
6 when compiling glibc-2.3.4 with gcc-4.0
9 http://sources.redhat.com/ml/libc-hacker/2005-02/msg00000.html
11 http://sources.redhat.com/ml/libc-hacker/2005-03/msg00008.html
12 which seem to propose less radical fixes?
14 Aha. See also http://sources.redhat.com/bugzilla/show_bug.cgi?id=721
16 --- glibc-2.3-20050307/elf/dynamic-link.h.old 2005-03-12 18:12:37.000000000 -0800
17 +++ glibc-2.3-20050307/elf/dynamic-link.h 2005-03-12 18:12:59.777820848 -0800
24 -/* We pass reloc_addr as a pointer to void, as opposed to a pointer to
25 - ElfW(Addr), because not all architectures can assume that the
26 - relocated address is properly aligned, whereas the compiler is
27 - entitled to assume that a pointer to a type is properly aligned for
28 - the type. Even if we cast the pointer back to some other type with
29 - less strict alignment requirements, the compiler might still
30 - remember that the pointer was originally more aligned, thereby
31 - optimizing away alignment tests or using word instructions for
32 - copying memory, breaking the very code written to handle the
34 -auto void __attribute__((always_inline))
35 -elf_machine_rel (struct link_map *map, const ElfW(Rel) *reloc,
36 - const ElfW(Sym) *sym, const struct r_found_version *version,
37 - void *const reloc_addr);
38 -auto void __attribute__((always_inline))
39 -elf_machine_rela (struct link_map *map, const ElfW(Rela) *reloc,
40 - const ElfW(Sym) *sym, const struct r_found_version *version,
41 - void *const reloc_addr);
42 -auto void __attribute__((always_inline))
43 -elf_machine_rel_relative (ElfW(Addr) l_addr, const ElfW(Rel) *reloc,
44 - void *const reloc_addr);
45 -auto void __attribute__((always_inline))
46 -elf_machine_rela_relative (ElfW(Addr) l_addr, const ElfW(Rela) *reloc,
47 - void *const reloc_addr);
48 -# if ELF_MACHINE_NO_RELA || defined ELF_MACHINE_PLT_REL
49 -auto void __attribute__((always_inline))
50 -elf_machine_lazy_rel (struct link_map *map,
51 - ElfW(Addr) l_addr, const ElfW(Rel) *reloc);
53 -auto void __attribute__((always_inline))
54 -elf_machine_lazy_rel (struct link_map *map,
55 - ElfW(Addr) l_addr, const ElfW(Rela) *reloc);
59 #include <dl-machine.h>