From cbf25bb674320ad595707d2592799381979d85f3 Mon Sep 17 00:00:00 2001 From: Mark Wielaard Date: Mon, 9 Mar 2015 22:43:08 +0100 Subject: backends: COPY relocations can also happen in ET_DYN. In particular COPY relocations might happen in PIE executables, which are ET_DYN. Found on Fedora Rawhide with run-elflint-self.sh. Signed-off-by: Mark Wielaard --- backends/aarch64_reloc.def | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'backends/aarch64_reloc.def') diff --git a/backends/aarch64_reloc.def b/backends/aarch64_reloc.def index 36d29e65..2e16e987 100644 --- a/backends/aarch64_reloc.def +++ b/backends/aarch64_reloc.def @@ -1,5 +1,5 @@ /* List the relocation types for AArch64. -*- C -*- - Copyright (C) 2013, 2014 Red Hat, Inc. + Copyright (C) 2013, 2014, 2015 Red Hat, Inc. This file is part of elfutils. This file is free software; you can redistribute it and/or modify @@ -30,7 +30,7 @@ RELOC_TYPE (ABS64, REL|EXEC|DYN) RELOC_TYPE (ABS32, REL|EXEC|DYN) -RELOC_TYPE (COPY, EXEC) +RELOC_TYPE (COPY, EXEC|DYN) RELOC_TYPE (GLOB_DAT, EXEC|DYN) RELOC_TYPE (JUMP_SLOT, EXEC|DYN) RELOC_TYPE (RELATIVE, EXEC|DYN) -- cgit v1.2.1