Clean the sample saving script.
3 In file included from dynamic-link.h:22,
5 ../sysdeps/i386/dl-machine.h: In function '_dl_relocate_object':
6 ../sysdeps/i386/dl-machine.h:395: error: invalid storage class for function 'elf_machine_rel'
7 ../sysdeps/i386/dl-machine.h:539: error: invalid storage class for function 'elf_machine_rela'
8 ../sysdeps/i386/dl-machine.h:640: error: invalid storage class for function 'elf_machine_rel_relative'
9 ../sysdeps/i386/dl-machine.h:650: error: invalid storage class for function 'elf_machine_rela_relative'
10 ../sysdeps/i386/dl-machine.h:659: error: invalid storage class for function 'elf_machine_lazy_rel'
11 ../sysdeps/i386/dl-machine.h:680: error: invalid storage class for function 'elf_machine_lazy_rela'
12 make[2]: *** [/home/dank/queue/jobdir.dual2/crosstool-dev/build/i686-unknown-linux-gnu/gcc-4.0-20050305-glibc-2.3.3/build-glibc/elf/dl-reloc.o] Error 1
14 --- glibc-2.3.3/sysdeps/i386/dl-machine.h.old Wed Mar 16 22:24:09 2005
15 +++ glibc-2.3.3/sysdeps/i386/dl-machine.h Thu Mar 17 01:30:09 2005
17 /* Perform the relocation specified by RELOC and SYM (which is fully resolved).
18 MAP is the object containing the reloc. */
26 +#if __GNUC__ >= 4 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 2)
27 + __attribute ((always_inline))
29 elf_machine_rel (struct link_map *map, const Elf32_Rel *reloc,
30 const Elf32_Sym *sym, const struct r_found_version *version,
31 void *const reloc_addr_arg)
35 #ifndef RTLD_BOOTSTRAP
42 +#if __GNUC__ >= 4 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 2)
43 + __attribute ((always_inline))
45 elf_machine_rela (struct link_map *map, const Elf32_Rela *reloc,
46 const Elf32_Sym *sym, const struct r_found_version *version,
47 void *const reloc_addr_arg)
50 #endif /* !RTLD_BOOTSTRAP */
58 +#if __GNUC__ >= 4 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 2)
59 + __attribute ((always_inline))
61 elf_machine_rel_relative (Elf32_Addr l_addr, const Elf32_Rel *reloc,
62 void *const reloc_addr_arg)
67 #ifndef RTLD_BOOTSTRAP
74 +#if __GNUC__ >= 4 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 2)
75 + __attribute ((always_inline))
77 elf_machine_rela_relative (Elf32_Addr l_addr, const Elf32_Rela *reloc,
78 void *const reloc_addr_arg)
82 #endif /* !RTLD_BOOTSTRAP */
90 +#if __GNUC__ >= 4 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 2)
91 + __attribute ((always_inline))
93 elf_machine_lazy_rel (struct link_map *map,
94 Elf32_Addr l_addr, const Elf32_Rel *reloc)
98 #ifndef RTLD_BOOTSTRAP
106 +#if __GNUC__ >= 4 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 2)
107 + __attribute ((always_inline))
109 elf_machine_lazy_rela (struct link_map *map,
110 Elf32_Addr l_addr, const Elf32_Rela *reloc)