From b8b849b7a59be95b254f62677d97bb2d86273110 Mon Sep 17 00:00:00 2001 From: Roland McGrath Date: Wed, 7 Apr 2010 11:22:50 -0700 Subject: [PATCH] Accept R_ARM_PC24 and R_ARM_ABS32 in EXEC|DYN too. --- backends/ChangeLog | 4 ++++ backends/arm_reloc.def | 6 +++--- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/backends/ChangeLog b/backends/ChangeLog index f862cbd11..99d01ce06 100644 --- a/backends/ChangeLog +++ b/backends/ChangeLog @@ -1,3 +1,7 @@ +2010-04-07 Roland McGrath + + * arm_reloc.def: Accept PC24 and ABS32 in EXEC|DYN too. + 2010-03-04 Ulrich Drepper * x86_64_reloc.def: Add entries for R_X86_64_SIZE32 and diff --git a/backends/arm_reloc.def b/backends/arm_reloc.def index c5a72cc05..4dc54b7ea 100644 --- a/backends/arm_reloc.def +++ b/backends/arm_reloc.def @@ -1,5 +1,5 @@ /* List the relocation types for arm. -*- C -*- - Copyright (C) 2005 Red Hat, Inc. + Copyright (C) 2005-2010 Red Hat, Inc. This file is part of Red Hat elfutils. Red Hat elfutils is free software; you can redistribute it and/or modify @@ -26,8 +26,8 @@ /* NAME, REL|EXEC|DYN */ RELOC_TYPE (NONE, REL) /* It really is used in ET_REL on ARM. */ -RELOC_TYPE (PC24, REL) -RELOC_TYPE (ABS32, REL) +RELOC_TYPE (PC24, REL|EXEC|DYN) +RELOC_TYPE (ABS32, REL|EXEC|DYN) RELOC_TYPE (REL32, REL) RELOC_TYPE (PC13, REL) RELOC_TYPE (ABS16, REL) -- 2.47.2