arch: sparc: Remove unused offset symbols

Removes unused offset symbols under the SPARC architecture.

Signed-off-by: Peter Mitsis <peter.mitsis@intel.com>
This commit is contained in:
Peter Mitsis 2023-02-16 15:22:39 -05:00 committed by Fabio Baltieri
parent 66af4f443d
commit 9b61418427
2 changed files with 0 additions and 35 deletions

View file

@ -22,31 +22,20 @@ GEN_OFFSET_SYM(_callee_saved_t, psr);
GEN_OFFSET_SYM(_callee_saved_t, l0_and_l1);
GEN_OFFSET_SYM(_callee_saved_t, l2);
GEN_OFFSET_SYM(_callee_saved_t, l3);
GEN_OFFSET_SYM(_callee_saved_t, l4);
GEN_OFFSET_SYM(_callee_saved_t, l5);
GEN_OFFSET_SYM(_callee_saved_t, l6);
GEN_OFFSET_SYM(_callee_saved_t, l7);
GEN_OFFSET_SYM(_callee_saved_t, i0);
GEN_OFFSET_SYM(_callee_saved_t, i1);
GEN_OFFSET_SYM(_callee_saved_t, i2);
GEN_OFFSET_SYM(_callee_saved_t, i3);
GEN_OFFSET_SYM(_callee_saved_t, i4);
GEN_OFFSET_SYM(_callee_saved_t, i5);
GEN_OFFSET_SYM(_callee_saved_t, i6);
GEN_OFFSET_SYM(_callee_saved_t, i7);
GEN_OFFSET_SYM(_callee_saved_t, o6);
GEN_OFFSET_SYM(_callee_saved_t, o7);
/* esf member offsets */
GEN_OFFSET_SYM(z_arch_esf_t, out);
GEN_OFFSET_SYM(z_arch_esf_t, global);
GEN_OFFSET_SYM(z_arch_esf_t, pc);
GEN_OFFSET_SYM(z_arch_esf_t, npc);
GEN_OFFSET_SYM(z_arch_esf_t, psr);
GEN_OFFSET_SYM(z_arch_esf_t, wim);
GEN_OFFSET_SYM(z_arch_esf_t, tbr);
GEN_OFFSET_SYM(z_arch_esf_t, y);
GEN_ABSOLUTE_SYM(__z_arch_esf_t_SIZEOF, STACK_ROUND_UP(sizeof(z_arch_esf_t)));
/*

View file

@ -18,51 +18,27 @@
#define _thread_offset_to_l2 \
(___thread_t_callee_saved_OFFSET + ___callee_saved_t_l2_OFFSET)
#define _thread_offset_to_l3 \
(___thread_t_callee_saved_OFFSET + ___callee_saved_t_l3_OFFSET)
#define _thread_offset_to_l4 \
(___thread_t_callee_saved_OFFSET + ___callee_saved_t_l4_OFFSET)
#define _thread_offset_to_l5 \
(___thread_t_callee_saved_OFFSET + ___callee_saved_t_l5_OFFSET)
#define _thread_offset_to_l6 \
(___thread_t_callee_saved_OFFSET + ___callee_saved_t_l6_OFFSET)
#define _thread_offset_to_l7 \
(___thread_t_callee_saved_OFFSET + ___callee_saved_t_l7_OFFSET)
#define _thread_offset_to_i0 \
(___thread_t_callee_saved_OFFSET + ___callee_saved_t_i0_OFFSET)
#define _thread_offset_to_i1 \
(___thread_t_callee_saved_OFFSET + ___callee_saved_t_i1_OFFSET)
#define _thread_offset_to_i2 \
(___thread_t_callee_saved_OFFSET + ___callee_saved_t_i2_OFFSET)
#define _thread_offset_to_i3 \
(___thread_t_callee_saved_OFFSET + ___callee_saved_t_i3_OFFSET)
#define _thread_offset_to_i4 \
(___thread_t_callee_saved_OFFSET + ___callee_saved_t_i4_OFFSET)
#define _thread_offset_to_i5 \
(___thread_t_callee_saved_OFFSET + ___callee_saved_t_i5_OFFSET)
#define _thread_offset_to_i6 \
(___thread_t_callee_saved_OFFSET + ___callee_saved_t_i6_OFFSET)
#define _thread_offset_to_i7 \
(___thread_t_callee_saved_OFFSET + ___callee_saved_t_i7_OFFSET)
#define _thread_offset_to_o6 \
(___thread_t_callee_saved_OFFSET + ___callee_saved_t_o6_OFFSET)
#define _thread_offset_to_o7 \
(___thread_t_callee_saved_OFFSET + ___callee_saved_t_o7_OFFSET)
#define _thread_offset_to_psr \
(___thread_t_callee_saved_OFFSET + ___callee_saved_t_psr_OFFSET)