Skip to content

Commit

Permalink
soc: xtensa: cavs-link.ld: add *(.trace_ctx) sections
Browse files Browse the repository at this point in the history
Copy/paste/diverge struck again; I should have known better.

Fixes very recent and incomplete commit 9a1c5ec ("soc/intel_adsp:
cavs-link.ld: add *(.trace_ctx) sections"), see that commit for details.

Part of the fix for thesofproject/sof/issues/5032

This commit does not change `soc/xtensa/sample_controller/linker.ld`

Signed-off-by: Marc Herbert <[email protected]>
  • Loading branch information
marc-hb authored and MaureenHelm committed Dec 22, 2021
1 parent e4481f8 commit 5d4e08b
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 0 deletions.
3 changes: 3 additions & 0 deletions soc/xtensa/intel_s1000/linker.ld
Original file line number Diff line number Diff line change
Expand Up @@ -412,6 +412,9 @@ SECTIONS
*(.sdata2.*)
*(.gnu.linkonce.s2.*)
KEEP(*(.jcr))
_trace_ctx_start = ABSOLUTE(.);
*(.trace_ctx)
_trace_ctx_end = ABSOLUTE(.);
. = ALIGN(4096);
*(.gna_model)
_data_end = ABSOLUTE(.);
Expand Down
3 changes: 3 additions & 0 deletions soc/xtensa/nxp_adsp/imx8/linker.ld
Original file line number Diff line number Diff line change
Expand Up @@ -390,6 +390,9 @@ SECTIONS
*(.sdata2.*)
*(.gnu.linkonce.s2.*)
KEEP(*(.jcr))
_trace_ctx_start = ABSOLUTE(.);
*(.trace_ctx)
_trace_ctx_end = ABSOLUTE(.);
. = ALIGN(4);
*(.gna_model)
_data_end = ABSOLUTE(.);
Expand Down
3 changes: 3 additions & 0 deletions soc/xtensa/nxp_adsp/imx8m/linker.ld
Original file line number Diff line number Diff line change
Expand Up @@ -390,6 +390,9 @@ SECTIONS
*(.sdata2.*)
*(.gnu.linkonce.s2.*)
KEEP(*(.jcr))
_trace_ctx_start = ABSOLUTE(.);
*(.trace_ctx)
_trace_ctx_end = ABSOLUTE(.);
. = ALIGN(4);
*(.gna_model)
_data_end = ABSOLUTE(.);
Expand Down

0 comments on commit 5d4e08b

Please sign in to comment.