summaryrefslogtreecommitdiff
path: root/backends/aarch64_reloc.def
diff options
context:
space:
mode:
authorMark Wielaard <mjw@redhat.com>2015-03-09 22:43:08 +0100
committerMark Wielaard <mjw@redhat.com>2015-03-13 09:41:25 +0100
commitcbf25bb674320ad595707d2592799381979d85f3 (patch)
tree84682eb2c7e60a5ac3e36b00a18f99907af94da3 /backends/aarch64_reloc.def
parentae9aa3e4b2853d58598a6928eb1dbaacf6488496 (diff)
downloadelfutils-cbf25bb674320ad595707d2592799381979d85f3.tar.gz
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 <mjw@redhat.com>
Diffstat (limited to 'backends/aarch64_reloc.def')
-rw-r--r--backends/aarch64_reloc.def4
1 files changed, 2 insertions, 2 deletions
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)