source: patches/glibc-2.3.4-gcc4_elf_fixes_individual/glibc-2.3.4-gcc4_arm_elf_dl-machine.patch@ 873009c

clfs-1.2 clfs-2.1 clfs-3.0.0-systemd clfs-3.0.0-sysvinit systemd sysvinit
Last change on this file since 873009c was 617118d, checked in by Jim Gifford <clfs@…>, 19 years ago

r561@server (orig r559): root | 2005-06-05 02:38:49 -0700
Fixed Directory Structure

  • Property mode set to 100644
File size: 2.8 KB
RevLine 
[617118d]1Submitted By: Ryan Oliver <ryan.oliver@pha.com.au>
2Date: 2005-05-03 (updated 20050603)
3Initial Package Version: 2.3.4
4Origin: fix_bad_pc24 from Dan Kegel's crosstool, rest from glibc cvs
5Upstream Status: all except fix_bad_pc24 fixed in glibc cvs
6Description:
7
8( edited changelog entries )
92005-03-15 Jakub Jelinek <jakub@redhat.com>
10
11 * sysdeps/arm/dl-machine.h (elf_machine_rel, elf_machine_rel_relative,
12 elf_machine_rela, elf_machine_rela_relative, elf_machine_lazy_rel):
13 Add inline keyword.
14
152005-03-05 Jakub Jelinek <jakub@redhat.com>
16
17 * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_RELA): Define
18 unconditionally to (defined RTLD_BOOTSTRAP).
19
202005-03-01 Roland McGrath <roland@redhat.com>
21
22 [BZ #721]
23 * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_RELA): Define this outside
24 of [RESOLVE_MAP]
25
26fix_bad_pc24 fix from Dan Kegel's crosstool
27
28--- glibc-2.3.4/sysdeps/arm/dl-machine.h-orig 2004-12-05 08:20:17.000000000 +1100
29+++ glibc-2.3.4/sysdeps/arm/dl-machine.h 2005-06-03 15:33:44.000000000 +1000
30@@ -350,16 +350,15 @@
31
32 #endif /* !dl_machine_h */
33
34-#ifdef RESOLVE
35-
36 /* ARM never uses Elf32_Rela relocations for the dynamic linker.
37 Prelinked libraries may use Elf32_Rela though. */
38-# ifdef RTLD_BOOTSTRAP
39-# define ELF_MACHINE_NO_RELA 1
40-# endif
41+#define ELF_MACHINE_NO_RELA defined RTLD_BOOTSTRAP
42+
43+#ifdef RESOLVE
44
45 /* Deal with an out-of-range PC24 reloc. */
46-static Elf32_Addr
47+auto inline Elf32_Addr
48+__attribute__ ((always_inline))
49 fix_bad_pc24 (Elf32_Addr *const reloc_addr, Elf32_Addr value)
50 {
51 static void *fix_page;
52@@ -392,7 +391,8 @@
53 /* Perform the relocation specified by RELOC and SYM (which is fully resolved).
54 MAP is the object containing the reloc. */
55
56-static inline void
57+auto inline void
58+__attribute__ ((always_inline))
59 elf_machine_rel (struct link_map *map, const Elf32_Rel *reloc,
60 const Elf32_Sym *sym, const struct r_found_version *version,
61 void *const reloc_addr_arg)
62@@ -517,7 +517,8 @@
63 }
64
65 # ifndef RTLD_BOOTSTRAP
66-static inline void
67+auto inline void
68+__attribute__ ((always_inline))
69 elf_machine_rela (struct link_map *map, const Elf32_Rela *reloc,
70 const Elf32_Sym *sym, const struct r_found_version *version,
71 void *const reloc_addr_arg)
72@@ -597,7 +598,8 @@
73 }
74 # endif
75
76-static inline void
77+auto inline void
78+__attribute__ ((always_inline))
79 elf_machine_rel_relative (Elf32_Addr l_addr, const Elf32_Rel *reloc,
80 void *const reloc_addr_arg)
81 {
82@@ -606,7 +608,8 @@
83 }
84
85 # ifndef RTLD_BOOTSTRAP
86-static inline void
87+auto inline void
88+__attribute__ ((always_inline))
89 elf_machine_rela_relative (Elf32_Addr l_addr, const Elf32_Rela *reloc,
90 void *const reloc_addr_arg)
91 {
92@@ -615,7 +618,8 @@
93 }
94 # endif
95
96-static inline void
97+auto inline void
98+__attribute__ ((always_inline))
99 elf_machine_lazy_rel (struct link_map *map,
100 Elf32_Addr l_addr, const Elf32_Rel *reloc)
101 {
Note: See TracBrowser for help on using the repository browser.