: normal
Priority: P2
Component: binutils
Assignee: unassigned at sourceware dot org
Reporter: i at maskray dot me
Target Milestone: ---
echo '.data; .type x, @gnu_unique_object; x:' | as - -o a.o
objcopy -W x a.o
readelf -Ws a.o
The symbol &
https://sourceware.org/bugzilla/show_bug.cgi?id=28926
--- Comment #1 from Fangrui Song ---
Patch: https://sourceware.org/pipermail/binutils/2022-March/119916.html
--
You are receiving this mail because:
You are on the CC list for the bug.
https://sourceware.org/bugzilla/show_bug.cgi?id=28902
--- Comment #3 from Fangrui Song ---
Hi Nick, sorry for my belated reply. I was on a trip.
> > ld.bfd a.o -T insert-data.lds -T a.lds # ok
> > ld.bfd a.o -T a.lds -T insert-data.lds # .data not found for insert
> >
> > # Remark: The order
https://sourceware.org/bugzilla/show_bug.cgi?id=28926
Fangrui Song changed:
What|Removed |Added
Status|UNCONFIRMED |RESOLVED
Resolution|---
erity: normal
Priority: P2
Component: gas
Assignee: unassigned at sourceware dot org
Reporter: i at maskray dot me
Target Milestone: ---
For
```
.size foo1, 1
foo1:
.set bar1, foo1
.size bar1, 2
.size bar2, 2
.set bar2, foo1
.set bar3, foo2
.size bar3, 2
.size
https://sourceware.org/bugzilla/show_bug.cgi?id=29012
--- Comment #1 from Fangrui Song ---
PATCH: https://sourceware.org/pipermail/binutils/2022-March/120299.html
LLVM integrated assembler has had a similar behavior since 2014-03:
https://github.com/llvm/llvm-project/commit/a041ef1bd8905f0d58e
https://sourceware.org/bugzilla/show_bug.cgi?id=29012
Fangrui Song changed:
What|Removed |Added
Resolution|--- |FIXED
Status|UNCONFIRMED
Severity: normal
Priority: P2
Component: gas
Assignee: unassigned at sourceware dot org
Reporter: i at maskray dot me
Target Milestone: ---
https://sourceware.org/git/?p=binutils-gdb.git;a=commit;h=4a5700b62f767ed08c97122bad182244700bb4e3
added a diagnostic
https://sourceware.org/bugzilla/show_bug.cgi?id=29072
Fangrui Song changed:
What|Removed |Added
CC||i at maskray dot me
--- Comment #9
Assignee: unassigned at sourceware dot org
Reporter: i at maskray dot me
Target Milestone: ---
Since 2018-07 (https://reviews.llvm.org/D48751),
https://llvm.org/docs/CommandGuide/llvm-nm.html supports --no-weak for listing
non-weak symbols. The short option -W is added as an alias. I
Severity: normal
Priority: P2
Component: ld
Assignee: unassigned at sourceware dot org
Reporter: i at maskray dot me
Target Milestone: ---
as /dev/null -o a.o
echo 'ENTRY(no_such_symbol)' > a.t
ld.bfd -T a.t -shared a.o
Both `ld.bfd -e no_such_symbo
https://sourceware.org/bugzilla/show_bug.cgi?id=28824
Fangrui Song changed:
What|Removed |Added
CC||i at maskray dot me
--- Comment #8
https://sourceware.org/bugzilla/show_bug.cgi?id=27451
Fangrui Song changed:
What|Removed |Added
Status|UNCONFIRMED |RESOLVED
Target Milestone|---
https://sourceware.org/bugzilla/show_bug.cgi?id=29310
Fangrui Song changed:
What|Removed |Added
CC||i at maskray dot me
--- Comment #5
https://sourceware.org/bugzilla/show_bug.cgi?id=29377
Fangrui Song changed:
What|Removed |Added
CC||i at maskray dot me
--- Comment #3
https://sourceware.org/bugzilla/show_bug.cgi?id=29376
Fangrui Song changed:
What|Removed |Added
CC||i at maskray dot me
--- Comment #1
Assignee: unassigned at sourceware dot org
Reporter: i at maskray dot me
Target Milestone: ---
Zstandard is a "universal" compression algorithm which scales from
low-ratio-very-fast to high-ratio-pretty-slow.
The generic-abi proposal https://groups.google.com/g/generic-abi/c/s
https://sourceware.org/bugzilla/show_bug.cgi?id=29397
Fangrui Song changed:
What|Removed |Added
CC||hjl.tools at gmail dot com,
https://sourceware.org/bugzilla/show_bug.cgi?id=29397
Fangrui Song changed:
What|Removed |Added
Summary|binutils: support zstd |binutils: support zstd for
https://sourceware.org/bugzilla/show_bug.cgi?id=29397
--- Comment #1 from Fangrui Song ---
Add more tools to the list:
* nm
* addr2line
For objcopy --compress-debug-sections=zstd , I think it should apply only to
uncompressed .debug_* sections. If a section is compressed by zlib, the format
sho
: normal
Priority: P2
Component: ld
Assignee: unassigned at sourceware dot org
Reporter: i at maskray dot me
Target Milestone: ---
This should be reproducible with many Linux versions, but I have just checked
some recent commits, e.g
https://sourceware.org/bugzilla/show_bug.cgi?id=25968
Fangrui Song changed:
What|Removed |Added
CC||i at maskray dot me
--- Comment #1
https://sourceware.org/bugzilla/show_bug.cgi?id=25968
Fangrui Song changed:
What|Removed |Added
Summary|plugin_test_1 fails when|gold: --emit-relocs
|UNCONFIRMED |RESOLVED
CC||i at maskray dot me
--- Comment #1 from Fangrui Song ---
Duplicate of PR25968
*** This bug has been marked as a duplicate of bug 25968 ***
--
You are receiving this mail because:
You are on the CC list for the bug.
https://sourceware.org/bugzilla/show_bug.cgi?id=25968
Fangrui Song changed:
What|Removed |Added
CC||806251055 at qq dot com
--- Comment #2
https://sourceware.org/bugzilla/show_bug.cgi?id=25968
--- Comment #3 from Fangrui Song ---
See https://github.com/llvm/llvm-project/issues/57545 for a llvm-project/bolt
--emit-relocs link issue due to this gold bug.
--
You are receiving this mail because:
You are on the CC list for the bug.
https://sourceware.org/bugzilla/show_bug.cgi?id=25968
Fangrui Song changed:
What|Removed |Added
Summary|gold: --emit-relocs |gold: --emit-relocs
Component: binutils
Assignee: unassigned at sourceware dot org
Reporter: i at maskray dot me
Target Milestone: ---
% cat a.yaml
--- !ELF
FileHeader:
Class: ELFCLASS64
Data:ELFDATA2LSB
Type:ET_EXEC
Machine: EM_X86_64
Sections:
- Name
https://sourceware.org/bugzilla/show_bug.cgi?id=19109
Fangrui Song changed:
What|Removed |Added
CC||i at maskray dot me
--- Comment #40
https://sourceware.org/bugzilla/show_bug.cgi?id=29397
Fangrui Song changed:
What|Removed |Added
Assignee|unassigned at sourceware dot org |i at maskray dot me
--
You
https://sourceware.org/bugzilla/show_bug.cgi?id=29397
--- Comment #2 from Fangrui Song ---
https://sourceware.org/pipermail/gdb-patches/2022-September/191915.html [PATCH]
binutils, gdb: support zstd compressed debug sections
--
You are receiving this mail because:
You are on the CC list for the
https://sourceware.org/bugzilla/show_bug.cgi?id=29566
--- Comment #2 from Fangrui Song ---
The spec
(https://sourceware.org/gnu-gabi/program-loading-and-dynamic-linking.txt)
doesn't reject it. For a section whose content is a concatenated N items, the
ELF spirits typically allows N==0, as otherwi
https://sourceware.org/bugzilla/show_bug.cgi?id=29397
--- Comment #3 from Fangrui Song ---
(In reply to Fangrui Song from comment #2)
> https://sourceware.org/pipermail/gdb-patches/2022-September/191915.html
> [PATCH] binutils, gdb: support zstd compressed debug sections
The latest version is at
https://sourceware.org/bugzilla/show_bug.cgi?id=29640
--- Comment #1 from Fangrui Song ---
Also, the --decompress option decompresses section content.
--
You are receiving this mail because:
You are on the CC list for the bug.
https://sourceware.org/bugzilla/show_bug.cgi?id=29641
Fangrui Song changed:
What|Removed |Added
See Also||https://sourceware.org/bugz
Priority: P2
Component: gold
Assignee: ccoutant at gmail dot com
Reporter: i at maskray dot me
CC: ian at airs dot com
Target Milestone: ---
dwp needs to decompress compressed .dwo .
gold needs to decompress compressed input sections and compress
https://sourceware.org/bugzilla/show_bug.cgi?id=29397
Fangrui Song changed:
What|Removed |Added
See Also||https://sourceware.org/bugz
https://sourceware.org/bugzilla/show_bug.cgi?id=29641
--- Comment #2 from Fangrui Song ---
bfd/compress.c is used by many utilities (objcopy/addr2line/objdump/etc), but
gas/readelf need to implement their own. gold/dwp share code and need separate
support as well.
https://sourceware.org/pipermai
https://sourceware.org/bugzilla/show_bug.cgi?id=29640
--- Comment #2 from Fangrui Song ---
https://sourceware.org/pipermail/binutils/2022-October/123240.html [PATCH]
readelf: support zstd compressed debug sections [PR 29640]
--
You are receiving this mail because:
You are on the CC list for the
Assignee: unassigned at sourceware dot org
Reporter: i at maskray dot me
Target Milestone: ---
Apple ld64 and llvm-project ld64.lld support -w to suppress warnings. -w was
picked likely because compiler drivers use -w to suppress warnings.
I think -w mildly benefits GNU ld/gold as
https://sourceware.org/bugzilla/show_bug.cgi?id=29654
--- Comment #2 from Fangrui Song ---
(In reply to Nick Clifton from comment #1)
> Created attachment 14403 [details]
> Proposed patch
>
> Hi Fanguri,
>
> Is this patch the kind of thing that you had in mind ?
>
> Cheers
> Nick
Hi Nick,
https://sourceware.org/bugzilla/show_bug.cgi?id=29640
--- Comment #3 from Fangrui Song ---
(In reply to Fangrui Song from comment #2)
> https://sourceware.org/pipermail/binutils/2022-October/123240.html [PATCH]
> readelf: support zstd compressed debug sections [PR 29640]
The patch is stilling wa
https://sourceware.org/bugzilla/show_bug.cgi?id=29640
Fangrui Song changed:
What|Removed |Added
Assignee|unassigned at sourceware dot org |i at maskray dot me
at gmail dot com |i at maskray dot me
Target Milestone|--- |2.40
Resolution|--- |FIXED
--- Comment #3 from Fangrui Song ---
Closed by
https://sourceware.org/git?p=binutils-gdb.git;a=commit;h
Component: ld
Assignee: unassigned at sourceware dot org
Reporter: i at maskray dot me
Target Milestone: ---
cat > a.s <:
401000: 48 c7 c0 e0 ff ff ff movq$-0x20, %rax #
should be $0x0
401007: 66 90 nop
401009: 64 8b 90
(HEAD)
Status: NEW
Severity: normal
Priority: P2
Component: ld
Assignee: unassigned at sourceware dot org
Reporter: i at maskray dot me
Target Milestone: ---
% cat a.s
.attribute 9, "0"
% riscv64-linux-gnu-gcc -c a.s
% ~/De
https://sourceware.org/bugzilla/show_bug.cgi?id=29823
Fangrui Song changed:
What|Removed |Added
CC||kito.cheng at gmail dot com,
Assignee: unassigned at sourceware dot org
Reporter: i at maskray dot me
Target Milestone: ---
llvm-objdump 16 will have a new option --show-all-symbols
(https://reviews.llvm.org/D131589) which prints all symbols during disassembly.
This is useful to know all symbols defined at
https://sourceware.org/bugzilla/show_bug.cgi?id=24784
--- Comment #9 from Fangrui Song ---
rustc runs into this problem as well as it currently somehow defaults to
disable R_X86_64_*GOTPCRELX/R_386_GOT32X.
Since the fix is so trivial, I sent
https://sourceware.org/pipermail/binutils/2023-Januar
https://sourceware.org/bugzilla/show_bug.cgi?id=28824
--- Comment #22 from Fangrui Song ---
> [...] (psykose/alice confirmed lld does not have the problem on alpine, but I
> am not sure if they do the correct thing™ here security-wise -- it's good to
> have a concrete idea here)
lld does the c
|--- |DUPLICATE
CC||i at maskray dot me
--- Comment #1 from Fangrui Song ---
Thanks for +1 on this feature request. I reported it on
https://sourceware.org/bugzilla/show_bug.cgi?id=26119 as well :)
In lld, the feature is also activated
https://sourceware.org/bugzilla/show_bug.cgi?id=26119
Fangrui Song changed:
What|Removed |Added
CC||hiraditya at msn dot com
--- Comment #
https://sourceware.org/bugzilla/show_bug.cgi?id=27565
--- Comment #1 from Fangrui Song ---
Justin Cady wants to add REVERSE to ld.lld in https://reviews.llvm.org/D145381
The semantics seem pretty clear, so ld.lld adopting the feature first may be
fine :)
--
You are receiving this mail because:
https://sourceware.org/bugzilla/show_bug.cgi?id=24784
Fangrui Song changed:
What|Removed |Added
Resolution|INVALID |FIXED
--- Comment #13 from Fangrui Son
https://sourceware.org/bugzilla/show_bug.cgi?id=27565
--- Comment #3 from Fangrui Song ---
(In reply to Nick Clifton from comment #2)
> Created attachment 14772 [details]
> Proposed patch
>
> Hi Fanguri,
>
> What do you think of this patch ? Does it do what you need ?
>
> Cheers
> Nick
H
Component: ld
Assignee: unassigned at sourceware dot org
Reporter: i at maskray dot me
Target Milestone: ---
Hello! I'm considering an option in ld.lld to replace or remove input files
with glob patterns. https://reviews.llvm.org/D148859
--remap-inputs-file= can be spec
https://sourceware.org/bugzilla/show_bug.cgi?id=30374
--- Comment #1 from Fangrui Song ---
I have picked `=` as a separator a la -fdebug-prefix-map=. --remap-inputs= may
be handy to specify just one pattern. Here is an example:
--remap-inputs-file=1.map --remap-inputs-file=2.map --remap-inputs='
Priority: P2
Component: binutils
Assignee: unassigned at sourceware dot org
Reporter: i at maskray dot me
Target Milestone: ---
% cat a.s
call [offset func]
jmp [offset func]
% as -msyntax=intel a.s -o a.o
% objdump -M intel -dr a.o
a.o: file format elf64-x86
https://sourceware.org/bugzilla/show_bug.cgi?id=30426
Fangrui Song changed:
What|Removed |Added
Target||i686* x86_64*
--
You are receiving th
Component: gas
Assignee: unassigned at sourceware dot org
Reporter: i at maskray dot me
Target Milestone: ---
"lga" has been in riscv-asm-manual since the resolution to
https://github.com/riscv-non-isa/riscv-asm-manual/issues/50
In LLVM 17, LLVM integrated assembl
https://sourceware.org/bugzilla/show_bug.cgi?id=30449
Fangrui Song changed:
What|Removed |Added
Target||riscv*-*-*
--
You are receiving this
https://sourceware.org/bugzilla/show_bug.cgi?id=30237
Fangrui Song changed:
What|Removed |Added
CC||i at maskray dot me
--- Comment #5
https://sourceware.org/bugzilla/show_bug.cgi?id=30237
--- Comment #7 from Fangrui Song ---
(In reply to Andreas Schwab from comment #6)
> Since arm32 does not have PT_ARM_ATTRIBUTES it cannot have this problem in
> the first place.
With the PHDRS linker script command, we can customize program h
https://sourceware.org/bugzilla/show_bug.cgi?id=16523
Fangrui Song changed:
What|Removed |Added
CC||i at maskray dot me
--- Comment #1
https://sourceware.org/bugzilla/show_bug.cgi?id=27452
--- Comment #1 from Fangrui Song ---
I think we should just allow SHF_ALLOC | SHF_COMPRESSED sections. Created
https://groups.google.com/g/generic-abi/c/HUVhliUrTG0
The proposed option syntax is: --compress-sections='.debug_*=zlib' . This
app
ty: normal
Priority: P2
Component: binutils
Assignee: unassigned at sourceware dot org
Reporter: i at maskray dot me
Target Milestone: ---
Linkers may place SHF_X86_64_LARGE sections away from regular sections to
alleviate relocation overflow pressure [1]. I
https://sourceware.org/bugzilla/show_bug.cgi?id=30592
--- Comment #1 from Fangrui Song ---
Patch: https://sourceware.org/pipermail/binutils/2023-June/128052.html
--
You are receiving this mail because:
You are on the CC list for the bug.
https://sourceware.org/bugzilla/show_bug.cgi?id=30374
--- Comment #5 from Fangrui Song ---
(In reply to Nick Clifton from comment #4)
> OK, I have decided to commit my patch now, so that it gets into the next
> release. If there are problems we can always reopen this PR.
Thank you! I have tested
Component: binutils
Assignee: unassigned at sourceware dot org
Reporter: i at maskray dot me
Target Milestone: ---
It will be more convenient if --set-section-flags supports toggling a flag,
instead of specifying the full set of flags, e.g.
--set-section-flags .foo=-alloc
|unassigned at sourceware dot org |i at maskray dot me
Resolution|--- |FIXED
Status|NEW |RESOLVED
--- Comment #2 from Fangrui Song ---
https://sourceware.org/git/?p=binutils-gdb.git;a=commit;h=5e24da908dbf6ddeb03e2b194f6b39dea3c660f3
Component: binutils
Assignee: unassigned at sourceware dot org
Reporter: i at maskray dot me
Target Milestone: ---
I almost always prefer readelf -Ws to objdump -t for ELF symbol information as
the former presents all information without distortion. Certain symbol types
have
https://sourceware.org/bugzilla/show_bug.cgi?id=30684
--- Comment #4 from Fangrui Song ---
(In reply to Nick Clifton from comment #3)
> Created attachment 15016 [details]
> Proposed patch
>
> And here is a full patch.
>
> After some more thought, I decided that the new behaviour needed to be ga
Status: NEW
Severity: normal
Priority: P2
Component: gas
Assignee: unassigned at sourceware dot org
Reporter: i at maskray dot me
Target Milestone: ---
Extracted from https://github.com/llvm/llvm-project/issues/63418
```
cat > a.s <
https://sourceware.org/bugzilla/show_bug.cgi?id=30788
Fangrui Song changed:
What|Removed |Added
Target||aarch64*-*
--
You are receiving this
https://sourceware.org/bugzilla/show_bug.cgi?id=30612
Fangrui Song changed:
What|Removed |Added
CC||i at maskray dot me
--- Comment #1
: normal
Priority: P2
Component: ld
Assignee: unassigned at sourceware dot org
Reporter: i at maskray dot me
Target Milestone: ---
From
https://maskray.me/blog/2021-03-14-the-dark-side-of-riscv-linker-relaxation#ld---emit-relocs
(with updated instructions)
For
https://sourceware.org/bugzilla/show_bug.cgi?id=30844
Fangrui Song changed:
What|Removed |Added
CC||jrtc27 at jrtc27 dot com,
https://sourceware.org/bugzilla/show_bug.cgi?id=30844
Fangrui Song changed:
What|Removed |Added
CC||jnoorman at igalia dot com
--
You are
https://sourceware.org/bugzilla/show_bug.cgi?id=30844
--- Comment #2 from Fangrui Song ---
(In reply to Palmer Dabbelt from comment #1)
> Nelson and I are just chatting about this. It's not intentional, but we
> also don't quite know what the right answer is here: there's some relocs we
> can to
Priority: P2
Component: ld
Assignee: unassigned at sourceware dot org
Reporter: i at maskray dot me
Target Milestone: ---
https://sourceware.org/binutils/docs/ld/Output-Section-Fill.html
https://sourceware.org/git/?p=binutils-gdb.git;a=commit;h
https://sourceware.org/bugzilla/show_bug.cgi?id=30844
--- Comment #6 from Fangrui Song ---
(In reply to Alan Modra from comment #5)
> (In reply to Fangrui Song from comment #0)
> > For GNU ld's AArch64/PPC64/x86-64 ports, the --emit-relocs code retains the
> > original relocation type even if a l
https://sourceware.org/bugzilla/show_bug.cgi?id=30907
Fangrui Song changed:
What|Removed |Added
CC||i at maskray dot me
--- Comment #4
Priority: P2
Component: binutils
Assignee: unassigned at sourceware dot org
Reporter: i at maskray dot me
Target Milestone: ---
Recently I have been dealing with a benign multiple definition related to
compiler-rt/lib/builtins and rust-lang/compiler-builtins.
I need
https://sourceware.org/bugzilla/show_bug.cgi?id=30865
--- Comment #5 from Fangrui Song ---
(In reply to Nick Clifton from comment #4)
> Created attachment 15115 [details]
> Proposed patch
Sorry for the late reply but the documentation and test change looks great!
There is a minor typo below
>
||i at maskray dot me
Target Milestone|--- |2.41
Status|UNCONFIRMED |RESOLVED
--- Comment #8 from Fangrui Song ---
Implemented by
https://sourceware.org/git/?p=binutils-gdb.git;a=commit;h
Priority: P2
Component: ld
Assignee: unassigned at sourceware dot org
Reporter: i at maskray dot me
Target Milestone: ---
cat > a.s < a.t
echo 'PROVIDE(x = bar);' > b.t # not used, but worth testing
as a.s -o a.o
ld.lld --gc-sections a.o
https://sourceware.org/bugzilla/show_bug.cgi?id=31158
--- Comment #2 from Fangrui Song ---
Interesting. BFD's behavior depends on whether the assigned symbol is
referenced.
Let's enhance the test.
cat > a.s < a.t
as a.s -o a.o
ld.lld --gc-sections a.o a.t -o a.lld
ld.bfd --gc-sections a.o a.t -o
: binutils
Assignee: unassigned at sourceware dot org
Reporter: i at maskray dot me
Target Milestone: ---
objcopy supports --prefix-symbols to prefix all symbols.
Perhaps --prefix-symbols-remove= can be added to remove the prefix.
For example,
cat > a.s <https://github.co
https://sourceware.org/bugzilla/show_bug.cgi?id=31000
--- Comment #1 from Fangrui Song ---
On the llvm-objcopy side, someone proposes --set-symbol-visibility:
https://github.com/llvm/llvm-project/pull/80872
--
You are receiving this mail because:
You are on the CC list for the bug.
https://sourceware.org/bugzilla/show_bug.cgi?id=30788
Fangrui Song changed:
What|Removed |Added
CC||nsz at gcc dot gnu.org
--
You are rec
https://sourceware.org/bugzilla/show_bug.cgi?id=31000
--- Comment #2 from Fangrui Song ---
(In reply to Fangrui Song from comment #1)
> On the llvm-objcopy side, someone proposes --set-symbol-visibility:
> https://github.com/llvm/llvm-project/pull/80872
The proposal looks like:
.. option:: --se
Severity: normal
Priority: P2
Component: ld
Assignee: unassigned at sourceware dot org
Reporter: i at maskray dot me
Target Milestone: ---
Noticed while investigating the behavior of .rofixup
% cat a.s
.globl foo
foo:
bx lr
.data
.long foo
% ./bin
https://sourceware.org/bugzilla/show_bug.cgi?id=31407
Fangrui Song changed:
What|Removed |Added
Target||arm*-*-uclinuxfdpiceabi
https://sourceware.org/bugzilla/show_bug.cgi?id=31408
Fangrui Song changed:
What|Removed |Added
CC||clyon at gcc dot gnu.org
T
Severity: normal
Priority: P2
Component: ld
Assignee: unassigned at sourceware dot org
Reporter: i at maskray dot me
Target Milestone: ---
% cat a.c
__attribute__((visibility("hidden"))) void fun_hidden();
void *fun_hidden_addr() { return
: NEW
Severity: normal
Priority: P2
Component: ld
Assignee: unassigned at sourceware dot org
Reporter: i at maskray dot me
Target Milestone: ---
% cat a.s
.globl _start, f0, f1
.weak f2
.protected f1
_start: f0: f1: f2: fl: bx lr
.data
.long f0
https://sourceware.org/bugzilla/show_bug.cgi?id=31409
Fangrui Song changed:
What|Removed |Added
CC||clyon at gcc dot gnu.org
--
You are r
https://sourceware.org/bugzilla/show_bug.cgi?id=31409
--- Comment #1 from Fangrui Song ---
bfd/elf32-arm.c:16521
if (eh->fdpic_cnts.funcdesc_cnt > 0)
{
if (htab->root.dynamic_sections_created && h->dynindx == -1
&& !h->forced_local)
if (! bfd_elf_link_record_dynamic
https://sourceware.org/bugzilla/show_bug.cgi?id=27452
--- Comment #2 from Fangrui Song ---
I find it very difficult to handle SHF_ALLOC sections due to data commands,
range extension thunks, and other features requiring fixed-point iteration.
Compressing non-SHF_ALLOC sections alone may yield a
: binutils
Assignee: unassigned at sourceware dot org
Reporter: i at maskray dot me
Target Milestone: ---
The relocation formats REL and RELA for ELF are inefficient. In a release build
of Clang for x86-64, .rela.* sections consume a significant portion
(approximately 20.9%) of
1 - 100 of 440 matches
Mail list logo