File tree Expand file tree Collapse file tree
ggml/src/ggml-et/et-kernels Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2222 # unimplemented instructions are found
2323 echo -e " BUILD ERROR: Executable file ${TARGET_DEBUG} contains unimplemented instructions. Please review the lines of code listed in ${BAD_INST_FILE} "
2424 echo -e " \t For further details, please read paragraph 3.4 of the ETSoC-1 Programmer's Reference Manual (PRM)"
25-
25+
2626 # addr2line
2727 grep ${UNIMPLEMENTED_EXPR} ${TARGET_ASM} | cut -d: -f 1 | ${ADDR2LINE} -i -e ${TARGET_DEBUG} > ${BAD_INST_FILE}
2828 grep ${UNIMPLEMENTED_EXPR} ${TARGET_ASM} >> ${BAD_INST_FILE}
3131 echo " ------------------------------------------------------------"
3232 exit 1
3333
34- else
34+ else
3535 rm -f ${BAD_INST_FILE}
3636fi
Original file line number Diff line number Diff line change @@ -10,23 +10,23 @@ SECTIONS
1010{
1111 /* Start at the base address passed by -Wl,--defsym=BASE_ADDRESS=... */
1212 . = BASE_ADDRESS ;
13-
13+
1414 /* Export entry point symbol for runtime compatibility */
1515 KERNEL_UMODE_ENTRY = BASE_ADDRESS ;
16-
16+
1717 /* Initialization section - must come first */
18- .text.init :
18+ .text.init :
1919 {
2020 *(.text .init )
2121 }
22-
22+
2323 /* Align to cache line boundary */
2424 . = ALIGN (64 );
25-
25+
2626 /* Main text section for code */
27- .text : {
28- *(.text )
29- *(.text .*)
27+ .text : {
28+ *(.text )
29+ *(.text .*)
3030 }
3131 . = ALIGN (64 );
3232
@@ -35,11 +35,11 @@ SECTIONS
3535 {
3636 _data_start = .;
3737 . = ALIGN (64 );
38-
38+
3939 /* Small data section and global pointer */
4040 *(.sdata .sdata .*)
4141 PROVIDE ( __global_pointer$ = . + 0x800 );
42-
42+
4343 /* Regular data */
4444 *(.data .data .*)
4545 . = ALIGN (64 );
@@ -64,9 +64,9 @@ SECTIONS
6464 *(.tdata *)
6565 . = ALIGN (64 );
6666 }
67- __tdata_start = ADDR (.tdata );
68-
69- .tbss : {
67+ __tdata_start = ADDR (.tdata );
68+
69+ .tbss : {
7070 __tbss_start = .;
7171 *(.tbss *)
7272 }
@@ -78,7 +78,7 @@ SECTIONS
7878 .tls -alloc ALIGN (64 ) (NOLOAD) : {
7979 __tls_alloc_start = .;
8080 . = . + (ABSOLUTE (__tbss_end) - ABSOLUTE (__tdata_start)) * MAX_HARTS ;
81- }
81+ }
8282
8383 /* End of kernel image */
8484 _end = .;
You can’t perform that action at this time.
0 commit comments