Why is there no debugging symbol for arm-linux-ld distributed loading?
Source: Internet
Author: User
How does arm-linux-ld distributed loading have no debugging symbols?-Linux general technology-Linux technology and application information. For details, refer to the following. Why is there no debugging symbol for arm-linux-ld distributed loading?
-G options are added.
Even if you change the connection script to the following simple, there is no debugging symbol
SECTIONS {
Firtst 0x00000000 :{*.*}
}
Makefile:
Led_on_c.bin: crt0.S led_on_c.c
Arm-linux-gcc-g-c-o crt0.o crt0.S
Arm-linux-gcc-g-c-o led_on_c.o led_on_c.c
Arm-linux-ld-Tled_c.lds-g crt0.o led_on_c.o-o led_on_c_elf
Arm-linux-objcopy-O binary-S led_on_c_elf led_on_c.bin
Arm-linux-objdump-D-m arm led_on_c_elf> led_on_c.dis
Clean:
Rm-f led_on_c.dis led_on_c.bin led_on_c_elf *. o
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.
A Free Trial That Lets You Build Big!
Start building with 50+ products and up to 12 months usage for Elastic Compute Service