patches/uClibc/0.9.30.1/170-dl-sysdep-inline.patch
author "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Sun Apr 19 16:17:11 2009 +0000 (2009-04-19)
branchnewlib
changeset 1365 c4d124ed9f8e
permissions -rw-r--r--
Update the newlib devel branch with stuf from /trunk.

-------- diffstat follows --------
/devel/newlib/configure | 8 4 4 0
/devel/newlib/scripts/build/kernel/linux.sh | 2 1 1 0
/devel/newlib/scripts/build/cc/gcc.sh | 34 22 12 0 +
/devel/newlib/scripts/build/debug/300-gdb.sh | 52 45 7 0 +
/devel/newlib/scripts/build/libc/uClibc.sh | 6 3 3 0
/devel/newlib/scripts/build/mpfr.sh | 2 1 1 0
/devel/newlib/scripts/crosstool-NG.sh.in | 20 18 2 0 +
/devel/newlib/scripts/functions | 44 34 10 0 +
/devel/newlib/patches/glibc/2_9/500-ppc-glibc-2.9-atomic.patch | 414 0 414 0 ----------
/devel/newlib/patches/glibc/2_9/140-regex-BZ9697.patch | 111 0 111 0 ---
/devel/newlib/patches/glibc/2_9/190-queue-header-updates.patch | 89 0 89 0 --
/devel/newlib/patches/glibc/2_9/370-hppa_glibc-2.7-hppa-nptl-carlos.patch | 249 0 249 0 ------
/devel/newlib/patches/glibc/2_9/450-alpha-glibc-2.5-no-page-header.patch | 32 0 32 0 -
/devel/newlib/patches/glibc/2_9/330-2.3.3-china.patch | 35 0 35 0 -
/devel/newlib/patches/glibc/2_9/270-ldbl-nexttowardf.patch | 68 0 68 0 --
/devel/newlib/patches/glibc/2_9/410-2.9-fnmatch.patch | 64 0 64 0 --
/devel/newlib/patches/glibc/2_9/340-new-valencian-locale.patch | 120 0 120 0 ---
/devel/newlib/patches/glibc/2_9/350-2.4-undefine-__i686.patch | 47 0 47 0 -
/devel/newlib/patches/glibc/2_9/160-i386-x86_64-revert-clone-cfi.patch | 53 0 53 0 -
/devel/newlib/patches/glibc/2_9/150-regex-BZ697.patch | 28 0 28 0 -
/devel/newlib/patches/glibc/2_9/420-dont-build-timezone.patch | 19 0 19 0 -
/devel/newlib/patches/glibc/2_9/290-no-inline-gmon.patch | 38 0 38 0 -
/devel/newlib/patches/glibc/2_9/280-section-comments.patch | 29 0 29 0 -
/devel/newlib/patches/glibc/2_9/180-math-tests.patch | 72 0 72 0 --
/devel/newlib/patches/glibc/2_9/250-resolv-dynamic.patch | 44 0 44 0 -
/devel/newlib/patches/glibc/2_9/120-_nss_dns_gethostbyaddr2_r-check-and-adjust-the-buffer-alignment.patch | 35 0 35 0 -
/devel/newlib/patches/glibc/2_9/300-2.9-check_native-headers.patch | 22 0 22 0 -
/devel/newlib/patches/glibc/2_9/130-add_prio-macros.patch | 26 0 26 0 -
/devel/newlib/patches/glibc/2_9/310-2.3.6-fix-pr631.patch | 50 0 50 0 -
/devel/newlib/patches/glibc/2_9/510-sh-no-asm-user-header.patch | 70 0 70 0 --
/devel/newlib/patches/glibc/2_9/260-fadvise64_64.patch | 30 0 30 0 -
/devel/newlib/patches/glibc/2_9/440-alpha-glibc-2.4-xstat.patch | 249 0 249 0 ------
/devel/newlib/patches/glibc/2_9/170-2.10-dns-no-gethostbyname4.patch | 35 0 35 0 -
/devel/newlib/patches/glibc/2_9/230-2.3.3-localedef-fix-trampoline.patch | 74 0 74 0 --
/devel/newlib/patches/glibc/2_9/480-alpha-glibc-2.8-cache-shape.patch | 18 0 18 0 -
/devel/newlib/patches/glibc/2_9/360-2.8-nscd-one-fork.patch | 45 0 45 0 -
/devel/newlib/patches/glibc/2_9/210-2.9-strlen-hack.patch | 109 0 109 0 ---
/devel/newlib/patches/glibc/2_9/320-2.9-assume-pipe2.patch | 59 0 59 0 -
/devel/newlib/patches/glibc/2_9/100-ssp-compat.patch | 193 0 193 0 -----
/devel/newlib/patches/glibc/2_9/110-respect-env-CPPFLAGS.patch | 30 0 30 0 -
/devel/newlib/patches/glibc/2_9/220-manual-no-perl.patch | 29 0 29 0 -
/devel/newlib/patches/glibc/2_9/390-2.3.3_pre20040117-pt_pax.patch | 35 0 35 0 -
/devel/newlib/patches/glibc/2_9/460-alpha-glibc-2.5-no-asm-elf-header.patch | 38 0 38 0 -
/devel/newlib/patches/glibc/2_9/400-tests-sandbox-libdl-paths.patch | 198 0 198 0 -----
/devel/newlib/patches/glibc/2_9/520-sh-no-asm-elf-header.patch | 27 0 27 0 -
/devel/newlib/patches/glibc/2_9/240-i386-LOAD_PIC_REG.patch | 23 0 23 0 -
/devel/newlib/patches/glibc/2_9/200-awk-in-C-locale.patch | 23 0 23 0 -
/devel/newlib/patches/glibc/2_9/430-2.7-cross-compile-nptl.patch | 57 0 57 0 -
/devel/newlib/patches/glibc/2_9/380-2.3.6-dl_execstack-PaX-support.patch | 71 0 71 0 --
/devel/newlib/patches/glibc/2_9/490-ptr-mangling.patch | 114 0 114 0 ---
/devel/newlib/patches/glibc/2_9/470-alpha-glibc-2.8-creat.patch | 19 0 19 0 -
/devel/newlib/patches/glibc/ports-2_9/100-arm_linux_tls.patch | 14 0 14 0 -
/devel/newlib/patches/uClibc/0.9.30.1/140-gnu89-inline.patch | 2 1 1 0
/devel/newlib/docs/known-issues.txt | 16 15 1 0 +
/devel/newlib/docs/overview.txt | 2 1 1 0
/devel/newlib/samples/armeb-unknown-linux-uclibc/uClibc-0.9.30.config | 243 0 243 0 ------
/devel/newlib/samples/armeb-unknown-linux-uclibc/crosstool.config | 78 55 23 0 +-
/devel/newlib/samples/sh4-unknown-linux-gnu/crosstool.config | 35 18 17 0 +
/devel/newlib/samples/x86_64-unknown-linux-gnu/crosstool.config | 104 68 36 0 +--
/devel/newlib/samples/arm-unknown-elf/crosstool.config | 54 47 7 0 +
/devel/newlib/samples/armeb-unknown-eabi/crosstool.config | 54 47 7 0 +
/devel/newlib/samples/arm-unknown-linux-gnueabi/crosstool.config | 113 73 40 0 +--
/devel/newlib/samples/ia64-unknown-linux-gnu/crosstool.config | 91 61 30 0 +-
/devel/newlib/samples/x86_64-unknown-linux-uclibc/uClibc-0.9.30.config | 245 0 245 0 ------
/devel/newlib/samples/x86_64-unknown-linux-uclibc/crosstool.config | 78 55 23 0 +-
/devel/newlib/samples/armeb-unknown-linux-gnueabi/crosstool.config | 105 69 36 0 +--
/devel/newlib/samples/powerpc-e500v2-linux-gnuspe/crosstool.config | 96 63 33 0 +-
/devel/newlib/samples/i686-nptl-linux-gnu/crosstool.config | 78 48 30 0 +-
/devel/newlib/samples/arm-unknown-linux-gnu/crosstool.config | 105 69 36 0 +--
/devel/newlib/samples/powerpc-unknown-linux-gnu/crosstool.config | 103 67 36 0 +-
/devel/newlib/samples/mips-unknown-linux-uclibc/uClibc-0.9.30.config | 254 0 254 0 ------
/devel/newlib/samples/mips-unknown-linux-uclibc/crosstool.config | 77 54 23 0 +-
/devel/newlib/samples/arm-unknown-linux-uclibcgnueabi/uClibc-0.9.30.config | 253 0 253 0 ------
/devel/newlib/samples/arm-unknown-linux-uclibcgnueabi/crosstool.config | 78 55 23 0 +-
/devel/newlib/samples/arm-iphone-linux-gnueabi/crosstool.config | 84 57 27 0 +-
/devel/newlib/samples/armeb-unknown-linux-gnu/crosstool.config | 105 69 36 0 +--
/devel/newlib/samples/powerpc-unknown_nofpu-linux-gnu/crosstool.config | 104 68 36 0 +--
/devel/newlib/samples/i586-geode-linux-uclibc/uClibc-0.9.30.config | 263 0 263 0 ------
/devel/newlib/samples/i586-geode-linux-uclibc/crosstool.config | 78 55 23 0 +-
/devel/newlib/samples/arm-unknown-linux-uclibc/uClibc-0.9.30.config | 253 0 253 0 ------
/devel/newlib/samples/arm-unknown-linux-uclibc/crosstool.config | 78 55 23 0 +-
/devel/newlib/samples/powerpc-unknown-linux-uclibc/uClibc-0.9.30.config | 248 0 248 0 ------
/devel/newlib/samples/powerpc-unknown-linux-uclibc/crosstool.config | 77 54 23 0 +-
/devel/newlib/samples/mips-unknown-elf/crosstool.config | 54 47 7 0 +
/devel/newlib/samples/powerpc-405-linux-gnu/crosstool.config | 104 68 36 0 +--
/devel/newlib/samples/armeb-unknown-linux-uclibcgnueabi/crosstool.config | 26 13 13 0
/devel/newlib/samples/arm-unknown-eabi/crosstool.config | 54 47 7 0 +
/devel/newlib/samples/mipsel-unknown-linux-gnu/crosstool.config | 104 68 36 0 +--
/devel/newlib/samples/powerpc64-unknown-linux-gnu/crosstool.config | 75 49 26 0 +-
/devel/newlib/samples/alphaev56-unknown-linux-gnu/crosstool.config | 94 63 31 0 +-
/devel/newlib/samples/powerpc-860-linux-gnu/crosstool.config | 102 67 35 0 +-
/devel/newlib/config/kernel/linux.in | 87 46 41 0 +-
/devel/newlib/config/cc/gcc.in | 35 30 5 0 +
/devel/newlib/config/debug/gdb.in | 2 1 1 0
94 files changed, 1851 insertions(+), 5813 deletions(-)
yann@1282
     1
Index: uClibc-0.9.30.1/ldso/ldso/arm/dl-sysdep.h
yann@1282
     2
===================================================================
yann@1282
     3
--- uClibc-0.9.30.1/ldso/ldso/arm/dl-sysdep.h	(revision 25503)
yann@1282
     4
+++ uClibc-0.9.30.1/ldso/ldso/arm/dl-sysdep.h	(working copy)
yann@1282
     5
@@ -17,7 +17,7 @@
yann@1282
     6
 
yann@1282
     7
 #define DL_MALLOC_ALIGN 8  /* EABI needs 8 byte alignment for STRD LDRD*/
yann@1282
     8
 
yann@1282
     9
-static __inline__ unsigned long arm_modulus(unsigned long m, unsigned long p)
yann@1282
    10
+static __always_inline unsigned long arm_modulus(unsigned long m, unsigned long p)
yann@1282
    11
 {
yann@1282
    12
 	unsigned long i,t,inc;
yann@1282
    13
 	i=p; t=0;
yann@1282
    14
@@ -74,7 +74,7 @@ unsigned long _dl_linux_resolver(struct 
yann@1282
    15
    first element of the GOT.  We used to use the PIC register to do this
yann@1282
    16
    without a constant pool reference, but GCC 4.2 will use a pseudo-register
yann@1282
    17
    for the PIC base, so it may not be in r10.  */
yann@1282
    18
-static __inline__ Elf32_Addr __attribute__ ((unused))
yann@1282
    19
+static __always_inline Elf32_Addr __attribute__ ((unused))
yann@1282
    20
 elf_machine_dynamic (void)
yann@1282
    21
 {
yann@1282
    22
   Elf32_Addr dynamic;
yann@1282
    23
@@ -106,7 +106,7 @@ elf_machine_dynamic (void)
yann@1282
    24
 }
yann@1282
    25
 
yann@1282
    26
 /* Return the run-time load address of the shared object.  */
yann@1282
    27
-static __inline__ Elf32_Addr __attribute__ ((unused))
yann@1282
    28
+static __always_inline Elf32_Addr __attribute__ ((unused))
yann@1282
    29
 elf_machine_load_address (void)
yann@1282
    30
 {
yann@1282
    31
 	extern void __dl_start __asm__ ("_dl_start");
yann@1282
    32
@@ -130,7 +130,7 @@ elf_machine_load_address (void)
yann@1282
    33
 	return pcrel_addr - got_addr;
yann@1282
    34
 }
yann@1282
    35
 
yann@1282
    36
-static __inline__ void
yann@1282
    37
+static __always_inline void
yann@1282
    38
 elf_machine_relative (Elf32_Addr load_off, const Elf32_Addr rel_addr,
yann@1282
    39
 		      Elf32_Word relative_count)
yann@1282
    40
 {
yann@1282
    41
Index: uClibc-0.9.30.1/ldso/ldso/powerpc/dl-sysdep.h
yann@1282
    42
===================================================================
yann@1282
    43
--- uClibc-0.9.30.1/ldso/ldso/powerpc/dl-sysdep.h	(revision 25503)
yann@1282
    44
+++ uClibc-0.9.30.1/ldso/ldso/powerpc/dl-sysdep.h	(working copy)
yann@1282
    45
@@ -90,7 +90,7 @@ void _dl_init_got(unsigned long *lpnt,st
yann@1282
    46
 #define ELF_MACHINE_PLTREL_OVERLAP 1
yann@1282
    47
 
yann@1282
    48
 /* Return the value of the GOT pointer.  */
yann@1282
    49
-static __inline__ Elf32_Addr * __attribute__ ((const))
yann@1282
    50
+static __always_inline Elf32_Addr * __attribute__ ((const))
yann@1282
    51
 ppc_got (void)
yann@1282
    52
 {
yann@1282
    53
 	Elf32_Addr *got;
yann@1282
    54
@@ -109,14 +109,14 @@ ppc_got (void)
yann@1282
    55
 
yann@1282
    56
 /* Return the link-time address of _DYNAMIC, stored as
yann@1282
    57
    the first value in the GOT. */
yann@1282
    58
-static __inline__ Elf32_Addr __attribute__ ((const))
yann@1282
    59
+static __always_inline Elf32_Addr __attribute__ ((const))
yann@1282
    60
 elf_machine_dynamic (void)
yann@1282
    61
 {
yann@1282
    62
 	return *ppc_got();
yann@1282
    63
 }
yann@1282
    64
 
yann@1282
    65
 /* Return the run-time load address of the shared object.  */
yann@1282
    66
-static __inline__ Elf32_Addr __attribute__ ((const))
yann@1282
    67
+static __always_inline Elf32_Addr __attribute__ ((const))
yann@1282
    68
 elf_machine_load_address (void)
yann@1282
    69
 {
yann@1282
    70
   Elf32_Addr *branchaddr;
yann@1282
    71
@@ -164,7 +164,7 @@ elf_machine_load_address (void)
yann@1282
    72
   return runtime_dynamic - elf_machine_dynamic ();
yann@1282
    73
 }
yann@1282
    74
 
yann@1282
    75
-static __inline__ void
yann@1282
    76
+static __always_inline void
yann@1282
    77
 elf_machine_relative (Elf32_Addr load_off, const Elf32_Addr rel_addr,
yann@1282
    78
 		      Elf32_Word relative_count)
yann@1282
    79
 {
yann@1282
    80
Index: uClibc-0.9.30.1/ldso/ldso/sh64/dl-sysdep.h
yann@1282
    81
===================================================================
yann@1282
    82
--- uClibc-0.9.30.1/ldso/ldso/sh64/dl-sysdep.h	(revision 25503)
yann@1282
    83
+++ uClibc-0.9.30.1/ldso/ldso/sh64/dl-sysdep.h	(working copy)
yann@1282
    84
@@ -42,7 +42,7 @@ extern unsigned long _dl_linux_resolver(
yann@1282
    85
 /* Return the link-time address of _DYNAMIC.  Conveniently, this is the
yann@1282
    86
    first element of the GOT.  This must be inlined in a function which
yann@1282
    87
    uses global data.  */
yann@1282
    88
-static __inline__ Elf32_Addr elf_machine_dynamic(void)
yann@1282
    89
+static __always_inline Elf32_Addr elf_machine_dynamic(void)
yann@1282
    90
 {
yann@1282
    91
 	register Elf32_Addr *got;
yann@1282
    92
 
yann@1282
    93
@@ -70,7 +70,7 @@ static __inline__ Elf32_Addr elf_machine
yann@1282
    94
 }
yann@1282
    95
 
yann@1282
    96
 /* Return the run-time load address of the shared object.  */
yann@1282
    97
-static __inline__ Elf32_Addr elf_machine_load_address(void)
yann@1282
    98
+static __always_inline Elf32_Addr elf_machine_load_address(void)
yann@1282
    99
 {
yann@1282
   100
 	Elf32_Addr addr;
yann@1282
   101
 
yann@1282
   102
@@ -123,7 +123,7 @@ static __inline__ Elf32_Addr elf_machine
yann@1282
   103
 	}						\
yann@1282
   104
 }
yann@1282
   105
 
yann@1282
   106
-static __inline__ void
yann@1282
   107
+static __always_inline void
yann@1282
   108
 elf_machine_relative(Elf32_Addr load_off, const Elf32_Addr rel_addr,
yann@1282
   109
 		     Elf32_Word relative_count)
yann@1282
   110
 {
yann@1282
   111
Index: uClibc-0.9.30.1/ldso/ldso/m68k/dl-sysdep.h
yann@1282
   112
===================================================================
yann@1282
   113
--- uClibc-0.9.30.1/ldso/ldso/m68k/dl-sysdep.h	(revision 25503)
yann@1282
   114
+++ uClibc-0.9.30.1/ldso/ldso/m68k/dl-sysdep.h	(working copy)
yann@1282
   115
@@ -41,7 +41,7 @@ extern unsigned long _dl_linux_resolver 
yann@1282
   116
 /* Return the link-time address of _DYNAMIC.  Conveniently, this is the
yann@1282
   117
    first element of the GOT.  This must be inlined in a function which
yann@1282
   118
    uses global data.  */
yann@1282
   119
-static __inline__ Elf32_Addr
yann@1282
   120
+static __always_inline Elf32_Addr
yann@1282
   121
 elf_machine_dynamic (void)
yann@1282
   122
 {
yann@1282
   123
 	register Elf32_Addr *got __asm__ ("%a5");
yann@1282
   124
@@ -50,7 +50,7 @@ elf_machine_dynamic (void)
yann@1282
   125
 
yann@1282
   126
 
yann@1282
   127
 /* Return the run-time load address of the shared object.  */
yann@1282
   128
-static __inline__ Elf32_Addr
yann@1282
   129
+static __always_inline Elf32_Addr
yann@1282
   130
 elf_machine_load_address (void)
yann@1282
   131
 {
yann@1282
   132
 	Elf32_Addr addr;
yann@1282
   133
@@ -60,7 +60,7 @@ elf_machine_load_address (void)
yann@1282
   134
 	return addr;
yann@1282
   135
 }
yann@1282
   136
 
yann@1282
   137
-static __inline__ void
yann@1282
   138
+static __always_inline void
yann@1282
   139
 elf_machine_relative (Elf32_Addr load_off, const Elf32_Addr rel_addr,
yann@1282
   140
 		      Elf32_Word relative_count)
yann@1282
   141
 {
yann@1282
   142
Index: uClibc-0.9.30.1/ldso/ldso/i386/dl-sysdep.h
yann@1282
   143
===================================================================
yann@1282
   144
--- uClibc-0.9.30.1/ldso/ldso/i386/dl-sysdep.h	(revision 25503)
yann@1282
   145
+++ uClibc-0.9.30.1/ldso/ldso/i386/dl-sysdep.h	(working copy)
yann@1282
   146
@@ -42,8 +42,8 @@ extern unsigned long _dl_linux_resolver(
yann@1282
   147
 /* Return the link-time address of _DYNAMIC.  Conveniently, this is the
yann@1282
   148
    first element of the GOT.  This must be inlined in a function which
yann@1282
   149
    uses global data.  */
yann@1282
   150
-static __inline__ Elf32_Addr elf_machine_dynamic (void) attribute_unused;
yann@1282
   151
-static __inline__ Elf32_Addr
yann@1282
   152
+static __always_inline Elf32_Addr elf_machine_dynamic (void) attribute_unused;
yann@1282
   153
+static __always_inline Elf32_Addr
yann@1282
   154
 elf_machine_dynamic (void)
yann@1282
   155
 {
yann@1282
   156
 	register Elf32_Addr *got __asm__ ("%ebx");
yann@1282
   157
@@ -52,8 +52,8 @@ elf_machine_dynamic (void)
yann@1282
   158
 
yann@1282
   159
 
yann@1282
   160
 /* Return the run-time load address of the shared object.  */
yann@1282
   161
-static __inline__ Elf32_Addr elf_machine_load_address (void) attribute_unused;
yann@1282
   162
-static __inline__ Elf32_Addr
yann@1282
   163
+static __always_inline Elf32_Addr elf_machine_load_address (void) attribute_unused;
yann@1282
   164
+static __always_inline Elf32_Addr
yann@1282
   165
 elf_machine_load_address (void)
yann@1282
   166
 {
yann@1282
   167
 	/* It doesn't matter what variable this is, the reference never makes
yann@1282
   168
@@ -66,7 +66,7 @@ elf_machine_load_address (void)
yann@1282
   169
 	return addr;
yann@1282
   170
 }
yann@1282
   171
 
yann@1282
   172
-static __inline__ void
yann@1282
   173
+static __always_inline void
yann@1282
   174
 elf_machine_relative (Elf32_Addr load_off, const Elf32_Addr rel_addr,
yann@1282
   175
 		      Elf32_Word relative_count)
yann@1282
   176
 {
yann@1282
   177
Index: uClibc-0.9.30.1/ldso/ldso/cris/dl-sysdep.h
yann@1282
   178
===================================================================
yann@1282
   179
--- uClibc-0.9.30.1/ldso/ldso/cris/dl-sysdep.h	(revision 25503)
yann@1282
   180
+++ uClibc-0.9.30.1/ldso/ldso/cris/dl-sysdep.h	(working copy)
yann@1282
   181
@@ -39,7 +39,7 @@ extern unsigned long _dl_linux_resolver(
yann@1282
   182
      || ((type) == R_CRIS_GLOB_DAT)) * ELF_RTYPE_CLASS_PLT)	\
yann@1282
   183
    | (((type) == R_CRIS_COPY) * ELF_RTYPE_CLASS_COPY))
yann@1282
   184
 
yann@1282
   185
-static __inline__ Elf32_Addr
yann@1282
   186
+static __always_inline Elf32_Addr
yann@1282
   187
 elf_machine_dynamic(void)
yann@1282
   188
 {
yann@1282
   189
 	/* Don't just set this to an asm variable "r0" since that's not logical
yann@1282
   190
@@ -61,7 +61,7 @@ elf_machine_dynamic(void)
yann@1282
   191
    there's some other symbol we could use, that we don't *have* to force a
yann@1282
   192
    GOT entry for.  */
yann@1282
   193
 
yann@1282
   194
-static __inline__ Elf32_Addr
yann@1282
   195
+static __always_inline Elf32_Addr
yann@1282
   196
 elf_machine_load_address(void)
yann@1282
   197
 {
yann@1282
   198
 	Elf32_Addr gotaddr_diff;
yann@1282
   199
@@ -95,7 +95,7 @@ elf_machine_load_address(void)
yann@1282
   200
 	return gotaddr_diff;
yann@1282
   201
 }
yann@1282
   202
 
yann@1282
   203
-static __inline__ void
yann@1282
   204
+static __always_inline void
yann@1282
   205
 elf_machine_relative(Elf32_Addr load_off, const Elf32_Addr rel_addr,
yann@1282
   206
                      Elf32_Word relative_count)
yann@1282
   207
 {
yann@1282
   208
Index: uClibc-0.9.30.1/ldso/ldso/xtensa/dl-sysdep.h
yann@1282
   209
===================================================================
yann@1282
   210
--- uClibc-0.9.30.1/ldso/ldso/xtensa/dl-sysdep.h	(revision 25503)
yann@1282
   211
+++ uClibc-0.9.30.1/ldso/ldso/xtensa/dl-sysdep.h	(working copy)
yann@1282
   212
@@ -87,7 +87,7 @@ extern unsigned long _dl_linux_resolver 
yann@1282
   213
   (((type) == R_XTENSA_JMP_SLOT) * ELF_RTYPE_CLASS_PLT)
yann@1282
   214
 
yann@1282
   215
 /* Return the link-time address of _DYNAMIC.  */
yann@1282
   216
-static __inline__ Elf32_Addr
yann@1282
   217
+static __always_inline Elf32_Addr
yann@1282
   218
 elf_machine_dynamic (void)
yann@1282
   219
 {
yann@1282
   220
   /* This function is only used while bootstrapping the runtime linker.
yann@1282
   221
@@ -97,7 +97,7 @@ elf_machine_dynamic (void)
yann@1282
   222
 }
yann@1282
   223
 
yann@1282
   224
 /* Return the run-time load address of the shared object.  */
yann@1282
   225
-static __inline__ Elf32_Addr
yann@1282
   226
+static __always_inline Elf32_Addr
yann@1282
   227
 elf_machine_load_address (void)
yann@1282
   228
 {
yann@1282
   229
   Elf32_Addr addr, tmp;
yann@1282
   230
@@ -118,7 +118,7 @@ elf_machine_load_address (void)
yann@1282
   231
   return addr - 3;
yann@1282
   232
 }
yann@1282
   233
 
yann@1282
   234
-static __inline__ void
yann@1282
   235
+static __always_inline void
yann@1282
   236
 elf_machine_relative (Elf32_Addr load_off, const Elf32_Addr rel_addr,
yann@1282
   237
 		      Elf32_Word relative_count)
yann@1282
   238
 {
yann@1282
   239
Index: uClibc-0.9.30.1/ldso/ldso/sparc/dl-sysdep.h
yann@1282
   240
===================================================================
yann@1282
   241
--- uClibc-0.9.30.1/ldso/ldso/sparc/dl-sysdep.h	(revision 25503)
yann@1282
   242
+++ uClibc-0.9.30.1/ldso/ldso/sparc/dl-sysdep.h	(working copy)
yann@1282
   243
@@ -49,7 +49,7 @@ unsigned long _dl_linux_resolver(struct 
yann@1282
   244
 
yann@1282
   245
 #ifndef COMPILE_ASM
yann@1282
   246
 /* Cheap modulo implementation, taken from arm/ld_sysdep.h. */
yann@1282
   247
-static __inline__ unsigned long
yann@1282
   248
+static __always_inline unsigned long
yann@1282
   249
 sparc_mod(unsigned long m, unsigned long p)
yann@1282
   250
 {
yann@1282
   251
 	unsigned long i, t, inc;
yann@1282
   252
@@ -127,7 +127,7 @@ do {    register Elf32_Addr pc __asm__("
yann@1282
   253
 /* Return the link-time address of _DYNAMIC.  Conveniently, this is the
yann@1282
   254
    first element of the GOT.  This must be inlined in a function which
yann@1282
   255
    uses global data.  */
yann@1282
   256
-static __inline__ Elf32_Addr
yann@1282
   257
+static __always_inline Elf32_Addr
yann@1282
   258
 elf_machine_dynamic (void)
yann@1282
   259
 {
yann@1282
   260
 	register Elf32_Addr *got __asm__ ("%l7");
yann@1282
   261
@@ -138,7 +138,7 @@ elf_machine_dynamic (void)
yann@1282
   262
 }
yann@1282
   263
 
yann@1282
   264
 /* Return the run-time load address of the shared object.  */
yann@1282
   265
-static __inline__ Elf32_Addr
yann@1282
   266
+static __always_inline Elf32_Addr
yann@1282
   267
 elf_machine_load_address (void)
yann@1282
   268
 {
yann@1282
   269
 	register Elf32_Addr *pc __asm__ ("%o7"), *got __asm__ ("%l7");
yann@1282
   270
@@ -157,7 +157,7 @@ elf_machine_load_address (void)
yann@1282
   271
 	return (Elf32_Addr) got - *got + (pc[2] - pc[3]) * 4 - 4;
yann@1282
   272
 }
yann@1282
   273
 
yann@1282
   274
-static __inline__ void
yann@1282
   275
+static __always_inline void
yann@1282
   276
 elf_machine_relative (Elf32_Addr load_off, const Elf32_Addr rel_addr,
yann@1282
   277
 		      Elf32_Word relative_count)
yann@1282
   278
 {
yann@1282
   279
Index: uClibc-0.9.30.1/ldso/ldso/mips/dl-sysdep.h
yann@1282
   280
===================================================================
yann@1282
   281
--- uClibc-0.9.30.1/ldso/ldso/mips/dl-sysdep.h	(revision 25503)
yann@1282
   282
+++ uClibc-0.9.30.1/ldso/ldso/mips/dl-sysdep.h	(working copy)
yann@1282
   283
@@ -163,7 +163,7 @@ void _dl_perform_mips_global_got_relocat
yann@1282
   284
 
yann@1282
   285
 #define OFFSET_GP_GOT 0x7ff0
yann@1282
   286
 
yann@1282
   287
-static __inline__ ElfW(Addr) *
yann@1282
   288
+static __always_inline ElfW(Addr) *
yann@1282
   289
 elf_mips_got_from_gpreg (ElfW(Addr) gpreg)
yann@1282
   290
 {
yann@1282
   291
 	/* FIXME: the offset of gp from GOT may be system-dependent. */
yann@1282
   292
@@ -173,7 +173,7 @@ elf_mips_got_from_gpreg (ElfW(Addr) gpre
yann@1282
   293
 /* Return the link-time address of _DYNAMIC.  Conveniently, this is the
yann@1282
   294
    first element of the GOT.  This must be inlined in a function which
yann@1282
   295
    uses global data.  We assume its $gp points to the primary GOT.  */
yann@1282
   296
-static __inline__ ElfW(Addr)
yann@1282
   297
+static __always_inline ElfW(Addr)
yann@1282
   298
 elf_machine_dynamic (void)
yann@1282
   299
 {
yann@1282
   300
 	register ElfW(Addr) gp __asm__ ("$28");
yann@1282
   301
@@ -192,7 +192,7 @@ elf_machine_dynamic (void)
yann@1282
   302
 #endif
yann@1282
   303
 
yann@1282
   304
 /* Return the run-time load address of the shared object.  */
yann@1282
   305
-static __inline__ ElfW(Addr)
yann@1282
   306
+static __always_inline ElfW(Addr)
yann@1282
   307
 elf_machine_load_address (void)
yann@1282
   308
 {
yann@1282
   309
 	ElfW(Addr) addr;
yann@1282
   310
@@ -208,7 +208,7 @@ elf_machine_load_address (void)
yann@1282
   311
 	return addr;
yann@1282
   312
 }
yann@1282
   313
 
yann@1282
   314
-static __inline__ void
yann@1282
   315
+static __always_inline void
yann@1282
   316
 elf_machine_relative (ElfW(Addr) load_off, const ElfW(Addr) rel_addr,
yann@1282
   317
 		      ElfW(Word) relative_count)
yann@1282
   318
 {
yann@1282
   319
Index: uClibc-0.9.30.1/ldso/ldso/sh/dl-sysdep.h
yann@1282
   320
===================================================================
yann@1282
   321
--- uClibc-0.9.30.1/ldso/ldso/sh/dl-sysdep.h	(revision 25503)
yann@1282
   322
+++ uClibc-0.9.30.1/ldso/ldso/sh/dl-sysdep.h	(working copy)
yann@1282
   323
@@ -25,7 +25,7 @@
yann@1282
   324
 struct elf_resolve;
yann@1282
   325
 extern unsigned long _dl_linux_resolver(struct elf_resolve * tpnt, int reloc_entry);
yann@1282
   326
 
yann@1282
   327
-static __inline__ unsigned int
yann@1282
   328
+static __always_inline unsigned int
yann@1282
   329
 _dl_urem(unsigned int n, unsigned int base)
yann@1282
   330
 {
yann@1282
   331
   int res;
yann@1282
   332
@@ -100,7 +100,7 @@ _dl_urem(unsigned int n, unsigned int ba
yann@1282
   333
 /* Return the link-time address of _DYNAMIC.  Conveniently, this is the
yann@1282
   334
    first element of the GOT.  This must be inlined in a function which
yann@1282
   335
    uses global data.  */
yann@1282
   336
-static __inline__ Elf32_Addr __attribute__ ((unused))
yann@1282
   337
+static __always_inline Elf32_Addr __attribute__ ((unused))
yann@1282
   338
 elf_machine_dynamic (void)
yann@1282
   339
 {
yann@1282
   340
 	register Elf32_Addr *got;
yann@1282
   341
@@ -109,7 +109,7 @@ elf_machine_dynamic (void)
yann@1282
   342
 }
yann@1282
   343
 
yann@1282
   344
 /* Return the run-time load address of the shared object.  */
yann@1282
   345
-static __inline__ Elf32_Addr __attribute__ ((unused))
yann@1282
   346
+static __always_inline Elf32_Addr __attribute__ ((unused))
yann@1282
   347
 elf_machine_load_address (void)
yann@1282
   348
 {
yann@1282
   349
 	Elf32_Addr addr;
yann@1282
   350
@@ -151,7 +151,7 @@ elf_machine_load_address (void)
yann@1282
   351
     } \
yann@1282
   352
   }
yann@1282
   353
 
yann@1282
   354
-static __inline__ void
yann@1282
   355
+static __always_inline void
yann@1282
   356
 elf_machine_relative (Elf32_Addr load_off, const Elf32_Addr rel_addr,
yann@1282
   357
 		      Elf32_Word relative_count)
yann@1282
   358
 {
yann@1282
   359
Index: uClibc-0.9.30.1/ldso/ldso/bfin/dl-sysdep.h
yann@1282
   360
===================================================================
yann@1282
   361
--- uClibc-0.9.30.1/ldso/ldso/bfin/dl-sysdep.h	(revision 25503)
yann@1282
   362
+++ uClibc-0.9.30.1/ldso/ldso/bfin/dl-sysdep.h	(working copy)
yann@1282
   363
@@ -213,7 +213,7 @@ while (0)
yann@1282
   364
 #endif
yann@1282
   365
 
yann@1282
   366
 #include <elf.h>
yann@1282
   367
-static __inline__ void
yann@1282
   368
+static __always_inline void
yann@1282
   369
 elf_machine_relative (DL_LOADADDR_TYPE load_off, const Elf32_Addr rel_addr,
yann@1282
   370
 		      Elf32_Word relative_count)
yann@1282
   371
 {