From 317dcd908f8e29c537d01043fb3eed1ea078b7fd Mon Sep 17 00:00:00 2001 From: Daniel Leung Date: Fri, 19 Mar 2021 13:35:19 -0700 Subject: [PATCH] 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 --- scripts/gen_kobject_list.py | 1 - 1 file changed, 1 deletion(-) diff --git a/scripts/gen_kobject_list.py b/scripts/gen_kobject_list.py index 2d54fcc048c..93f2ed80e80 100755 --- a/scripts/gen_kobject_list.py +++ b/scripts/gen_kobject_list.py @@ -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):