Closed Bug 1657012 Opened 4 years ago Closed 4 years ago

Update elfhack code in SeaMonkey up to ESR68 level

Categories

(SeaMonkey :: General, defect)

SeaMonkey 2.53 Branch
defect

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 1652314

People

(Reporter: buc, Unassigned)

Details

Attachments

(1 file)

Elfhack is used to optimize ELF shared binaries on Linux/UNIX systems.
It decreases libxul.so size up to 9Mb (10%) and speedups startup time.

The current code is still oriented on binaries produced by traditional gcc compiler (and bfd linker).
To support clang compiler and lld linker, as well as possible future needs for building with lto, elfhack should be updated.

The final code of ESR68 seems satisfy all possible needs for years to come.

Note, build/unix/elfhack/* is an isolated thing that does not correlate with anything else (ie. no prerequisites in general).
All the commits below can be quiet applied cleanly step by step.

Last two little commits:

22: bug #1542958 part1: 04eccd9f23a1
23: bug #1542958 part2: 09240f7397c1

Should be a bit rebased due to reformatted code. The common preliminary patch attached.

Flags: needinfo?(frgrahl)

Will be in 2.53.4. No need to keep a separate bug around because only backports without additional code.
In unofficial 2.53.5 since yesterday. 1457482-2Only-elfhack.62a1.patch to 1606739-elfhack-74a1.patch

Status: UNCONFIRMED → RESOLVED
Closed: 4 years ago
Flags: needinfo?(frgrahl)
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: