diff options
author | Hans-Christian Egtvedt <hans-christian.egtvedt@atmel.com> | 2008-11-03 15:52:38 +0000 |
---|---|---|
committer | Hans-Christian Egtvedt <hans-christian.egtvedt@atmel.com> | 2008-11-03 15:52:38 +0000 |
commit | 5256c66e2894d45bb9d16cd500f2c18d460a6153 (patch) | |
tree | f06f85fa8a32b60073f7fa584fb10f978b4e729b | |
parent | 8a040b9b47081e2a1dde565b97dd81a191b41c01 (diff) |
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>
-rw-r--r-- | ldso/ldso/avr32/dl-sysdep.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/ldso/ldso/avr32/dl-sysdep.h b/ldso/ldso/avr32/dl-sysdep.h index 5ee110101..0d20e9e3e 100644 --- a/ldso/ldso/avr32/dl-sysdep.h +++ b/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) { |