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