diff options
-rw-r--r-- | backends/ChangeLog | 5 | ||||
-rw-r--r-- | backends/ppc_symbol.c | 5 |
2 files changed, 9 insertions, 1 deletions
diff --git a/backends/ChangeLog b/backends/ChangeLog index d2222663..207a8889 100644 --- a/backends/ChangeLog +++ b/backends/ChangeLog @@ -1,3 +1,8 @@ +2016-02-26 Andreas Schwab <schwab@suse.de> + + * ppc_symbol.c (ppc_dynamic_tag_name): Add DT_PPC_OPT. + (ppc_dynamic_tag_check): Likewise. + 2015-12-28 Mark Wielaard <mjw@redhat.com> * i386_reloc.def: Add GOT32X. 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); } |