* readelf.c (get_ppc_dynamic_type): New function for DT_PPC_GLINK.
authorAlan Modra <amodra@gmail.com>
Wed, 11 May 2005 14:10:59 +0000 (14:10 +0000)
committerAlan Modra <amodra@gmail.com>
Wed, 11 May 2005 14:10:59 +0000 (14:10 +0000)
(get_dynamic_type): Call the above.

binutils/ChangeLog
binutils/readelf.c

index b6dff3e6ac7c07b8c6460c69f98ca8a94b1fd2ed..ac2913aa7221e0cab853d1b5fb4c2c1f026c48c1 100644 (file)
@@ -1,3 +1,8 @@
+2005-05-11  Alan Modra  <amodra@bigpond.net.au>
+
+       * readelf.c (get_ppc_dynamic_type): New function for DT_PPC_GLINK.
+       (get_dynamic_type): Call the above.
+
 2005-05-07  Nick Clifton  <nickc@redhat.com>
 
        * Update the address and phone number of the FSF organization in
@@ -77,7 +82,7 @@
        PR872
        * objcopy.c (copy_archive): Initialise 'obfd' field of new
        name_list structure.
-       
+
        * objcopy.c (copy_usage): Fix description of -K switch.
 
        * doc/binutils.texi (strip, objcopy): Fix description of -K
        * doc/binutils.texi: Document new VAX disassembler-specific option
        -M entry:0xfooba8.
        * NEWS: Mention the new option.
-       
+
 2005-03-29  Anil Paranjpe  <anilp1@kpitcummins.com>
 
        * MAINTAINERS: Add myself as H8300 maintainer.
 
 2005-03-24  Dmitry Diky   <diwil@spec.ru>
 
-       * MAINTAINERS: Add myself as MSP430 maintainer. 
+       * MAINTAINERS: Add myself as MSP430 maintainer.
 
 2005-03-23  Nick Clifton  <nickc@redhat.com>
 
        * configure: Regenerate.
 
 2005-03-15  Daniel Marques  <marques@cs.cornell.edu>
-            Nick Clifton  <nickc@redhat.com>
+           Nick Clifton  <nickc@redhat.com>
 
        * objcopy.c (globalize_specific_list): New linked list of symbols
        to convert from local binding into global binding.
index 715b830aa061856f760030279f133ccbeb02f6d1..9b83f08229cbed15a73b5abe2c2782ddee5c91a1 100644 (file)
@@ -1412,6 +1412,17 @@ get_sparc64_dynamic_type (unsigned long type)
     }
 }
 
+static const char *
+get_ppc_dynamic_type (unsigned long type)
+{
+  switch (type)
+    {
+    case DT_PPC_GLINK: return "PPC_GLINK";
+    default:
+      return NULL;
+    }
+}
+
 static const char *
 get_ppc64_dynamic_type (unsigned long type)
 {
@@ -1552,6 +1563,9 @@ get_dynamic_type (unsigned long type)
            case EM_SPARCV9:
              result = get_sparc64_dynamic_type (type);
              break;
+           case EM_PPC:
+             result = get_ppc_dynamic_type (type);
+             break;
            case EM_PPC64:
              result = get_ppc64_dynamic_type (type);
              break;
This page took 0.031862 seconds and 4 git commands to generate.