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

2024-05-16 Thread oset at superbox dot pl
https://sourceware.org/bugzilla/show_bug.cgi?id=31475

oset  changed:

   What|Removed |Added

 CC||oset at superbox dot pl

--- Comment #2 from oset  ---
Sounds very interesting. Do you have binutils diff/patch to test it? I mean,
compiling llvm takes hours, and compiling binutils takes minutes. That's
'subtle' difference.

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


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

2024-03-23 Thread sam at gentoo dot org
https://sourceware.org/bugzilla/show_bug.cgi?id=31475

Sam James  changed:

   What|Removed |Added

 CC||sam at gentoo dot org

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


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

2024-03-22 Thread i at maskray dot me
https://sourceware.org/bugzilla/show_bug.cgi?id=31475

--- Comment #1 from Fangrui Song  ---
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.


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

2024-03-22 Thread i at maskray dot me
https://sourceware.org/bugzilla/show_bug.cgi?id=31475

Fangrui Song  changed:

   What|Removed |Added

Summary|binutils: Support RELLEB|binutils: Support CREL
   |relocation format   |relocation format

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