Closed tyfkda closed 4 days ago
Updated:
$ ./xcc -Wl,-Map=- ,foo/const.c
### Symbols
1000100: (start address)
1001000: __dummy (./lib/crt0.a, _start.o)
10001b8: _start (./lib/crt0.a, _start.o)
10001cc: main (/tmp/xcc-03qChH.o)
10001dc: exit (./lib/libc.a, exit.o)
1000242: __atexit_call (./lib/libc.a, atexit.o)
1000206: atexit (./lib/libc.a, atexit.o)
1001050: environ (./lib/libc.a, environ.o)
--- generated symbols
1001008: __fini_array_start
1001008: __fini_array_end
1001008: __init_array_end
1001008: __init_array_start
### Entry point
10001b8: _start
$ ll a.out
-rwxr-xr-x 1 codespace codespace 4104 Sep 9 10:39 a.out*