summaryrefslogtreecommitdiff
path: root/libc/ports/sysdeps/am33/dl-machine.h
diff options
context:
space:
mode:
Diffstat (limited to 'libc/ports/sysdeps/am33/dl-machine.h')
-rw-r--r--libc/ports/sysdeps/am33/dl-machine.h8
1 files changed, 3 insertions, 5 deletions
diff --git a/libc/ports/sysdeps/am33/dl-machine.h b/libc/ports/sysdeps/am33/dl-machine.h
index 2db27378d..924319d03 100644
--- a/libc/ports/sysdeps/am33/dl-machine.h
+++ b/libc/ports/sysdeps/am33/dl-machine.h
@@ -55,16 +55,14 @@ elf_machine_load_address (void)
return off + gotaddr - gotval;
}
-#if !defined PROF && !__BOUNDED_POINTERS__
+#ifndef PROF
/* We add a declaration of this function here so that in dl-runtime.c
the ELF_MACHINE_RUNTIME_TRAMPOLINE macro really can pass the parameters
in registers.
We cannot use this scheme for profiling because the _mcount call
destroys the passed register information. */
-/* GKM FIXME: Fix trampoline to pass bounds so we can do
- without the `__unbounded' qualifier. */
-static ElfW(Addr) fixup (struct link_map *__unbounded l, ElfW(Word) reloc_offset)
+static ElfW(Addr) fixup (struct link_map *l, ElfW(Word) reloc_offset)
__attribute__ ((unused));
static ElfW(Addr) profile_fixup (struct link_map *l, ElfW(Word) reloc_offset,
ElfW(Addr) retaddr)
@@ -116,7 +114,7 @@ elf_machine_runtime_setup (struct link_map *l, int lazy, int profile)
/* This code is used in dl-runtime.c to call the `fixup' function
and then redirect to the address it returns. */
-#if !defined PROF && !__BOUNDED_POINTERS__
+#ifndef PROF
# define ELF_MACHINE_RUNTIME_TRAMPOLINE asm ("\
.text\n\
.globl _dl_runtime_resolve\n\