ARM-software / LLVM-embedded-toolchain-for-Arm

A project dedicated to building LLVM toolchain for 32-bit Arm embedded targets.
Apache License 2.0
377 stars 85 forks source link

Linker: segment without section #403

Closed zz6zz closed 4 months ago

zz6zz commented 4 months ago

It looks like:

image

There are some segment without a section related to it.

My link script doesn't use PHDRS, while Picolibc.ld use it. However, when I use arm-none-eabi-gcc to link same files with the same link script, it looks right.

Hope someone can help me!