Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Link failure #14

Open
joyhope opened this issue Nov 24, 2017 · 1 comment
Open

Link failure #14

joyhope opened this issue Nov 24, 2017 · 1 comment

Comments

@joyhope
Copy link

joyhope commented Nov 24, 2017

current Project

.../tools/gnu_gcc/bin/../lib/gcc/arm-none-eabi/4.8.3/../../../../arm-none-eabi/lib\libc.a(lib_a-fini.o): In function __libc_fini_array':
fini.c:(.text+0x34): undefined reference to _fini' collect2.exe: error: ld returned 1 exit status

@joyhope
Copy link
Author

joyhope commented Nov 24, 2017

rtconfig.py 做一点调整:

LFLAGS = DEVICE + ' -Wl,--gc-sections,-Map='+ OUTPUT_NAME +'.map,-cref,-u,_start -T' + LD_NAME +'.ld'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant