From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 76277 invoked by alias); 31 Dec 2019 10:49:15 -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 76260 invoked by uid 9299); 31 Dec 2019 10:49:15 -0000 Date: Tue, 31 Dec 2019 10:49:00 -0000 Message-ID: <20191231104915.76259.qmail@sourceware.org> Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: Florian Weimer To: glibc-cvs@sourceware.org Subject: [glibc/fw/builtin-syscalls-4] 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/fw/builtin-syscalls-4 X-Git-Oldrev: 1ef9b6e0bf1268050e74087c4f6bd056263a28c7 X-Git-Newrev: 5d73c96f64e66732bcf1598f2832c9837075f13e X-SW-Source: 2019-q4/txt/msg00703.txt.bz2 https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=5d73c96f64e66732bcf1598f2832c9837075f13e commit 5d73c96f64e66732bcf1598f2832c9837075f13e Author: Tulio Magno Quites Machado Filho Date: Mon Jul 30 12:04:40 2018 -0300 ldbl-128ibm-compat: Compiler flags for stdio functions 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. Reviewed-by: Gabriel F. T. Gomes 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 49d9af9..8f6a090 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)))