summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/frv
diff options
context:
space:
mode:
authorBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2008-10-24 08:34:31 +0000
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2008-10-24 08:34:31 +0000
commit694525ec2e1ba8cd93affc352dfd149ace4fa016 (patch)
tree522d2b1dd3d1fe84dce467355851bc5794165c0f /libc/sysdeps/linux/frv
parentae549acff0899cbec32bd2a1353a99ea26d6bc00 (diff)
- tidy up inline:
ldso and syscalls are __always_inline (the latter would need more cleanup)
Diffstat (limited to 'libc/sysdeps/linux/frv')
-rw-r--r--libc/sysdeps/linux/frv/bits/elf-fdpic.h2
-rw-r--r--libc/sysdeps/linux/frv/crtreloc.c4
2 files changed, 3 insertions, 3 deletions
diff --git a/libc/sysdeps/linux/frv/bits/elf-fdpic.h b/libc/sysdeps/linux/frv/bits/elf-fdpic.h
index 905648054..b7e87b8e9 100644
--- a/libc/sysdeps/linux/frv/bits/elf-fdpic.h
+++ b/libc/sysdeps/linux/frv/bits/elf-fdpic.h
@@ -64,7 +64,7 @@ struct elf32_fdpic_loadaddr {
/* Map a pointer's VMA to its corresponding address according to the
load map. */
-inline static void *
+static __always_inline void *
__reloc_pointer (void *p,
const struct elf32_fdpic_loadmap *map)
{
diff --git a/libc/sysdeps/linux/frv/crtreloc.c b/libc/sysdeps/linux/frv/crtreloc.c
index e025b619f..ba934bc5a 100644
--- a/libc/sysdeps/linux/frv/crtreloc.c
+++ b/libc/sysdeps/linux/frv/crtreloc.c
@@ -34,7 +34,7 @@ Cambridge, MA 02139, USA. */
/* Compute the runtime address of pointer in the range [p,e), and then
map the pointer pointed by it. */
-inline static void ***
+static __always_inline void ***
reloc_range_indirect (void ***p, void ***e,
const struct elf32_fdpic_loadmap *map)
{
@@ -79,7 +79,7 @@ __self_reloc (const struct elf32_fdpic_loadmap *map,
need. */
/* Remap pointers in [p,e). */
-inline static void**
+static __always_inline void**
reloc_range (void **p, void **e,
const struct elf32_fdpic_loadmap *map)
{