diff options
| author | Mark Wielaard <[email protected]> | 2015-03-09 22:43:08 +0100 |
|---|---|---|
| committer | Mark Wielaard <[email protected]> | 2015-03-13 09:41:25 +0100 |
| commit | cbf25bb674320ad595707d2592799381979d85f3 (patch) | |
| tree | 84682eb2c7e60a5ac3e36b00a18f99907af94da3 /backends/tilegx_reloc.def | |
| parent | ae9aa3e4b2853d58598a6928eb1dbaacf6488496 (diff) | |
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 <[email protected]>
Diffstat (limited to 'backends/tilegx_reloc.def')
| -rw-r--r-- | backends/tilegx_reloc.def | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/backends/tilegx_reloc.def b/backends/tilegx_reloc.def index 9736286e..1018110d 100644 --- a/backends/tilegx_reloc.def +++ b/backends/tilegx_reloc.def @@ -1,5 +1,6 @@ /* List the relocation types for tilegx. -*- C -*- Copyright (C) 2012 Tilera Corporation + Copyright (C) 2015 Red Hat, Inc. This file is part of elfutils. This file is free software; you can redistribute it and/or modify @@ -44,7 +45,7 @@ RELOC_TYPE (HW3, REL) RELOC_TYPE (HW0_LAST, REL) RELOC_TYPE (HW1_LAST, REL) RELOC_TYPE (HW2_LAST, REL) -RELOC_TYPE (COPY, EXEC) +RELOC_TYPE (COPY, EXEC|DYN) RELOC_TYPE (GLOB_DAT, EXEC|DYN) RELOC_TYPE (JMP_SLOT, EXEC|DYN) RELOC_TYPE (RELATIVE, EXEC|DYN) |
