bug-binutils
[Top][All Lists]
Advanced

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

[Bug binutils/31475] binutils: Support CREL relocation format


From: i at maskray dot me
Subject: [Bug binutils/31475] binutils: Support CREL relocation format
Date: Sat, 23 Mar 2024 00:15:01 +0000

https://sourceware.org/bugzilla/show_bug.cgi?id=31475

--- Comment #1 from Fangrui Song <i at maskray dot me> ---
The format was tentatively named RELLEB. As I refine the original pure
LEB-based format, “RELLEB” might not be the most fitting name.

I have switched to SHT_CREL/DT_CREL/.crel and updated
https://maskray.me/blog/2024-03-09-a-compact-relocation-format-for-elf

https://groups.google.com/g/generic-abi/c/yb0rjw56ORw/m/eiBcYxSfAQAJ

build                           | format          | `.o size`   | `size(.rel*)`
| .o size decrease
--------------------------------+-----------------+-------------+---------------+-----------------
-O3                             | RELA            |   136012504 |      28235448
|                 
-O3                             | CREL            |   111583312 |       3806234
| 18.0%
aarch64 -O3                     | RELA            |   124965808 |      25855800
|
aarch64 -O3                     | CREL            |   102529784 |       3388307
| 18.0%
riscv64 -O3                     | RELA            |   227189744 |      91396344
|
riscv64 -O3                     | CREL            |   149343352 |      13549699
| 34.3%
-O1 -g                          | RELA            |  1506173760 |     340965576
|
-O1 -g                          | CREL            |  1202445768 |      37237274
| 20.2%
-O3 -g -gpubnames -gsplit-dwarf | RELA            |   549003848 |     104227128
|
-O3 -g -gpubnames -gsplit-dwarf | CREL            |   459768736 |      14992114
| 16.3%

-- 
You are receiving this mail because:
You are on the CC list for the bug.


reply via email to

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