scripts: gen_kobject_list: no need to specify linker section

There is no need to specify linker section for variables in
the output. The compiled object file from the produced
source file will be further processed to have them renamed
anyway.

Signed-off-by: Daniel Leung <daniel.leung@intel.com>
This commit is contained in:
Daniel Leung 2021-03-19 13:35:19 -07:00 committed by Anas Nashif
parent c3711b3446
commit 317dcd908f

View File

@ -858,7 +858,6 @@ def write_gperf_table(fp, syms, objs, little_endian, static_begin, static_end):
# Generate the array of already mapped thread indexes
fp.write('\n')
fp.write('Z_GENERIC_SECTION(.kobject_data.data) ')
fp.write('uint8_t _thread_idx_map[%d] = {' % (thread_max_bytes))
for i in range(0, thread_max_bytes):