https://sourceware.org/bugzilla/show_bug.cgi?id=33871
Bug ID: 33871
Summary: bpf-ld: string literal merge corrupts pointers
(off-by-one in .rodata)
Product: binutils
Version: 2.44
Status: NEW
Severity: normal
Priority: P2
Component: ld
Assignee: unassigned at sourceware dot org
Reporter: jose.marchesi at oracle dot com
Target Milestone: ---
>From https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1126689:
When linking BPF objects, bpf-ld merges string literals incorrectly. The
resulting literal addresses in the final binary are shifted by one byte,
so literals point into the middle of other merged strings. This breaks
code that relies on correct literal pointers.
--
You are receiving this mail because:
You are on the CC list for the bug.