From 2bdd4ca6b6c38367e301042c2247395568c63ebd Mon Sep 17 00:00:00 2001 From: Joseph Myers Date: Fri, 15 Feb 2013 00:51:53 +0000 Subject: Remove miscellaneous bounded-pointers relics in C code. --- ports/ChangeLog.am33 | 6 ++++++ ports/sysdeps/am33/dl-machine.h | 4 ++-- 2 files changed, 8 insertions(+), 2 deletions(-) (limited to 'ports') diff --git a/ports/ChangeLog.am33 b/ports/ChangeLog.am33 index 15138e336a..2e5c0caac0 100644 --- a/ports/ChangeLog.am33 +++ b/ports/ChangeLog.am33 @@ -1,3 +1,9 @@ +2013-02-14 Joseph Myers + + [BZ #13550] + * sysdeps/am33/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]: + Remove __BOUNDED_POINTERS__ from condition. + 2013-02-13 Joseph Myers [BZ #13550] diff --git a/ports/sysdeps/am33/dl-machine.h b/ports/sysdeps/am33/dl-machine.h index f22fee875e..924319d039 100644 --- a/ports/sysdeps/am33/dl-machine.h +++ b/ports/sysdeps/am33/dl-machine.h @@ -55,7 +55,7 @@ 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. @@ -114,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\ -- cgit v1.2.3