From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pj1-x1030.google.com (mail-pj1-x1030.google.com [IPv6:2607:f8b0:4864:20::1030]) by sourceware.org (Postfix) with ESMTPS id A7CD63858C54 for ; Sun, 20 Nov 2022 16:57:53 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org A7CD63858C54 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=gmail.com Received: by mail-pj1-x1030.google.com with SMTP id u6-20020a17090a5e4600b0021881a8d264so6948864pji.4 for ; Sun, 20 Nov 2022 08:57:53 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:in-reply-to:from:references:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=DcbAzEXcZsEsFLmeDNEX7PoYl63vHjmjkyKB4sEdAPU=; b=LybgKmveu6rtH8v45J09JgyY3fAdFrlT+3CQ+9YdAlLqzKkPZ/OWPDveCPxDrHupWx soc3KEUGJWIOUjNrSW8oUlWxDfYtx5fTKVrMUleKp2EUPgtjdHbcBLsAbltfu2eYSTe4 YcASTsl1z5fDPmP/1puFXLtN4UHOxncqUhFT3pjeCDGRA11ivXcoJG5QHhP2ktWOyciG ADxgaT4eousCOuLtDiusgd22wb2vy66ERm+o+PTcA4/roBJNudEcK+iFTfXZg3wyJik8 Rwy4Q5KWTm+RqjN7GZhPXd+KVjoCeNgfV9IvFtwkvzUffWt9DZeBPD4vFuXx4G/tgr1d 7Bbw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:in-reply-to:from:references:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=DcbAzEXcZsEsFLmeDNEX7PoYl63vHjmjkyKB4sEdAPU=; b=dlSctSp1YydCS1co4Bhtyctxvaz7Q1VjShsEMThZFYuSYowcqetMkLEFi0dBShO/f+ amUk8iS0r8SC2+8RiUTdV11L+LdpW4DjtL8PBqktshQ5ilDW+vslnwWFeUcHQ7xPJuHh SZzOBWnAenoL6rPN1bvNP5RyeGMjbhrM/tkjCI6o27coIly6WqxLzwnkn6ismEQmj5Ds qMNUL/bmXFaL7lh4bK793eV6NelWcZGt0dYOKik59bEY+YQe08yaUTrxw1fv17QSi8Kf s/+2XXnf0o+1gYfR9laU//KqMgCRpoXFNluBjda0hI1GOMuk6eyZDSgmeW+SEmHo+Wn7 7ztg== X-Gm-Message-State: ANoB5plm9Qe/SNV/CYTAlVGs+icd62Xu9gwMfC7MQIfWNu9Cni2Qq48q taJqBB9QflsyfAd/Hh2cebbpZwdyYHs= X-Google-Smtp-Source: AA0mqf6eft5QVB5TaRsZECYd7N2MqlPTW57SSfXzvnAHql2oxhPNn4Uwz69LKRe3ZvGkCkSm8z8Nww== X-Received: by 2002:a17:903:3256:b0:188:5240:5142 with SMTP id ji22-20020a170903325600b0018852405142mr1837255plb.171.1668963472477; Sun, 20 Nov 2022 08:57:52 -0800 (PST) Received: from ?IPV6:2601:681:8600:13d0::f0a? ([2601:681:8600:13d0::f0a]) by smtp.gmail.com with ESMTPSA id q16-20020a17090311d000b00182a9c27acfsm7785360plh.227.2022.11.20.08.57.51 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sun, 20 Nov 2022 08:57:51 -0800 (PST) Message-ID: <1d880015-d502-a393-6278-4281cf64504b@gmail.com> Date: Sun, 20 Nov 2022 09:57:50 -0700 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.3.1 Subject: Re: [PATCH 1/2] Allow subtarget customization of CC1_SPEC Content-Language: en-US To: Sebastian Huber , gcc-patches@gcc.gnu.org References: <20220722130250.59766-1-sebastian.huber@embedded-brains.de> <543ce4e6-42d5-71ca-e48b-212796713f2e@embedded-brains.de> From: Jeff Law In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-1.0 required=5.0 tests=BAYES_00,BODY_8BITS,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM,NICE_REPLY_A,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS,TXREP autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: On 10/26/22 03:34, Sebastian Huber wrote: > On 04/10/2022 11:47, Sebastian Huber wrote: >> On 08/09/2022 07:33, Sebastian Huber wrote: >>> On 04/08/2022 15:02, Sebastian Huber wrote: >>>> On 22/07/2022 15:02, Sebastian Huber wrote: >>>>> gcc/ChangeLog: >>>>> >>>>>     * gcc.cc (SUBTARGET_CC1_SPEC): Define if not defined. >>>>>     (CC1_SPEC): Define to SUBTARGET_CC1_SPEC. >>>>>     * config/arm/arm.h (CC1_SPEC): Remove. >>>>>     * config/arc/arc.h (CC1_SPEC): Append SUBTARGET_CC1_SPEC. >>>>>     * config/cris/cris.h (CC1_SPEC): Likewise. >>>>>     * config/frv/frv.h (CC1_SPEC): Likewise. >>>>>     * config/i386/i386.h (CC1_SPEC): Likewise. >>>>>     * config/ia64/ia64.h (CC1_SPEC): Likewise. >>>>>     * config/lm32/lm32.h (CC1_SPEC): Likewise. >>>>>     * config/m32r/m32r.h (CC1_SPEC): Likewise. >>>>>     * config/mcore/mcore.h (CC1_SPEC): Likewise. >>>>>     * config/microblaze/microblaze.h: Likewise. >>>>>     * config/nds32/nds32.h (CC1_SPEC): Likewise. >>>>>     * config/nios2/nios2.h (CC1_SPEC): Likewise. >>>>>     * config/pa/pa.h (CC1_SPEC): Likewise. >>>>>     * config/rs6000/sysv4.h (CC1_SPEC): Likewise. >>>>>     * config/rx/rx.h (CC1_SPEC): Likewise. >>>>>     * config/sparc/sparc.h (CC1_SPEC): Likewise. >>>> >>>> Could someone please have a look at this patch set? >>> >>> Ping >> >> Would someone mind having a look at this patch set? If there is a >> better approach to customize the default TLS model, then please let >> me know. > > It would be nice if someone could review the patch before the Stage 1 > ends at November 13th. Just a reminder.  The guidelines are a patch needs to be posted before the end of stage1 to make the deadline.  Review & integration can happen after the deadline. I realize the idea here is to allow RTEMS to change the default TLS model.  But does it also happen to make it possible to solve Keith Packard's issues with picolibc?  See the Aug/Sep gcc-patches archives. It looks sensible.  I assume you did a "find" to identify all the CC1_SPECs to change. OK for the trunk, Jeff Anyway, does this also solve some of the issue Keith Packard was try to nail down for picolibc?