From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-ot1-x331.google.com (mail-ot1-x331.google.com [IPv6:2607:f8b0:4864:20::331]) by sourceware.org (Postfix) with ESMTPS id 17DFF395C037 for ; Thu, 17 Nov 2022 09:56:00 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 17DFF395C037 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-ot1-x331.google.com with SMTP id m7-20020a9d6447000000b0066da0504b5eso711360otl.13 for ; Thu, 17 Nov 2022 01:56:00 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=pwgHTk8+TiooGMcJQqGZNGvjC4EvnB5CgBc5Ou1ooLg=; b=Mn7sdtZF8/ClBBanek/r7d5Uy1X39wOrp44WXHL6ZwQ+56OmGVVABuSpwxPsfFWZHF o2GEbYuXYqCOZjlrZ1JJ9xLxtG/figEVWonMXL0pvLOa7ek7B2GvJZf9QoOFfe29bZyU vOf7XkeKRR1UmHiyWRf6b5Zqo5ewjcIduAdBW9ilNtIUjwX+vL8P3+EMyZGxid9kbTPX dJMQXS6J2fWmJ3ZFkcgPf1CTAVYmGU+RdoVBZBt0DOFvHpdxdm4jtMxpmGYC+jU3UuiZ otraDBzGNvbwTvm0EMIz6grdGHy+txn9xYi619bN0CxmIw887Wb/NllLCgTZhcEmsx28 0lZg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=pwgHTk8+TiooGMcJQqGZNGvjC4EvnB5CgBc5Ou1ooLg=; b=Tx3YoNrmehzxB5e/SjBn4JdSaKZb61WvphGsuEeWCoi5fCVD8o69D7NHjXRY+oPzF7 8j2H8pz4yQgmqRZX3tMj6JH5hOqBTge5JHi59rm5IjGp+txs2vVUns2ZcfmC6P7fmmCk EIcoIyixfs2gag7segae/DALPXlRtCuHrHc9zUVwm0Ra0bjWkdaPs58f+xGvJK5E9JLD 9EBNiNfvf5lFSp60d4wVuMgRxtKgbnImKLyGDoiFueWlwMWaTlmNSL6eUJZCfy0qmODD 4tL/gzSTXTGsgFPA8AYBNTHkcc543wk6hLNf6riAburM/lTgQbYTUR5tG1ENfSALmlEx 1AZw== X-Gm-Message-State: ANoB5plEx5TeDb68U7yFjoc43SFwOkSaFeggxIDRNZJfdHz4ZpWc6D8r zKktl38duoVnrVCmdHlVdDQRPx6qjAqmbNPzLvN0uTLj X-Google-Smtp-Source: AA0mqf6wDXmUJbi1UW/tVnL/xELPoxFdlFlZxr8I0IzU9zmQLF0yUzWa5hLJngP51n4dcwrIvj5n+KQBmetILQKto5s= X-Received: by 2002:a9d:7dca:0:b0:66c:6cf1:7967 with SMTP id k10-20020a9d7dca000000b0066c6cf17967mr986313otn.139.1668678959290; Thu, 17 Nov 2022 01:55:59 -0800 (PST) MIME-Version: 1.0 References: In-Reply-To: From: Stefan Ring Date: Thu, 17 Nov 2022 10:55:47 +0100 Message-ID: Subject: Re: Does current gcc have segment compression option? To: gcc-help@gcc.gnu.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-0.2 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM,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 Wed, Nov 16, 2022 at 4:52 AM Wu yanan via Gcc-help wrote: > > When i find information about reduce execution size, i found that in > compilers like tiarmclang( > https://software-dl.ti.com/codegen/docs/tiarmclang/rel1_3_0_LTS/compiler_= manual/linker_description/08_using_linker_generated_copy_tables/compression= -stdz0754720.html) > and IAR=EF=BC=8Cthere are options provided to compress segments of > execution(data,text..etc). usually i use gcc and clang compiler, are ther= e > similar options to compress the segments of execution? I only found > compress options for debug information in clang compiler. This looks like a feature by the linker and loader runtime and probably doesn=E2=80=99t have anything to do with the compiler.