public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
* gcc linker compression
@ 2022-11-22  4:00 hongjie wu
  2022-11-22  4:25 ` Xi Ruoyao
  0 siblings, 1 reply; 2+ messages in thread
From: hongjie wu @ 2022-11-22  4:00 UTC (permalink / raw)
  To: gcc-help

[-- Attachment #1: Type: text/plain, Size: 606 bytes --]

ArmClang and IAR support compression in the linker. Does gcc support
similar operations of compression?
IAR Compression:
(1) packbits - Compresses with the PackBits algorithm. Thismethod generates
good results for data with many identicalconsecutive bytes.
(2) lz77 - Compresses with the Lempel-Ziv-77 algorithm.This method handles
a larger variety of inputs well, but hasa slightly larger decompressor.

ARMclang Compression:
https://software-dl.ti.com/codegen/docs/tiarmclang/compiler_tools_user_guide/compiler_manual/linker_description/08_using_linker_generated_copy_tables/compression-stdz0754720.html

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: gcc linker compression
  2022-11-22  4:00 gcc linker compression hongjie wu
@ 2022-11-22  4:25 ` Xi Ruoyao
  0 siblings, 0 replies; 2+ messages in thread
From: Xi Ruoyao @ 2022-11-22  4:25 UTC (permalink / raw)
  To: hongjie wu, gcc-help

On Tue, 2022-11-22 at 12:00 +0800, hongjie wu via Gcc-help wrote:
> ArmClang and IAR support compression in the linker. Does gcc support
> similar operations of compression?

GCC does not contain a linker.

> IAR Compression:
> (1) packbits - Compresses with the PackBits algorithm. Thismethod generates
> good results for data with many identicalconsecutive bytes.
> (2) lz77 - Compresses with the Lempel-Ziv-77 algorithm.This method handles
> a larger variety of inputs well, but hasa slightly larger decompressor.
> 
> ARMclang Compression:
> https://software-dl.ti.com/codegen/docs/tiarmclang/compiler_tools_user_guide/compiler_manual/linker_description/08_using_linker_generated_copy_tables/compression-stdz0754720.html

-- 
Xi Ruoyao <xry111@xry111.site>
School of Aerospace Science and Technology, Xidian University

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2022-11-22  4:25 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-11-22  4:00 gcc linker compression hongjie wu
2022-11-22  4:25 ` Xi Ruoyao

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).