[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Tinycc-devel] TCC and "smart" linking

From: Oleg N. Cher
Subject: Re: [Tinycc-devel] TCC and "smart" linking
Date: Fri, 26 Oct 2012 17:47:43 +0300
User-agent: Thunderbird (Windows/20081209)

Hi folks,

Daniel Glöckner wrote:
I think what Oleg wants is implemented in GCC as
-ffunction-sections -fdata-section in combination with ld's
--gc-sections. Every global function and variable is placed in its
own section and the linker drops all sections which can't be
reached starting from the entry point.

Yes, you're absolutely right. To have more small binaries. Also requested to remove unused functions and variables that are not placed into a library.

Oleg N. Cher,
VEDAsoft Oberon Club

reply via email to

[Prev in Thread] Current Thread [Next in Thread]