[PATCH] ARM_DEBUGOVERLAY and ARM_OVERLAYSECTION for readelf

Nick Clifton nickc@redhat.com
Mon Aug 10 14:27:00 GMT 2009


Hi Daniel,

>     binutils/
>     * readelf.c (get_arm_section_type_name): Added support for
>     new sections headers.
> 
>     include/elf
>     * arm.h: (SHT_ARM_DEBUGOVERLAY): New define.
>     (SHT_ARM_OVERLAYSECTION): New define.

Approved - please apply - but...

...Did you mean to include the definitions of SHT_ARM_EXIDX, PREEMPTMAP 
and ATTRIBUTES twice in include/elf/arm.h: ?

  /* Additional section types.  */
-#define SHT_ARM_EXIDX	   0x70000001	/* Section holds ARM unwind info.  */
-#define SHT_ARM_PREEMPTMAP 0x70000002	/* Section pre-emption details.  */
-#define SHT_ARM_ATTRIBUTES 0x70000003	/* Section holds attributes.  */
+#define SHT_ARM_EXIDX	       0x70000001	/* Section holds ARM unwind 
info.  */
+#define SHT_ARM_PREEMPTMAP     0x70000002	/* Section pre-emption 
details.  */
+#define SHT_ARM_ATTRIBUTES     0x70000003	/* Section holds attributes.  */
+#define SHT_ARM_EXIDX          0x70000001	/* Section holds ARM unwind 
info.  */
+#define SHT_ARM_PREEMPTMAP     0x70000002	/* Section pre-emption 
details.  */
+#define SHT_ARM_ATTRIBUTES     0x70000003	/* Section holds attributes.  */
+#define SHT_ARM_DEBUGOVERLAY   0x70000004	/* Section holds overlay 
debug info.  */
+#define SHT_ARM_OVERLAYSECTION 0x70000005	/* Section holds GDB and 
overlay integration info.  */

Cheers
   Nick



More information about the Binutils mailing list