Blame SOURCES/gdb-rhbz1125820-ppc64le-enablement-03of37.patch

01917d
commit 21290977cbdd41c6f4e7b297e63901ad491acadd
01917d
Author: DJ Delorie <dj@redhat.com>
01917d
Date:   Tue Aug 20 06:02:53 2013 +0000
01917d
01917d
    merge from gcc
01917d
01917d
diff --git a/include/dwarf2.def b/include/dwarf2.def
01917d
index 7fe2df1..71a37b3 100644
01917d
--- a/include/dwarf2.def
01917d
+++ b/include/dwarf2.def
01917d
@@ -390,6 +390,9 @@ DW_AT (DW_AT_GNU_ranges_base, 0x2132)
01917d
 DW_AT (DW_AT_GNU_addr_base, 0x2133)
01917d
 DW_AT (DW_AT_GNU_pubnames, 0x2134)
01917d
 DW_AT (DW_AT_GNU_pubtypes, 0x2135)
01917d
+/* Attribute for discriminator.
01917d
+   See http://gcc.gnu.org/wiki/Discriminator  */
01917d
+DW_AT (DW_AT_GNU_discriminator, 0x2136)
01917d
 /* VMS extensions.  */
01917d
 DW_AT (DW_AT_VMS_rtnbeg_pd_address, 0x2201)
01917d
 /* GNAT extensions.  */
01917d
diff --git a/include/floatformat.h b/include/floatformat.h
01917d
index b595164..04db61a 100644
01917d
--- a/include/floatformat.h
01917d
+++ b/include/floatformat.h
01917d
@@ -128,7 +128,8 @@ extern const struct floatformat floatformat_ia64_spill_little;
01917d
 extern const struct floatformat floatformat_ia64_quad_big;
01917d
 extern const struct floatformat floatformat_ia64_quad_little;
01917d
 /* IBM long double (double+double).  */
01917d
-extern const struct floatformat floatformat_ibm_long_double;
01917d
+extern const struct floatformat floatformat_ibm_long_double_big;
01917d
+extern const struct floatformat floatformat_ibm_long_double_little;
01917d
 
01917d
 /* Convert from FMT to a double.
01917d
    FROM is the address of the extended float.
01917d
diff --git a/libiberty/floatformat.c b/libiberty/floatformat.c
01917d
index c58ab01..789fa05 100644
01917d
--- a/libiberty/floatformat.c
01917d
+++ b/libiberty/floatformat.c
01917d
@@ -371,14 +371,23 @@ floatformat_ibm_long_double_is_valid (const struct floatformat *fmt,
01917d
     }
01917d
 }
01917d
 
01917d
-const struct floatformat floatformat_ibm_long_double =
01917d
+const struct floatformat floatformat_ibm_long_double_big =
01917d
 {
01917d
   floatformat_big, 128, 0, 1, 11, 1023, 2047, 12, 52,
01917d
   floatformat_intbit_no,
01917d
-  "floatformat_ibm_long_double",
01917d
+  "floatformat_ibm_long_double_big",
01917d
   floatformat_ibm_long_double_is_valid,
01917d
   &floatformat_ieee_double_big
01917d
 };
01917d
+
01917d
+const struct floatformat floatformat_ibm_long_double_little =
01917d
+{
01917d
+  floatformat_little, 128, 0, 1, 11, 1023, 2047, 12, 52,
01917d
+  floatformat_intbit_no,
01917d
+  "floatformat_ibm_long_double_little",
01917d
+  floatformat_ibm_long_double_is_valid,
01917d
+  &floatformat_ieee_double_little
01917d
+};
01917d
 
01917d
 
01917d
 #ifndef min