This is the mail archive of the newlib@sourceware.org mailing list for the newlib project.
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
| Other format: | [Raw text] | |
On Aug 9 15:37, Yao Qi wrote: > Nowadays, the code fetching command line options via semi-hosting are > unconditionally pulled in, so that the semi-hosting code is still > there even I compile with option --specs=nosys.specs. > > gdb ./aarch64-none-elf/libgloss/aarch64/crt0.o > > (gdb) disassemble _start > > 0x0000000000000050 <+80>: ldr x1, 0x128 <_cpu_init_hook+48> > 0x0000000000000054 <+84>: mov w0, #0x15 > 0x0000000000000058 <+88>: hlt #0xf000 > > This patch fixes this problem by wrapping the code by ARM_RDI_MONITOR. > When semi-hosting is not used, set command line options to NULL. > --- > libgloss/aarch64/crt0.S | 6 ++++++ > 1 file changed, 6 insertions(+) Pushed. Thanks, Corinna -- Corinna Vinschen Cygwin Maintainer Red Hat
Attachment:
signature.asc
Description: PGP signature
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |