Re: [PATCH] ar: Replace one alloca use by xmalloc

2024-05-12 Thread Mark Wielaard
Hi Aaron, On Fri, May 10, 2024 at 05:16:06PM -0400, Aaron Merey wrote: > On Tue, Apr 30, 2024 at 10:39 AM Mark Wielaard wrote: > > > > This alloca use is inside a lexical block and is used to replace one > > element of argv. Use a function local variable, xmalloc and free to > > make memory usage

[Bug libdw/31447] Provide a public debug section relocation function

2024-05-12 Thread mark at klomp dot org
https://sourceware.org/bugzilla/show_bug.cgi?id=31447 --- Comment #3 from Mark Wielaard --- Yes, just process the .rela.debug_* sections. Note that you don't need to depend on the exact name. You can follow the section header sh_info field, which points to the section (number) to which the reloca

[Bug libdw/31447] Provide a public debug section relocation function

2024-05-12 Thread dichen at redhat dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=31447 --- Comment #2 from Di Chen --- Hey @mjw ``` $ eu-readelf -a qq.o | grep Type Type: REL (Relocatable file) $ eu-readelf -S qq.o | grep REL [ 2] .rela.text RELA 04b8 0048 24 I 19 1 8 [ 6] .r