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