From dcd9800fcd42489034c0774247eb898d79b1ea2d Mon Sep 17 00:00:00 2001 From: Iain Sandoe Date: Sun, 11 Oct 2020 15:36:13 +0100 Subject: libobjc, Darwin : Fix powerpc encoding regression. This corrects a typo in the recipe for the special type alignment rules that are used for 32bit powerpc Darwin platforms. libobjc/ChangeLog: * encoding.c (_darwin_rs6000_special_round_type_align): Use DFMode in the emulation of the special round type. --- libobjc/encoding.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'libobjc') diff --git a/libobjc/encoding.c b/libobjc/encoding.c index 706c1d2..68a20d1 100644 --- a/libobjc/encoding.c +++ b/libobjc/encoding.c @@ -146,7 +146,6 @@ static int __attribute__ ((__unused__)) not_target_flags = 0; # undef TARGET_ALIGN_NATURAL # define TARGET_ALIGN_NATURAL 1 # endif - /* On Darwin32, we need to recurse until we find the starting stuct type. */ static int _darwin_rs6000_special_round_type_align (const char *struc, int comp, int spec) @@ -163,7 +162,7 @@ _darwin_rs6000_special_round_type_align (const char *struc, int comp, int spec) case UNION_TYPE: return MAX (MAX (comp, spec), objc_alignof_type (_stp) * __CHAR_BIT__); break; - case E_DFmode: + case DFmode: case _C_LNG_LNG: case _C_ULNG_LNG: return MAX (MAX (comp, spec), 64); -- cgit v1.1 From 2baa36d4911940a068e63f2ee4298c13f92cf8d9 Mon Sep 17 00:00:00 2001 From: GCC Administrator Date: Mon, 12 Oct 2020 00:16:25 +0000 Subject: Daily bump. --- libobjc/ChangeLog | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'libobjc') diff --git a/libobjc/ChangeLog b/libobjc/ChangeLog index 9b2d90a..43578a0 100644 --- a/libobjc/ChangeLog +++ b/libobjc/ChangeLog @@ -1,3 +1,8 @@ +2020-10-11 Iain Sandoe + + * encoding.c (_darwin_rs6000_special_round_type_align): + Use DFMode in the emulation of the special round type. + 2020-05-29 H.J. Lu PR bootstrap/95413 -- cgit v1.1