make it possible to run via code
This commit is contained in:
@ -1,4 +1,4 @@
|
||||
ARM GAS /tmp/cccbubnS.s page 1
|
||||
ARM GAS /tmp/cchVZf69.s page 1
|
||||
|
||||
|
||||
1 .cpu cortex-m4
|
||||
@ -58,7 +58,7 @@ ARM GAS /tmp/cccbubnS.s page 1
|
||||
28:Core/Src/syscalls.c **** #include <signal.h>
|
||||
29:Core/Src/syscalls.c **** #include <time.h>
|
||||
30:Core/Src/syscalls.c **** #include <sys/time.h>
|
||||
ARM GAS /tmp/cccbubnS.s page 2
|
||||
ARM GAS /tmp/cchVZf69.s page 2
|
||||
|
||||
|
||||
31:Core/Src/syscalls.c **** #include <sys/times.h>
|
||||
@ -118,7 +118,7 @@ ARM GAS /tmp/cccbubnS.s page 1
|
||||
65 .thumb_func
|
||||
67 _kill:
|
||||
68 .LVL0:
|
||||
ARM GAS /tmp/cccbubnS.s page 3
|
||||
ARM GAS /tmp/cchVZf69.s page 3
|
||||
|
||||
|
||||
69 .LFB27:
|
||||
@ -178,7 +178,7 @@ ARM GAS /tmp/cccbubnS.s page 1
|
||||
63:Core/Src/syscalls.c **** _kill(status, -1);
|
||||
114 .loc 1 63 3 is_stmt 1 view .LVU15
|
||||
115 0002 4FF0FF31 mov r1, #-1
|
||||
ARM GAS /tmp/cccbubnS.s page 4
|
||||
ARM GAS /tmp/cchVZf69.s page 4
|
||||
|
||||
|
||||
116 0006 FFF7FEFF bl _kill
|
||||
@ -238,7 +238,7 @@ ARM GAS /tmp/cccbubnS.s page 1
|
||||
161 000a FFF7FEFF bl __io_getchar
|
||||
162 .LVL7:
|
||||
163 .loc 1 74 9 discriminator 3 view .LVU28
|
||||
ARM GAS /tmp/cccbubnS.s page 5
|
||||
ARM GAS /tmp/cchVZf69.s page 5
|
||||
|
||||
|
||||
164 000e 2146 mov r1, r4
|
||||
@ -298,7 +298,7 @@ ARM GAS /tmp/cccbubnS.s page 1
|
||||
210 .loc 1 82 3 is_stmt 1 view .LVU38
|
||||
83:Core/Src/syscalls.c **** int DataIdx;
|
||||
211 .loc 1 83 3 view .LVU39
|
||||
ARM GAS /tmp/cccbubnS.s page 6
|
||||
ARM GAS /tmp/cchVZf69.s page 6
|
||||
|
||||
|
||||
84:Core/Src/syscalls.c ****
|
||||
@ -358,7 +358,7 @@ ARM GAS /tmp/cccbubnS.s page 1
|
||||
256 @ link register save eliminated.
|
||||
94:Core/Src/syscalls.c **** (void)file;
|
||||
257 .loc 1 94 3 view .LVU52
|
||||
ARM GAS /tmp/cccbubnS.s page 7
|
||||
ARM GAS /tmp/cchVZf69.s page 7
|
||||
|
||||
|
||||
95:Core/Src/syscalls.c **** return -1;
|
||||
@ -418,7 +418,7 @@ ARM GAS /tmp/cccbubnS.s page 1
|
||||
105:Core/Src/syscalls.c ****
|
||||
106:Core/Src/syscalls.c **** int _isatty(int file)
|
||||
107:Core/Src/syscalls.c **** {
|
||||
ARM GAS /tmp/cccbubnS.s page 8
|
||||
ARM GAS /tmp/cchVZf69.s page 8
|
||||
|
||||
|
||||
306 .loc 1 107 1 is_stmt 1 view -0
|
||||
@ -478,7 +478,7 @@ ARM GAS /tmp/cccbubnS.s page 1
|
||||
352 .thumb
|
||||
353 .thumb_func
|
||||
355 _open:
|
||||
ARM GAS /tmp/cccbubnS.s page 9
|
||||
ARM GAS /tmp/cchVZf69.s page 9
|
||||
|
||||
|
||||
356 .LVL26:
|
||||
@ -538,7 +538,7 @@ ARM GAS /tmp/cccbubnS.s page 1
|
||||
401 .cfi_def_cfa_offset 8
|
||||
402 .cfi_offset 3, -8
|
||||
403 .cfi_offset 14, -4
|
||||
ARM GAS /tmp/cccbubnS.s page 10
|
||||
ARM GAS /tmp/cchVZf69.s page 10
|
||||
|
||||
|
||||
130:Core/Src/syscalls.c **** (void)status;
|
||||
@ -598,7 +598,7 @@ ARM GAS /tmp/cccbubnS.s page 1
|
||||
449 .LFE37:
|
||||
451 .section .text._times,"ax",%progbits
|
||||
452 .align 1
|
||||
ARM GAS /tmp/cccbubnS.s page 11
|
||||
ARM GAS /tmp/cchVZf69.s page 11
|
||||
|
||||
|
||||
453 .global _times
|
||||
@ -658,7 +658,7 @@ ARM GAS /tmp/cccbubnS.s page 1
|
||||
497 .loc 1 153 1 is_stmt 0 view .LVU106
|
||||
498 0006 0020 movs r0, #0
|
||||
499 .LVL35:
|
||||
ARM GAS /tmp/cccbubnS.s page 12
|
||||
ARM GAS /tmp/cchVZf69.s page 12
|
||||
|
||||
|
||||
500 .loc 1 153 1 view .LVU107
|
||||
@ -718,7 +718,7 @@ ARM GAS /tmp/cccbubnS.s page 1
|
||||
164:Core/Src/syscalls.c **** {
|
||||
548 .loc 1 164 1 is_stmt 1 view -0
|
||||
549 .cfi_startproc
|
||||
ARM GAS /tmp/cccbubnS.s page 13
|
||||
ARM GAS /tmp/cchVZf69.s page 13
|
||||
|
||||
|
||||
550 @ args = 0, pretend = 0, frame = 0
|
||||
@ -778,7 +778,7 @@ ARM GAS /tmp/cccbubnS.s page 1
|
||||
596 0008 0360 str r3, [r0]
|
||||
175:Core/Src/syscalls.c **** return -1;
|
||||
597 .loc 1 175 3 is_stmt 1 view .LVU128
|
||||
ARM GAS /tmp/cccbubnS.s page 14
|
||||
ARM GAS /tmp/cchVZf69.s page 14
|
||||
|
||||
|
||||
176:Core/Src/syscalls.c **** }
|
||||
@ -809,51 +809,51 @@ ARM GAS /tmp/cccbubnS.s page 1
|
||||
627 .file 7 "/home/david/.config/Code/User/globalStorage/bmd.stm32-for-vscode/@xpack-dev-tools/arm-non
|
||||
628 .file 8 "/home/david/.config/Code/User/globalStorage/bmd.stm32-for-vscode/@xpack-dev-tools/arm-non
|
||||
629 .file 9 "/home/david/.config/Code/User/globalStorage/bmd.stm32-for-vscode/@xpack-dev-tools/arm-non
|
||||
ARM GAS /tmp/cccbubnS.s page 15
|
||||
ARM GAS /tmp/cchVZf69.s page 15
|
||||
|
||||
|
||||
DEFINED SYMBOLS
|
||||
*ABS*:0000000000000000 syscalls.c
|
||||
/tmp/cccbubnS.s:21 .text.initialise_monitor_handles:0000000000000000 $t
|
||||
/tmp/cccbubnS.s:27 .text.initialise_monitor_handles:0000000000000000 initialise_monitor_handles
|
||||
/tmp/cccbubnS.s:40 .text._getpid:0000000000000000 $t
|
||||
/tmp/cccbubnS.s:46 .text._getpid:0000000000000000 _getpid
|
||||
/tmp/cccbubnS.s:61 .text._kill:0000000000000000 $t
|
||||
/tmp/cccbubnS.s:67 .text._kill:0000000000000000 _kill
|
||||
/tmp/cccbubnS.s:95 .text._exit:0000000000000000 $t
|
||||
/tmp/cccbubnS.s:101 .text._exit:0000000000000000 _exit
|
||||
/tmp/cccbubnS.s:127 .text._read:0000000000000000 $t
|
||||
/tmp/cccbubnS.s:133 .text._read:0000000000000000 _read
|
||||
/tmp/cccbubnS.s:188 .text._write:0000000000000000 $t
|
||||
/tmp/cccbubnS.s:194 .text._write:0000000000000000 _write
|
||||
/tmp/cccbubnS.s:243 .text._close:0000000000000000 $t
|
||||
/tmp/cccbubnS.s:249 .text._close:0000000000000000 _close
|
||||
/tmp/cccbubnS.s:268 .text._fstat:0000000000000000 $t
|
||||
/tmp/cccbubnS.s:274 .text._fstat:0000000000000000 _fstat
|
||||
/tmp/cccbubnS.s:297 .text._isatty:0000000000000000 $t
|
||||
/tmp/cccbubnS.s:303 .text._isatty:0000000000000000 _isatty
|
||||
/tmp/cccbubnS.s:322 .text._lseek:0000000000000000 $t
|
||||
/tmp/cccbubnS.s:328 .text._lseek:0000000000000000 _lseek
|
||||
/tmp/cccbubnS.s:349 .text._open:0000000000000000 $t
|
||||
/tmp/cccbubnS.s:355 .text._open:0000000000000000 _open
|
||||
/tmp/cccbubnS.s:386 .text._wait:0000000000000000 $t
|
||||
/tmp/cccbubnS.s:392 .text._wait:0000000000000000 _wait
|
||||
/tmp/cccbubnS.s:419 .text._unlink:0000000000000000 $t
|
||||
/tmp/cccbubnS.s:425 .text._unlink:0000000000000000 _unlink
|
||||
/tmp/cccbubnS.s:452 .text._times:0000000000000000 $t
|
||||
/tmp/cccbubnS.s:458 .text._times:0000000000000000 _times
|
||||
/tmp/cccbubnS.s:477 .text._stat:0000000000000000 $t
|
||||
/tmp/cccbubnS.s:483 .text._stat:0000000000000000 _stat
|
||||
/tmp/cccbubnS.s:506 .text._link:0000000000000000 $t
|
||||
/tmp/cccbubnS.s:512 .text._link:0000000000000000 _link
|
||||
/tmp/cccbubnS.s:540 .text._fork:0000000000000000 $t
|
||||
/tmp/cccbubnS.s:546 .text._fork:0000000000000000 _fork
|
||||
/tmp/cccbubnS.s:570 .text._execve:0000000000000000 $t
|
||||
/tmp/cccbubnS.s:576 .text._execve:0000000000000000 _execve
|
||||
/tmp/cccbubnS.s:609 .data.environ:0000000000000000 environ
|
||||
/tmp/cccbubnS.s:606 .data.environ:0000000000000000 $d
|
||||
/tmp/cccbubnS.s:616 .bss.__env:0000000000000000 __env
|
||||
/tmp/cccbubnS.s:613 .bss.__env:0000000000000000 $d
|
||||
/tmp/cchVZf69.s:21 .text.initialise_monitor_handles:0000000000000000 $t
|
||||
/tmp/cchVZf69.s:27 .text.initialise_monitor_handles:0000000000000000 initialise_monitor_handles
|
||||
/tmp/cchVZf69.s:40 .text._getpid:0000000000000000 $t
|
||||
/tmp/cchVZf69.s:46 .text._getpid:0000000000000000 _getpid
|
||||
/tmp/cchVZf69.s:61 .text._kill:0000000000000000 $t
|
||||
/tmp/cchVZf69.s:67 .text._kill:0000000000000000 _kill
|
||||
/tmp/cchVZf69.s:95 .text._exit:0000000000000000 $t
|
||||
/tmp/cchVZf69.s:101 .text._exit:0000000000000000 _exit
|
||||
/tmp/cchVZf69.s:127 .text._read:0000000000000000 $t
|
||||
/tmp/cchVZf69.s:133 .text._read:0000000000000000 _read
|
||||
/tmp/cchVZf69.s:188 .text._write:0000000000000000 $t
|
||||
/tmp/cchVZf69.s:194 .text._write:0000000000000000 _write
|
||||
/tmp/cchVZf69.s:243 .text._close:0000000000000000 $t
|
||||
/tmp/cchVZf69.s:249 .text._close:0000000000000000 _close
|
||||
/tmp/cchVZf69.s:268 .text._fstat:0000000000000000 $t
|
||||
/tmp/cchVZf69.s:274 .text._fstat:0000000000000000 _fstat
|
||||
/tmp/cchVZf69.s:297 .text._isatty:0000000000000000 $t
|
||||
/tmp/cchVZf69.s:303 .text._isatty:0000000000000000 _isatty
|
||||
/tmp/cchVZf69.s:322 .text._lseek:0000000000000000 $t
|
||||
/tmp/cchVZf69.s:328 .text._lseek:0000000000000000 _lseek
|
||||
/tmp/cchVZf69.s:349 .text._open:0000000000000000 $t
|
||||
/tmp/cchVZf69.s:355 .text._open:0000000000000000 _open
|
||||
/tmp/cchVZf69.s:386 .text._wait:0000000000000000 $t
|
||||
/tmp/cchVZf69.s:392 .text._wait:0000000000000000 _wait
|
||||
/tmp/cchVZf69.s:419 .text._unlink:0000000000000000 $t
|
||||
/tmp/cchVZf69.s:425 .text._unlink:0000000000000000 _unlink
|
||||
/tmp/cchVZf69.s:452 .text._times:0000000000000000 $t
|
||||
/tmp/cchVZf69.s:458 .text._times:0000000000000000 _times
|
||||
/tmp/cchVZf69.s:477 .text._stat:0000000000000000 $t
|
||||
/tmp/cchVZf69.s:483 .text._stat:0000000000000000 _stat
|
||||
/tmp/cchVZf69.s:506 .text._link:0000000000000000 $t
|
||||
/tmp/cchVZf69.s:512 .text._link:0000000000000000 _link
|
||||
/tmp/cchVZf69.s:540 .text._fork:0000000000000000 $t
|
||||
/tmp/cchVZf69.s:546 .text._fork:0000000000000000 _fork
|
||||
/tmp/cchVZf69.s:570 .text._execve:0000000000000000 $t
|
||||
/tmp/cchVZf69.s:576 .text._execve:0000000000000000 _execve
|
||||
/tmp/cchVZf69.s:609 .data.environ:0000000000000000 environ
|
||||
/tmp/cchVZf69.s:606 .data.environ:0000000000000000 $d
|
||||
/tmp/cchVZf69.s:616 .bss.__env:0000000000000000 __env
|
||||
/tmp/cchVZf69.s:613 .bss.__env:0000000000000000 $d
|
||||
|
||||
UNDEFINED SYMBOLS
|
||||
__errno
|
||||
|
||||
Reference in New Issue
Block a user