Skip to content

Commit c61ef06

Browse files
committed
Revert "overlays/mtk: Fix linker API"
This reverts commit fff0928. This change is cause build issues on Darwin and is not needed and not compatible with current crosstools-ng. Will be re-added once we have a more up to date ctng. Signed-off-by: Anas Nashif <anas.nashif@intel.com>
1 parent 666f881 commit c61ef06

File tree

3 files changed

+1
-7
lines changed

3 files changed

+1
-7
lines changed

overlays/xtensa_mtk_mt818x_adsp/gdb/gdb/xtensa-config.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -555,9 +555,7 @@ xtensa_register_t rmap[] =
555555
XTREG_END
556556
};
557557

558-
extern xtensa_register_t xtensa_rmap[] __attribute__((alias("rmap")));
559558

560-
xtensa_gdbarch_tdep xtensa_tdep (rmap);
561559

562560
#ifdef XTENSA_CONFIG_INSTANTIATE
563561
XTENSA_CONFIG_INSTANTIATE(rmap,16)

overlays/xtensa_mtk_mt8195_adsp/gdb/gdb/xtensa-config.c

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ const xtensa_mask_t xtensa_mask39 = { 1, xtensa_submask39 };
113113

114114

115115
/* Register map. */
116-
xtensa_register_t rmap[] =
116+
static xtensa_register_t rmap[] =
117117
{
118118
/* idx ofs bi sz al targno flags cp typ group name */
119119
XTREG( 0, 0,32, 4, 4,0x0020,0x0006,-2, 9,0x2100,pc, 0,0,0,0,0,0)
@@ -496,6 +496,4 @@ xtensa_register_t rmap[] =
496496
XTREG_END
497497
};
498498

499-
extern xtensa_register_t xtensa_rmap[] __attribute__((alias("rmap")));
500-
501499
xtensa_gdbarch_tdep xtensa_tdep (rmap);

overlays/xtensa_mtk_mt8196_adsp/gdb/gdb/xtensa-config.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -555,9 +555,7 @@ xtensa_register_t rmap[] =
555555
XTREG_END
556556
};
557557

558-
extern xtensa_register_t xtensa_rmap[] __attribute__((alias("rmap")));
559558

560-
xtensa_gdbarch_tdep xtensa_tdep (rmap);
561559

562560
#ifdef XTENSA_CONFIG_INSTANTIATE
563561
XTENSA_CONFIG_INSTANTIATE(rmap,16)

0 commit comments

Comments
 (0)