From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-yb1-xb32.google.com (mail-yb1-xb32.google.com [IPv6:2607:f8b0:4864:20::b32]) by sourceware.org (Postfix) with ESMTPS id 64FE1396D83B for ; Thu, 17 Nov 2022 10:20:28 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 64FE1396D83B 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-yb1-xb32.google.com with SMTP id 63so1329264ybq.4 for ; Thu, 17 Nov 2022 02:20:28 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=o34Mnk2M/2FrsJLcua+ZpvY9aSOsVz1YjgobxTyraWc=; b=PmLtsDwYTdVWw9gduCwSvt/GLPi5of+CS5YRjxrg/BO4fG1KnPBBB+Wiofouq5vlMM a9Mbd7GWTBELdoAN5C2+rmUsp4DUMulQKJWrt3Hrn4Z+zDm5MBZqQh+MsfFEW4cNmLUx GGn6IEq2eO9we1uAOW+hb4rM9TF7AcHClCrovncRjStbjUfl15c/pd9S7xAJX1KUaa52 NrjtP+soG9CiiLrBTkLROeAz8LqUN1hXxnjQfP/TnW8b96okc7VqcWPx+mhJb1izaLzb 87e04tT+eRcfkLQtOntpGcWqYWuHDBsBmdeJkglzTm97erLpb0ZUVH9DslZeGho3TMzH +vKw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc: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=o34Mnk2M/2FrsJLcua+ZpvY9aSOsVz1YjgobxTyraWc=; b=nn7FDer8y/Em7slhS9iN/m9oRbh1O/9Z8pba17ubQnNi12O2oOkUS7HdPdgS8fBJZy Ka0050JIf5LOv8fKZ7rMlbkRZdRhm+RyEH/2jv1onbA9DusTuxhafGAQRInHj0OIV60C XweNVYsiMXDc57N5xxiQErlthnE0S3kUG4b3IwPVtbv4Ao7kxosLXrzAtjWRo+UULbr8 s+HrjPvMcsbw7zGVVd4UCW3yJFli8umMO5DpmaRTNptOrkVWT4eLvBBmE1trv1uyMlb+ woRglgqeAr1paiVBE7pS0gECZc9AXXIMF3apuqhkn2P8RgsfwBJR8OHZN2BB12d8HuCY BXmA== X-Gm-Message-State: ANoB5pm6tdDADBMzAuyj4JtgqUCue7hNkKiWpGEaA7LgshySiLpfxA9J HfUxAB7xJOmfBIyaw0cQg8IOV559JuhJFlVr7yjQOm8ZoEBj3g== X-Google-Smtp-Source: AA0mqf72wkUEdI1oJjwfhP6rOJHMGIDCj8c1/5BTrzkov9RioPsOnpZc59dgLgZ7gAV6IHO6FMzmjPjGqXbX0gClLf0= X-Received: by 2002:a25:d90b:0:b0:6c9:dd8f:b158 with SMTP id q11-20020a25d90b000000b006c9dd8fb158mr1579642ybg.194.1668680427781; Thu, 17 Nov 2022 02:20:27 -0800 (PST) MIME-Version: 1.0 References: In-Reply-To: From: Wu yanan Date: Thu, 17 Nov 2022 18:20:17 +0800 Message-ID: Subject: Re: Does current gcc have segment compression option? To: Stefan Ring Cc: gcc-help@gcc.gnu.org Content-Type: multipart/alternative; boundary="0000000000002442a305eda7f037" X-Spam-Status: No, score=0.4 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM,HTML_MESSAGE,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: --0000000000002442a305eda7f037 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Does there have options to use the linker or loader runtime to compress t= he segments? On Thu, Nov 17, 2022 at 5:56 PM Stefan Ring via Gcc-help < gcc-help@gcc.gnu.org> wrote: > 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 > there > > 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. > --0000000000002442a305eda7f037--