Hi,
This question is not specific to the OMAP. It is more of a C question
I am trying to link a few compiled object files into an ELF. These are the steps I am following
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Hi,
This question is not specific to the OMAP. It is more of a C question
I am trying to link a few compiled object files into an ELF. These are the steps I am following
Are you building u-boot?
Also it seems that you are using a custom built toolchain. Right?
Are you sure you are linking with libgcc? Try adding -lgcc to the "ld" command above.
If not found, provide path to the actual directory containing libgcc.a thru -L option.
I am trying to write my own stage II boot loader. It is a sort of an exercise and is being written to hopefully instruct students in an OS course in future. I am not sure if I am able to link to the ligbgcc or not.
arm-none-eabi-ld -lgcc -Ttext 0x80008000 -entry start_armboot --start-group main.o kprintf.o --end-group -L /usr/local/gcc-arm/lib/gcc/arm-none-eabi/4.5.2/ -o u-boot
is the linker command I am using and it still did not work. Is there anyway to work around the bug in gcc?
Thank you,
- Bharath.