Re: Patch regarding addition of .symtab while generating object file from libiberty [WIP]

2023-06-26 Thread Rishi Raj via Gcc
On Mon, 26 Jun 2023 at 23:24, Jan Hubicka wrote: > > > > +simple_object_write_add_symbol(simple_object_write *sobj, const char > > > *name, > > > > +size_t size, unsigned int align); > > > > > > Symbols has much more properties in addition to sizes and alignments. > > > We will eventually need

Re: Patch regarding addition of .symtab while generating object file from libiberty [WIP]

2023-06-26 Thread Jan Hubicka via Gcc
> > > +simple_object_write_add_symbol(simple_object_write *sobj, const char > > *name, > > > +size_t size, unsigned int align); > > > > Symbols has much more properties in addition to sizes and alignments. > > We will eventually need to get dwarf writting, so we will need to > > support them.

Re: Patch regarding addition of .symtab while generating object file from libiberty [WIP]

2023-06-26 Thread Rishi Raj via Gcc
On Sun, 25 Jun 2023 at 04:18, Jan Hubicka wrote: > > Hi, > Hi, > I am sorry for late reaction. > No problem! > > I am working on the GSOC project "Bypass Assembler when generating LTO > > object files." So as a first step, I am adding .symtab along with > > __gnu_lto_slim symbol into it so that

Re: Patch regarding addition of .symtab while generating object file from libiberty [WIP]

2023-06-24 Thread Jan Hubicka via Gcc
> Hi, Hi, I am sorry for late reaction. > I am working on the GSOC project "Bypass Assembler when generating LTO > object files." So as a first step, I am adding .symtab along with > __gnu_lto_slim symbol into it so that at a later stage, it can be > recognized that this object file has been

Patch regarding addition of .symtab while generating object file from libiberty [WIP]

2023-06-19 Thread Rishi Raj via Gcc
Hi, I am working on the GSOC project "Bypass Assembler when generating LTO object files." So as a first step, I am adding .symtab along with __gnu_lto_slim symbol into it so that at a later stage, it can be recognized that this object file has been produced using -flto enabled. This patch is