Re: [PATCH] strip: keep .ctf section in stripped file

2022-06-30 Thread Jose E. Marchesi via Elfutils-devel
> Hi Guys, > > I apologise - I know that Jose CC'ed me on this topic, but I have lost > the email, so I am creating this post instead. > >> What about using an OS-specific section flag in elf.h, something like: >> #define SHF_GNU_PERSISTENT 0x0ff1 /* Section must not be >> stripped. */ >

Re: [PATCH] strip: keep .ctf section in stripped file

2022-06-07 Thread Nick Clifton via Elfutils-devel
Hi Guys, I apologise - I know that Jose CC'ed me on this topic, but I have lost the email, so I am creating this post instead. What about using an OS-specific section flag in elf.h, something like: #define SHF_GNU_PERSISTENT 0x0ff1 /* Section must not be stripped. */ I rather like

Re: [PATCH] strip: keep .ctf section in stripped file

2022-05-31 Thread Guillermo E. Martinez via Elfutils-devel
On Tuesday, May 31, 2022 2:06:26 AM CDT Mark Wielaard wrote: Hi, Mark > > On Mon, May 30, 2022 at 09:26:19PM -0500, Guillermo E. Martinez via > Elfutils-devel wrote: > > Hello elfutils team, > > > > This patch is meant to avoid remove the CTF section in > > stripped files. Please let me know yo

Re: [PATCH] strip: keep .ctf section in stripped file

2022-05-31 Thread Jose E. Marchesi via Elfutils-devel
> [Added Nick in CC.] > >> Hi Guillermo, >> >> On Mon, May 30, 2022 at 09:26:19PM -0500, Guillermo E. Martinez via >> Elfutils-devel wrote: >>> Hello elfutils team, >>> >>> This patch is meant to avoid remove the CTF section in >>> stripped files. Please let me know your thoughts. >>> >>> CTF

Re: [PATCH] strip: keep .ctf section in stripped file

2022-05-31 Thread Jose E. Marchesi via Elfutils-devel
[Added Nick in CC.] > Hi Guillermo, > > On Mon, May 30, 2022 at 09:26:19PM -0500, Guillermo E. Martinez via > Elfutils-devel wrote: >> Hello elfutils team, >> >> This patch is meant to avoid remove the CTF section in >> stripped files. Please let me know your thoughts. >> >> CTF debug format

Re: [PATCH] strip: keep .ctf section in stripped file

2022-05-31 Thread Mark Wielaard
Hi Guillermo, On Mon, May 30, 2022 at 09:26:19PM -0500, Guillermo E. Martinez via Elfutils-devel wrote: > Hello elfutils team, > > This patch is meant to avoid remove the CTF section in > stripped files. Please let me know your thoughts. > > CTF debug format was designed to be present in stripp

[PATCH] strip: keep .ctf section in stripped file

2022-05-30 Thread Guillermo E. Martinez via Elfutils-devel
Hello elfutils team, This patch is meant to avoid remove the CTF section in stripped files. Please let me know your thoughts. Kind regard, Guillermo CTF debug format was designed to be present in stripped files, so this section should not be removed, so a new --remove-ctf option is added to in