Re: [PATCH v4 11/17] dump/dump: Add section string table support

2022-08-01 Thread Janosch Frank
On 7/29/22 21:35, Janis Schoetterl-Glausch wrote: On 7/26/22 11:22, Janosch Frank wrote: As sections don't have a type like the notes do we need another way to Having a string table seems like a good idea to me, as we don't know the requirements any architecture might have, but sections do hav

Re: [PATCH v4 11/17] dump/dump: Add section string table support

2022-08-01 Thread Janosch Frank
On 7/28/22 15:41, Marc-André Lureau wrote: Hi On Tue, Jul 26, 2022 at 6:26 PM Janosch Frank wrote: On 7/26/22 15:12, Marc-André Lureau wrote: On Tue, Jul 26, 2022 at 4:55 PM Janosch Frank wrote: On 7/26/22 13:25, Marc-André Lureau wrote: Hi On Tue, Jul 26, 2022 at 1:23 PM Janosch Fran

Re: [PATCH v4 11/17] dump/dump: Add section string table support

2022-07-29 Thread Janis Schoetterl-Glausch
On 7/26/22 11:22, Janosch Frank wrote: > As sections don't have a type like the notes do we need another way to Having a string table seems like a good idea to me, as we don't know the requirements any architecture might have, but sections do have sh_type. Could we use one of those, e.g. one of th

Re: [PATCH v4 11/17] dump/dump: Add section string table support

2022-07-28 Thread Marc-André Lureau
Hi On Tue, Jul 26, 2022 at 6:26 PM Janosch Frank wrote: > On 7/26/22 15:12, Marc-André Lureau wrote: > > On Tue, Jul 26, 2022 at 4:55 PM Janosch Frank > wrote: > > > >> On 7/26/22 13:25, Marc-André Lureau wrote: > >>> Hi > >>> > >>> On Tue, Jul 26, 2022 at 1:23 PM Janosch Frank > >> wrote: > >

Re: [PATCH v4 11/17] dump/dump: Add section string table support

2022-07-26 Thread Janosch Frank
On 7/26/22 15:12, Marc-André Lureau wrote: On Tue, Jul 26, 2022 at 4:55 PM Janosch Frank wrote: On 7/26/22 13:25, Marc-André Lureau wrote: Hi On Tue, Jul 26, 2022 at 1:23 PM Janosch Frank wrote: As sections don't have a type like the notes do we need another way to determine their conten

Re: [PATCH v4 11/17] dump/dump: Add section string table support

2022-07-26 Thread Marc-André Lureau
On Tue, Jul 26, 2022 at 4:55 PM Janosch Frank wrote: > On 7/26/22 13:25, Marc-André Lureau wrote: > > Hi > > > > On Tue, Jul 26, 2022 at 1:23 PM Janosch Frank > wrote: > >> > >> As sections don't have a type like the notes do we need another way to > >> determine their contents. The string table

Re: [PATCH v4 11/17] dump/dump: Add section string table support

2022-07-26 Thread Janosch Frank
On 7/26/22 13:25, Marc-André Lureau wrote: Hi On Tue, Jul 26, 2022 at 1:23 PM Janosch Frank wrote: As sections don't have a type like the notes do we need another way to determine their contents. The string table allows us to assign each section an identification string which architectures ca

Re: [PATCH v4 11/17] dump/dump: Add section string table support

2022-07-26 Thread Marc-André Lureau
Hi On Tue, Jul 26, 2022 at 1:23 PM Janosch Frank wrote: > > As sections don't have a type like the notes do we need another way to > determine their contents. The string table allows us to assign each > section an identification string which architectures can then use to > tag their sections with

[PATCH v4 11/17] dump/dump: Add section string table support

2022-07-26 Thread Janosch Frank
As sections don't have a type like the notes do we need another way to determine their contents. The string table allows us to assign each section an identification string which architectures can then use to tag their sections with. There will be no string table if the architecture doesn't add cus