search for: sht_gnu_dwarf64

Displaying 13 results from an estimated 13 matches for "sht_gnu_dwarf64".

2020 Nov 13
4
[LLD] Support DWARF64, debug_info "sorting"
...; OK - thanks for clarifying. I don't really know much/enough about > linker scripts to comment on the rest of the design, and was just > confused/misunderstanding what was being suggested. For .debug_* in object files: DWARF32 -> SHT_PROGBITS (unchanged) DWARF64 -> SHT_DWARF64 or SHT_GNU_DWARF64 In LLD, we will need to allow mixed SHT_PROGBITS and SHT_DWARF64. If all input sections are SHT_DWARF64, the output section type probably should also be SHT_DWARF64. If mixed, SHT_PROGBITS. FWIW I started a generic-abi thread https://groups.google.com/g/generic-abi/c/i2Xio-47QdQ ("Reserve a...
2020 Nov 13
2
[LLD] Support DWARF64, debug_info "sorting"
...tioned this. The section type approach is used this way (in another paragraph): <quote> If we invent a keyword (say, TYPE) to match sections by type, we could use .debug_info 0 : { *(TYPE (SHT_PROGBITS) .debug_info${RELOCATING+ .gnu.linkonce.wi.*}) } .debug_info 0 : { *(TYPE (SHT_GNU_DWARF64) .debug_info) } or .debug_info 0 : { *(TYPE (SHT_PROGBITS) .debug_info${RELOCATING+ .gnu.linkonce.wi.*} TYPE (SHT_GNU_DWARF64) .debug_info) } </quote> > > * It needs a clarification on multiple output section descriptions > > with the same name. > > * It needs a li...
2020 Nov 17
5
[LLD] Support DWARF64, debug_info "sorting"
On Mon, Nov 16, 2020 at 10:42 PM Igor Kudrin <ikudrin at accesssoftek.com> wrote: > > On 14.11.2020 3:42, Fāng-ruì Sòng wrote: > > For .debug_* in object files: > > > > DWARF32 -> SHT_PROGBITS (unchanged) > > DWARF64 -> SHT_DWARF64 or SHT_GNU_DWARF64 > > > > In LLD, we will need to allow mixed SHT_PROGBITS and SHT_DWARF64. If > > all input sections are SHT_DWARF64, the output section type probably > > should also be SHT_DWARF64. > > If mixed, SHT_PROGBITS. > > I am not really sure that we need a new section t...
2020 Nov 14
0
[LLD] Support DWARF64, debug_info "sorting"
...; OK - thanks for clarifying. I don't really know much/enough about > linker scripts to comment on the rest of the design, and was just > confused/misunderstanding what was being suggested. For .debug_* in object files: DWARF32 -> SHT_PROGBITS (unchanged) DWARF64 -> SHT_DWARF64 or SHT_GNU_DWARF64 In LLD, we will need to allow mixed SHT_PROGBITS and SHT_DWARF64. If all input sections are SHT_DWARF64, the output section type probably should also be SHT_DWARF64. If mixed, SHT_PROGBITS. FWIW I started a generic-abi thread https://groups.google.com/g/generic-abi/c/i2Xio-47QdQ ("Reserve a...
2020 Nov 13
0
[LLD] Support DWARF64, debug_info "sorting"
...proach is used this way (in another paragraph): > > <quote> > If we invent a keyword (say, TYPE) to match sections by type, we could use > > .debug_info 0 : { *(TYPE (SHT_PROGBITS) > .debug_info${RELOCATING+ .gnu.linkonce.wi.*}) } > .debug_info 0 : { *(TYPE (SHT_GNU_DWARF64) .debug_info) } > > or > > .debug_info 0 : { *(TYPE (SHT_PROGBITS) > .debug_info${RELOCATING+ .gnu.linkonce.wi.*} TYPE (SHT_GNU_DWARF64) > .debug_info) } > </quote> > > > > * It needs a clarification on multiple output section descriptions > > &gt...
2020 Nov 17
0
[EXTERNAL] Re: [LLD] Support DWARF64, debug_info "sorting"
On 14.11.2020 3:42, Fāng-ruì Sòng wrote: > For .debug_* in object files: > > DWARF32 -> SHT_PROGBITS (unchanged) > DWARF64 -> SHT_DWARF64 or SHT_GNU_DWARF64 > > In LLD, we will need to allow mixed SHT_PROGBITS and SHT_DWARF64. If > all input sections are SHT_DWARF64, the output section type probably > should also be SHT_DWARF64. > If mixed, SHT_PROGBITS. I am not really sure that we need a new section type. This gets a small simplific...
2020 Nov 18
2
[LLD] Support DWARF64, debug_info "sorting"
...020 at 10:42 PM Igor Kudrin <ikudrin at accesssoftek.com> wrote: >>> >>>On 14.11.2020 3:42, Fāng-ruì Sòng wrote: >>>>For .debug_* in object files: >>>> >>>>DWARF32 -> SHT_PROGBITS (unchanged) >>>>DWARF64 -> SHT_DWARF64 or SHT_GNU_DWARF64 >>>> >>>>In LLD, we will need to allow mixed SHT_PROGBITS and SHT_DWARF64. If >>>>all input sections are SHT_DWARF64, the output section type probably >>>>should also be SHT_DWARF64. >>>>If mixed, SHT_PROGBITS. >>> >>>I a...
2020 Nov 17
0
[EXTERNAL] Re: [LLD] Support DWARF64, debug_info "sorting"
...t; On Mon, Nov 16, 2020 at 10:42 PM Igor Kudrin <ikudrin at accesssoftek.com> wrote: >> >> On 14.11.2020 3:42, Fāng-ruì Sòng wrote: >>> For .debug_* in object files: >>> >>> DWARF32 -> SHT_PROGBITS (unchanged) >>> DWARF64 -> SHT_DWARF64 or SHT_GNU_DWARF64 >>> >>> In LLD, we will need to allow mixed SHT_PROGBITS and SHT_DWARF64. If >>> all input sections are SHT_DWARF64, the output section type probably >>> should also be SHT_DWARF64. >>> If mixed, SHT_PROGBITS. >> >> I am not really sure that...
2020 Nov 18
2
[LLD] Support DWARF64, debug_info "sorting"
...M Igor Kudrin <ikudrin at accesssoftek.com> wrote: >> > >> > On 14.11.2020 3:42, Fāng-ruì Sòng wrote: >> > > For .debug_* in object files: >> > > >> > > DWARF32 -> SHT_PROGBITS (unchanged) >> > > DWARF64 -> SHT_DWARF64 or SHT_GNU_DWARF64 >> > > >> > > In LLD, we will need to allow mixed SHT_PROGBITS and SHT_DWARF64. If >> > > all input sections are SHT_DWARF64, the output section type probably >> > > should also be SHT_DWARF64. >> > > If mixed, SHT_PROGBITS. >> >...
2020 Nov 17
0
[LLD] Support DWARF64, debug_info "sorting"
...16, 2020 at 10:42 PM Igor Kudrin <ikudrin at accesssoftek.com> > wrote: > > > > On 14.11.2020 3:42, Fāng-ruì Sòng wrote: > > > For .debug_* in object files: > > > > > > DWARF32 -> SHT_PROGBITS (unchanged) > > > DWARF64 -> SHT_DWARF64 or SHT_GNU_DWARF64 > > > > > > In LLD, we will need to allow mixed SHT_PROGBITS and SHT_DWARF64. If > > > all input sections are SHT_DWARF64, the output section type probably > > > should also be SHT_DWARF64. > > > If mixed, SHT_PROGBITS. > > > > I am not reall...
2020 Nov 18
0
[LLD] Support DWARF64, debug_info "sorting"
...020 at 10:42 PM Igor Kudrin <ikudrin at accesssoftek.com> wrote: >>> >>>On 14.11.2020 3:42, Fāng-ruì Sòng wrote: >>>>For .debug_* in object files: >>>> >>>>DWARF32 -> SHT_PROGBITS (unchanged) >>>>DWARF64 -> SHT_DWARF64 or SHT_GNU_DWARF64 >>>> >>>>In LLD, we will need to allow mixed SHT_PROGBITS and SHT_DWARF64. If >>>>all input sections are SHT_DWARF64, the output section type probably >>>>should also be SHT_DWARF64. >>>>If mixed, SHT_PROGBITS. >>> >>>I a...
2020 Nov 18
0
[LLD] Support DWARF64, debug_info "sorting"
...softek.com> > wrote: > >> > > >> > On 14.11.2020 3:42, Fāng-ruì Sòng wrote: > >> > > For .debug_* in object files: > >> > > > >> > > DWARF32 -> SHT_PROGBITS (unchanged) > >> > > DWARF64 -> SHT_DWARF64 or SHT_GNU_DWARF64 > >> > > > >> > > In LLD, we will need to allow mixed SHT_PROGBITS and SHT_DWARF64. If > >> > > all input sections are SHT_DWARF64, the output section type probably > >> > > should also be SHT_DWARF64. > >> > > If mixed, SHT...
2020 Nov 13
2
[LLD] Support DWARF64, debug_info "sorting"
I got replies from Nick Clifton and Michael Matz: https://sourceware.org/pipermail/binutils/2020-November/114116.html (and its reply). I have mentioned (a) the difficulty of the detecting-DWARF64-by-first-relocation approach and (b) the section type approach in my reply there https://sourceware.org/pipermail/binutils/2020-November/114125.html (a) My prototype has made me feel uneasy with this