aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2000-07-20 02:19:23 +0000
committerH.J. Lu <hjl.tools@gmail.com>2000-07-20 02:19:23 +0000
commit36a30e65ca075ab7fc28b32419ae5c4bc1dc4726 (patch)
treee5a801e535e2e66d2a2c7241e10a3642c7a50d96
parentb56f55ce04b49900252128472486632d04fb4e62 (diff)
downloadbinutils-36a30e65ca075ab7fc28b32419ae5c4bc1dc4726.zip
binutils-36a30e65ca075ab7fc28b32419ae5c4bc1dc4726.tar.gz
binutils-36a30e65ca075ab7fc28b32419ae5c4bc1dc4726.tar.bz2
2000-07-19 H.J. Lu <hjl@gnu.org>
* elf.c (_bfd_elf_print_private_bfd_data): Handle DT_CONFIG, DT_DEPAUDIT and DT_AUDIT as strings.
-rw-r--r--bfd/ChangeLog5
-rw-r--r--bfd/elf.c6
2 files changed, 8 insertions, 3 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog
index 612249f..9836baf 100644
--- a/bfd/ChangeLog
+++ b/bfd/ChangeLog
@@ -1,3 +1,8 @@
+2000-07-19 H.J. Lu <hjl@gnu.org>
+
+ * elf.c (_bfd_elf_print_private_bfd_data): Handle DT_CONFIG,
+ DT_DEPAUDIT and DT_AUDIT as strings.
+
2000-07-19 Nick Clifton <nickc@cygnus.com>
* format.c: Fix formatting.
diff --git a/bfd/elf.c b/bfd/elf.c
index d146ab9..523dd34 100644
--- a/bfd/elf.c
+++ b/bfd/elf.c
@@ -674,9 +674,9 @@ _bfd_elf_print_private_bfd_data (abfd, farg)
case DT_POSFLAG_1: name = "POSFLAG_1"; break;
case DT_SYMINSZ: name = "SYMINSZ"; break;
case DT_SYMINENT: name = "SYMINENT"; break;
- case DT_CONFIG: name = "CONFIG"; break;
- case DT_DEPAUDIT: name = "DEPAUDIT"; break;
- case DT_AUDIT: name = "AUDIT"; break;
+ case DT_CONFIG: name = "CONFIG"; stringp = true; break;
+ case DT_DEPAUDIT: name = "DEPAUDIT"; stringp = true; break;
+ case DT_AUDIT: name = "AUDIT"; stringp = true; break;
case DT_PLTPAD: name = "PLTPAD"; break;
case DT_MOVETAB: name = "MOVETAB"; break;
case DT_SYMINFO: name = "SYMINFO"; break;