https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112849

--- Comment #2 from Indu Bhagat <ibhagat at gcc dot gnu.org> ---
I think its also a good idea to propose a patch to btf.rst upstream to clearly
state something to the like of:

  - What variables have an associated BTF_KIND_DATASEC entry 
  - In "2.2.15 BTF_KIND_DATASEC"
    "struct btf_type" encoding requirement:
    * "name_off": offset to a valid name associated with a variable or
                  one of .data/.bss/.rodata
    --> change to -->
    * "name_off": offset to a valid section name associated with a variable 
                  or one of .data/.bss/.rodata

Reply via email to