2 CSU*****************************************************************************\n"
3 # ../sysdeps/unix/sysv/linux/x86_64/sysdep.S is empty
33 mkdir
-p $build_dir/csu
36 printf "ASSEMBLING PIE $fn\n"
37 $as $src_dir/csu
/$fn.s
-o $build_dir/csu
/$fn.o
41 printf "ASSEMBLING SHARED $fn\n"
42 $as $src_dir/csu
/$fn.shared.s
-o $build_dir/csu
/$fn.os
44 for fn
in $nonshared_fns
46 printf "ASSEMBLING NONSHARED $fn\n"
47 $as $src_dir/csu
/$fn.nonshared.s
-o $build_dir/csu
/$fn.oS
49 #-------------------------------------------------------------------------------
50 printf "LD LINKING crt1.o\n"
53 --dynamic-linker=/lib64
/ld-linux-x86-64.so
.2 \
54 -o $build_dir/csu
/crt1.o \
56 $build_dir/csu
/start.o \
57 $build_dir/csu
/abi-note.o \
58 $build_dir/csu
/init.o \
59 $build_dir/csu
/static-reloc.o
60 #-------------------------------------------------------------------------------
61 printf "LD LINKING Scrt1.o\n"
64 --dynamic-linker=/lib64
/ld-linux-x86-64.so
.2 \
65 -o $build_dir/csu
/Scrt1.o \
67 $build_dir/csu
/start.os \
68 $build_dir/csu
/abi-note.o \
70 #-------------------------------------------------------------------------------
71 printf "LD LINKING rcrt1.o\n"
74 --dynamic-linker=/lib64
/ld-linux-x86-64.so
.2 \
75 -o $build_dir/csu
/rcrt1.o \
77 $build_dir/csu
/start.o \
78 $build_dir/csu
/abi-note.o \
80 #-------------------------------------------------------------------------------
82 printf ".text\n" |
$as --64 -o $build_dir/csu
/Mcrt1.o
-
83 #-------------------------------------------------------------------------------
84 printf 'LD LINKING gcrt1.o\n'
86 --dynamic-linker=/lib64
/ld-linux-x86-64.so
.2 \
88 -o $build_dir/csu
/gcrt1.o \
89 $build_dir/csu
/Scrt1.o \
90 $build_dir/csu
/gmon-start.os \
91 $build_dir/csu
/static-reloc.os
92 #-------------------------------------------------------------------------------
93 printf 'LD LINKING grctr1.o\n'
95 --dynamic-linker=/lib64
/ld-linux-x86-64.so
.2 \
96 -o $build_dir/csu
/grcrt1.o \
98 $build_dir/csu
/rcrt1.o \
99 $build_dir/csu
/gmon-start.o
100 #-------------------------------------------------------------------------------
101 printf 'CREATING LIBC csu/stamp.o\n'
102 printf 'csu/init-first.o csu/libc-start.o csu/sysdep.o csu/version.o csu/check_fds.o csu/libc-tls.o csu/elf-init.o csu/dso_handle.o csu/errno.o csu/errno-loc.o\n' > $build_dir/csu
/stamp.o
103 #-------------------------------------------------------------------------------
104 printf 'CREATING LIBC csu/stamp.os\n'
105 printf 'csu/init-first.os csu/libc-start.os csu/sysdep.os csu/version.os csu/check_fds.os csu/dso_handle.os csu/unwind-resume.os csu/errno.os csu/errno-loc.os\n' > $build_dir/csu
/stamp.os
106 #-------------------------------------------------------------------------------
107 printf 'CREATING LIBC csu/stamp.oS\n'
108 printf 'csu/elf-init.oS\n' > $build_dir/csu
/stamp.oS