> On Aug 6, 2020, at 11:08 PM, Ingo Molnar wrote:
>
>
> * changhuaixin wrote:
>
>> Hi, Ingo
>>
>> Another way to write SHT_PROGBITS is using elf_create_section to write
>> orc_lookup table headers, when orc_unwind_ip table and orc_unwind table are
>> written. Is this a better solution?
* changhuaixin wrote:
> Hi, Ingo
>
> Another way to write SHT_PROGBITS is using elf_create_section to write
> orc_lookup table headers, when orc_unwind_ip table and orc_unwind table are
> written. Is this a better solution?
>
> diff --git a/tools/objtool/orc_gen.c b/tools/objtool/orc_gen.c
Hi, Ingo
Another way to write SHT_PROGBITS is using elf_create_section to write
orc_lookup table headers, when orc_unwind_ip table and orc_unwind table are
written. Is this a better solution?
diff --git a/tools/objtool/orc_gen.c b/tools/objtool/orc_gen.c
index 3f98dcfbc177..860d4dcec8e6 100644
* Huaixin Chang wrote:
> In order to edit orc_lookup table via sorttable, type of section
> orc_lookup needs to be SHT_PROGBITS instead of SHT_NOBITS.
>
> Linker script doesn't seem to allow manual specification of the section
> type, so just write a byte into the section instead.
>
>
In order to edit orc_lookup table via sorttable, type of section
orc_lookup needs to be SHT_PROGBITS instead of SHT_NOBITS.
Linker script doesn't seem to allow manual specification of the section
type, so just write a byte into the section instead.
Signed-off-by: Josh Poimboeuf
Signed-off-by:
In order to edit orc_lookup table via sorttable, type of section
orc_lookup needs to be SHT_PROGBITS instead of SHT_NOBITS.
Linker script doesn't seem to allow manual specification of the section
type, so just write a byte into the section instead.
Signed-off-by: Josh Poimboeuf
Signed-off-by:
In order to edit orc_lookup table via sorttable, type of section
orc_lookup needs to be SHT_PROGBITS instead of SHT_NOBITS.
Linker script doesn't seem to allow manual specification of the section
type, so just write a byte into the section instead.
Signed-off-by: Josh Poimboeuf
Signed-off-by:
7 matches
Mail list logo