aboutsummaryrefslogtreecommitdiff
path: root/binutils/readelf.c
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2002-12-10 17:48:27 +0000
committerNick Clifton <nickc@redhat.com>2002-12-10 17:48:27 +0000
commit84ad6ede873e50111c8e64728ae858d079339002 (patch)
tree4af9528a1b5399f31dc021743cf8fd60a1a77ee9 /binutils/readelf.c
parente6af3a53b1740fb6554ac582fd7ac74022dff8c2 (diff)
downloadgdb-84ad6ede873e50111c8e64728ae858d079339002.zip
gdb-84ad6ede873e50111c8e64728ae858d079339002.tar.gz
gdb-84ad6ede873e50111c8e64728ae858d079339002.tar.bz2
Add support for displaying extension to DWARF2 used by Unified Parallel C
compiler.
Diffstat (limited to 'binutils/readelf.c')
-rw-r--r--binutils/readelf.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/binutils/readelf.c b/binutils/readelf.c
index 6a5732a..461d63f 100644
--- a/binutils/readelf.c
+++ b/binutils/readelf.c
@@ -6735,6 +6735,10 @@ get_TAG_name (tag)
case DW_TAG_unspecified_type: return "DW_TAG_unspecified_type";
case DW_TAG_partial_unit: return "DW_TAG_partial_unit";
case DW_TAG_imported_unit: return "DW_TAG_imported_unit";
+ /* UPC values. */
+ case DW_TAG_upc_shared_type: return "DW_TAG_upc_shared_type";
+ case DW_TAG_upc_strict_type: return "DW_TAG_upc_strict_type";
+ case DW_TAG_upc_relaxed_type: return "DW_TAG_upc_relaxed_type";
default:
{
static char buffer[100];
@@ -6847,6 +6851,8 @@ get_AT_name (attribute)
case DW_AT_body_begin: return "DW_AT_body_begin";
case DW_AT_body_end: return "DW_AT_body_end";
case DW_AT_GNU_vector: return "DW_AT_GNU_vector";
+ /* UPC extension. */
+ case DW_AT_upc_threads_scaled: return "DW_AT_upc_threads_scaled";
default:
{
static char buffer[100];
@@ -7933,6 +7939,8 @@ read_and_display_attr_value (attribute, form, data, cu_offset, pointer_size)
case DW_LANG_Fortran95: printf ("(Fortran 95)"); break;
/* MIPS extension. */
case DW_LANG_Mips_Assembler: printf ("(MIPS assembler)"); break;
+ /* UPC extension. */
+ case DW_LANG_Upc: printf ("(Unified Parallel C)"); break;
default:
printf ("(Unknown: %lx)", uvalue);
break;