source: scripts/patches/glibc-2.3.4-gcc4_elf_fixes_individual/glibc-2.3.4-gcc4_mips_elf_dl-machine.patch@ 86b01c92

clfs-1.2 clfs-2.1 clfs-3.0.0-systemd clfs-3.0.0-sysvinit systemd sysvinit
Last change on this file since 86b01c92 was 7f65c0e, checked in by Jim Gifford <clfs@…>, 19 years ago

r625@server (orig r623): jim | 2005-10-31 12:43:24 -0800
Final Move

  • Property mode set to 100644
File size: 1.7 KB
RevLine 
[617118d]1Submitted By: Ryan Oliver <ryan.oliver@pha.com.au>
2Date: 2005-05-03
3Initial Package Version: 2.3.4
4Origin: glibc cvs, (cherry picked from libc/sysdeps/mips/dl-machine.h -r1.77 )
5Upstream Status: See Origin
6Description:
7
8(RO: edited changelog entry)
9 (elf_machine_rel, elf_machine_rel_relative, elf_machine_lazy_rel)
10 (elf_machine_runtime_setup): Use "auto inline".
11--- glibc-2.3.4/sysdeps/mips/dl-machine.h-orig 2004-11-24 15:36:09.000000000 +1100
12+++ glibc-2.3.4/sysdeps/mips/dl-machine.h 2005-05-05 01:39:11.000000000 +1000
13@@ -528,7 +528,7 @@
14 /* Perform the relocation specified by RELOC and SYM (which is fully resolved).
15 MAP is the object containing the reloc. */
16
17-static inline void
18+auto inline void
19 #ifdef RTLD_BOOTSTRAP
20 __attribute__ ((always_inline))
21 #endif
22@@ -635,14 +635,16 @@
23 }
24 }
25
26-static inline void
27+auto inline void
28+__attribute__((always_inline))
29 elf_machine_rel_relative (ElfW(Addr) l_addr, const ElfW(Rel) *reloc,
30 void *const reloc_addr)
31 {
32 /* XXX Nothing to do. There is no relative relocation, right? */
33 }
34
35-static inline void
36+auto inline void
37+__attribute__((always_inline))
38 elf_machine_lazy_rel (struct link_map *map,
39 ElfW(Addr) l_addr, const ElfW(Rel) *reloc)
40 {
41@@ -651,7 +653,8 @@
42
43 #ifndef RTLD_BOOTSTRAP
44 /* Relocate GOT. */
45-static inline void
46+auto inline void
47+__attribute__((always_inline))
48 elf_machine_got_rel (struct link_map *map, int lazy)
49 {
50 ElfW(Addr) *got;
51@@ -738,7 +741,8 @@
52 /* Set up the loaded object described by L so its stub function
53 will jump to the on-demand fixup code __dl_runtime_resolve. */
54
55-static inline int
56+auto inline int
57+__attribute__((always_inline))
58 elf_machine_runtime_setup (struct link_map *l, int lazy, int profile)
59 {
60 # ifndef RTLD_BOOTSTRAP
Note: See TracBrowser for help on using the repository browser.