Selaa lähdekoodia

Make sure functions in dl-sysdep.h for AVR32 are always inlined

Replace __inline__ with __always_inline.

Signed-off-by: Hans-Christian Egtvedt <hans-christian.egtvedt@atmel.com>
Hans-Christian Egtvedt 17 vuotta sitten
vanhempi
commit
5256c66e28
1 muutettua tiedostoa jossa 3 lisäystä ja 3 poistoa
  1. 3 3
      ldso/ldso/avr32/dl-sysdep.h

+ 3 - 3
ldso/ldso/avr32/dl-sysdep.h

@@ -60,7 +60,7 @@ unsigned long _dl_linux_resolver(unsigned long got_offset, unsigned long *got);
 /* Return the link-time address of _DYNAMIC.  Conveniently, this is the
    first element of the GOT.  This must be inlined in a function which
    uses global data.  */
-static __inline__ Elf32_Addr
+static __always_inline Elf32_Addr
 elf_machine_dynamic (void)
 {
 	register Elf32_Addr *got __asm__("r6");
@@ -68,7 +68,7 @@ elf_machine_dynamic (void)
 }
 
 /* Return the run-time load address of the shared object.  */
-static __inline__ Elf32_Addr
+static __always_inline Elf32_Addr
 elf_machine_load_address (void)
 {
 	extern void __dl_start __asm__("_dl_start");
@@ -91,7 +91,7 @@ elf_machine_load_address (void)
  * Currently, we don't use that tag, but we might in the future as
  * this would reduce the startup time somewhat (although probably not by much).
  */
-static __inline__ void
+static __always_inline void
 elf_machine_relative (Elf32_Addr load_off, const Elf32_Addr rel_addr,
 		      Elf32_Word relative_count)
 {