From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 104952 invoked by alias); 25 Oct 2019 15:35:03 -0000 Mailing-List: contact glibc-cvs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: , Sender: glibc-cvs-owner@sourceware.org List-Subscribe: Received: (qmail 104856 invoked by uid 10126); 25 Oct 2019 15:35:02 -0000 Date: Fri, 25 Oct 2019 15:35:00 -0000 Message-ID: <20191025153502.104855.qmail@sourceware.org> Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: Gabriel F.T.Gomes To: glibc-cvs@sourceware.org Subject: [glibc/gabriel/powerpc-ieee128-printscan] ldbl-128ibm-compat: Compiler flags for stdio functions X-Act-Checkin: glibc X-Git-Author: Tulio Magno Quites Machado Filho X-Git-Refname: refs/heads/gabriel/powerpc-ieee128-printscan X-Git-Oldrev: 8d21b26af1efd1f4cef8597065f3b2fdf733b480 X-Git-Newrev: 547bbef79b0d4cf45368f6149d4cc25e8183717a X-SW-Source: 2019-q4/txt/msg00168.txt.bz2 https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=547bbef79b0d4cf45368f6149d4cc25e8183717a commit 547bbef79b0d4cf45368f6149d4cc25e8183717a Author: Tulio Magno Quites Machado Filho Date: Mon Jul 30 12:04:40 2018 -0300 ldbl-128ibm-compat: Compiler flags for stdio functions No changes since v1. -- 8< -- Some of the files that provide stdio.h and wchar.h functions have a filename prefixed with 'io', such as 'iovsprintf.c'. On platforms that imply ldbl-128ibm-compat, these files must be compiled with the flag -mabi=ibmlongdouble. This patch adds this flag to their compilation. Notice that this is not required for the other files that provide similar functions, because filenames that are not prefixed with 'io' have ldbl-128ibm-compat counterparts in the Makefile, which already adds -mabi=ibmlongdouble to them. Diff: --- sysdeps/ieee754/ldbl-128ibm-compat/Makefile | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/sysdeps/ieee754/ldbl-128ibm-compat/Makefile b/sysdeps/ieee754/ldbl-128ibm-compat/Makefile index 759f6e7..013f2d7 100644 --- a/sysdeps/ieee754/ldbl-128ibm-compat/Makefile +++ b/sysdeps/ieee754/ldbl-128ibm-compat/Makefile @@ -325,6 +325,12 @@ routines += $(foreach r,$(ldbl-extra-routines),ieee128-$(r)) # always be built in IBM long double mode, with additional support for # IEEE binary128, through the use of -mabi=ibmlongdouble and -mfloat128. ldbl-ibm128-files := $(objpfx)test-%-ibm128^ \ + $(objpfx)iovdprintf^ \ + $(objpfx)iovsprintf^ \ + $(objpfx)iovsscanf^ \ + $(objpfx)iovswscanf^ \ + $(objpfx)iovfscanf^ \ + $(objpfx)iovfwscanf^ \ $(foreach r,$(ldbl-extra-routines),$(objpfx)$(r)^) \ $(foreach r,$(ldbl-extra-routines),$(objpfx)$(r)-internal^) obj-suf-foreach = $(foreach suf,$(all-object-suffixes),$(subst ^,$(suf),$(1)))