Re: patch: nm(1): add support for symbols created with -ffunction-sections

2021-11-06 Thread George Koehler
On Sat, 6 Nov 2021 15:20:03 +0100 Sebastien Marie wrote: > When an object is compiled using -ffunction-sections... > The following diff makes nm(1) to properly mark the function 'T', by > recognize ".text.*" sections: ok gkoehler@ nm(1) has more problems. If one compiles with -fdata-sections,

Re: patch: nm(1): add support for symbols created with -ffunction-sections

2021-11-06 Thread Antoine Jacoutot
On Sat, Nov 06, 2021 at 03:20:03PM +0100, Sebastien Marie wrote: > Hi, > > aja@ shows me some problems with x11/gnome/librsvg update (the port is > Rust based), and I finally tracked the problem inside nm(1). > > I will not speak of Rust anymore, and will use only C for the example. > > When an

patch: nm(1): add support for symbols created with -ffunction-sections

2021-11-06 Thread Sebastien Marie
Hi, aja@ shows me some problems with x11/gnome/librsvg update (the port is Rust based), and I finally tracked the problem inside nm(1). I will not speak of Rust anymore, and will use only C for the example. When an object is compiled using -ffunction-sections, the compiler/linker will use one