From 9eeefea8ddc2fa57330c8b3c0fae600481ec06a5 Mon Sep 17 00:00:00 2001 From: "Maciej W. Rozycki" Date: Mon, 23 Aug 2010 13:51:40 +0000 Subject: [PATCH] binutils/ * readelf.c (display_mips_gnu_attribute): Replace GCC options with a textual description of a MIPS32r2 64-bit FPU. ld/testsuite/ * ld-mips-elf/attr-gnu-4-04.d: Adjust Tag_GNU_MIPS_ABI_FP for the new MIPS32r2 64-bit FPU description. * ld-mips-elf/attr-gnu-4-40.d: Likewise. * ld-mips-elf/attr-gnu-4-44.d: Likewise. --- binutils/ChangeLog | 5 +++++ binutils/readelf.c | 2 +- ld/testsuite/ChangeLog | 7 +++++++ ld/testsuite/ld-mips-elf/attr-gnu-4-04.d | 2 +- ld/testsuite/ld-mips-elf/attr-gnu-4-40.d | 2 +- ld/testsuite/ld-mips-elf/attr-gnu-4-44.d | 2 +- 6 files changed, 16 insertions(+), 4 deletions(-) diff --git a/binutils/ChangeLog b/binutils/ChangeLog index deb1006c7a..cac073fa2e 100644 --- a/binutils/ChangeLog +++ b/binutils/ChangeLog @@ -1,3 +1,8 @@ +2010-08-23 Maciej W. Rozycki + + * readelf.c (display_mips_gnu_attribute): Replace GCC options + with a textual description of a MIPS32r2 64-bit FPU. + 2010-08-19 Alan Modra * NEWS: Mention change in linker script expression evaluation. diff --git a/binutils/readelf.c b/binutils/readelf.c index 2e5ca232a6..b345afb502 100644 --- a/binutils/readelf.c +++ b/binutils/readelf.c @@ -10718,7 +10718,7 @@ display_mips_gnu_attribute (unsigned char * p, int tag) printf (_("Soft float\n")); break; case 4: - printf (_("64-bit float (-mips32r2 -mfp64)\n")); + printf (_("Hard float (MIPS32r2 64-bit FPU)\n")); break; default: printf ("??? (%d)\n", val); diff --git a/ld/testsuite/ChangeLog b/ld/testsuite/ChangeLog index df69b37569..fde01df7bb 100644 --- a/ld/testsuite/ChangeLog +++ b/ld/testsuite/ChangeLog @@ -1,3 +1,10 @@ +2010-08-23 Maciej W. Rozycki + + * ld-mips-elf/attr-gnu-4-04.d: Adjust Tag_GNU_MIPS_ABI_FP for + the new MIPS32r2 64-bit FPU description. + * ld-mips-elf/attr-gnu-4-40.d: Likewise. + * ld-mips-elf/attr-gnu-4-44.d: Likewise. + 2010-08-22 H.J. Lu PR ld/11933 diff --git a/ld/testsuite/ld-mips-elf/attr-gnu-4-04.d b/ld/testsuite/ld-mips-elf/attr-gnu-4-04.d index 992ed04cf9..62b9eeffbb 100644 --- a/ld/testsuite/ld-mips-elf/attr-gnu-4-04.d +++ b/ld/testsuite/ld-mips-elf/attr-gnu-4-04.d @@ -7,4 +7,4 @@ Attribute Section: gnu File Attributes - Tag_GNU_MIPS_ABI_FP: 64-bit float \(-mips32r2 -mfp64\) + Tag_GNU_MIPS_ABI_FP: Hard float \(MIPS32r2 64-bit FPU\) diff --git a/ld/testsuite/ld-mips-elf/attr-gnu-4-40.d b/ld/testsuite/ld-mips-elf/attr-gnu-4-40.d index f84e95bccd..d28aa2a462 100644 --- a/ld/testsuite/ld-mips-elf/attr-gnu-4-40.d +++ b/ld/testsuite/ld-mips-elf/attr-gnu-4-40.d @@ -7,4 +7,4 @@ Attribute Section: gnu File Attributes - Tag_GNU_MIPS_ABI_FP: 64-bit float \(-mips32r2 -mfp64\) + Tag_GNU_MIPS_ABI_FP: Hard float \(MIPS32r2 64-bit FPU\) diff --git a/ld/testsuite/ld-mips-elf/attr-gnu-4-44.d b/ld/testsuite/ld-mips-elf/attr-gnu-4-44.d index 6e8cac2326..8be31de3c2 100644 --- a/ld/testsuite/ld-mips-elf/attr-gnu-4-44.d +++ b/ld/testsuite/ld-mips-elf/attr-gnu-4-44.d @@ -7,4 +7,4 @@ Attribute Section: gnu File Attributes - Tag_GNU_MIPS_ABI_FP: 64-bit float \(-mips32r2 -mfp64\) + Tag_GNU_MIPS_ABI_FP: Hard float \(MIPS32r2 64-bit FPU\)