arm-elf-ld -Bstatic -T /s3c44b0/u-boot/board/hfrk/hfrks3c44b0/u-boot.lds -Ttext 0x0C700000 $UNDEF_SYM cpu/s3c44b0/start.o \
-T text
-Tbss org
-Tdata org
-Ttext org
Use org as the starting address for---respectively---the "bss",
"data", or the "text" segment of the output file. org must be a
single hexadecimal integer; for compatibility with other linkers,
you may omit the leading 0x usually associated with hexadecimal
values.
-T
-T scriptfile
--script=scriptfile
Use scriptfile as the linker script. This script replaces ld's
default linker script (rather than adding to it), so commandfile
must specify everything necessary to describe the output file.
If scriptfile does not exist in the current directory, "ld" looks
for it in the directories specified by any preceding -L options.
Multiple -T options accumulate.
-Bstatic
-dn
-non_shared
-static
Do not link against shared libraries. This is only meaningful on
platforms for which shared libraries are supported. The different
variants of this option are for compatibility with various systems.
You may use this option multiple times on the command line: it
affects library searching for -l options which follow it.
文章评论(0条评论)
登录后参与讨论