summaryrefslogtreecommitdiffstats
path: root/backends/ppc_symbol.c
diff options
context:
space:
mode:
authorAndreas Schwab <[email protected]>2016-02-26 15:47:21 +0100
committerMark Wielaard <[email protected]>2016-02-26 19:43:53 +0100
commitd1d4db68eb441ae67864be209a0679cbc86189c5 (patch)
treed36ccc64352b4cbfcf466ce0faea6c08657578e2 /backends/ppc_symbol.c
parent7802e6e57d48189e339b4ab40189eb44d8123559 (diff)
Add support for DT_PPC_OPT
https://sourceware.org/ml/binutils/2013-10/msg00378.html Signed-off-by: Andreas Schwab <[email protected]>
Diffstat (limited to 'backends/ppc_symbol.c')
-rw-r--r--backends/ppc_symbol.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/backends/ppc_symbol.c b/backends/ppc_symbol.c
index 37d49182..1273c1d2 100644
--- a/backends/ppc_symbol.c
+++ b/backends/ppc_symbol.c
@@ -65,6 +65,8 @@ ppc_dynamic_tag_name (int64_t tag, char *buf __attribute__ ((unused)),
{
case DT_PPC_GOT:
return "PPC_GOT";
+ case DT_PPC_OPT:
+ return "PPC_OPT";
default:
break;
}
@@ -75,7 +77,8 @@ ppc_dynamic_tag_name (int64_t tag, char *buf __attribute__ ((unused)),
bool
ppc_dynamic_tag_check (int64_t tag)
{
- return tag == DT_PPC_GOT;
+ return (tag == DT_PPC_GOT
+ || tag == DT_PPC_OPT);
}