mailing list of musl libc
 help / color / mirror / code / Atom feed
02d98938bea261508013d64a756923c7513e5a05 blob 1373 bytes (raw)

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
 
#!/bin/sh
cc="@CC@"
libc_lib="@LIBDIR@"
ldso="@LDSO@"
cleared=
shared=
userlinkdir=
userlink=

Scrt="$libc_lib/Scrt1.o"
dynamic_linker_args="-dynamic-linker \"$ldso\""

for x ; do
    case "$x" in
        -l-dni)
            dynamic_linker_args="-no-dynamic-linker"
            Scrt="$libc_lib/dcrt1.o"
            ;;
    esac
done

for x ; do
    test "$cleared" || set -- ; cleared=1

    case "$x" in
        -L-user-start)
            userlinkdir=1
            ;;
        -L-user-end)
            userlinkdir=
            ;;
        -L*)
            test "$userlinkdir" && set -- "$@" "$x"
            ;;
        -l-user-start)
            userlink=1
            ;;
        -l-user-end)
            userlink=
            ;;
        crtbegin*.o|crtend*.o)
            set -- "$@" $($cc -print-file-name=$x)
            ;;
        -lgcc|-lgcc_eh)
            file=lib${x#-l}.a
            set -- "$@" $($cc -print-file-name=$file)
            ;;
        -l*)
            test "$userlink" && set -- "$@" "$x"
            ;;
        -shared)
            shared=1
            set -- "$@" -shared
            ;;
        -sysroot=*|--sysroot=*)
            ;;
        $libc_lib/Scrt1.o)
            set -- "$@" $Scrt
            ;;
        *)
            set -- "$@" "$x"
            ;;
    esac
done

exec $($cc -print-prog-name=ld) -nostdlib "$@" -lc "$dynamic_linker_args"
debug log:

solving 02d98938 ...
retrying 02d98938 as 02d9893
found 02d9893 in https://inbox.vuxu.org/musl/1585512901-18979-2-git-send-email-rcombs@rcombs.me/ ||
	https://inbox.vuxu.org/musl/1568091399-23967-3-git-send-email-rodger.combs@gmail.com/ ||
	https://inbox.vuxu.org/musl/1556327609-27385-3-git-send-email-rodger.combs@gmail.com/ ||
	https://inbox.vuxu.org/musl/1585441168-23444-4-git-send-email-rcombs@rcombs.me/
found 93763d6 in https://git.vuxu.org/mirror/musl/
preparing index
index prepared:
100644 93763d6b2cff585323477b30193cb933e0101623	tools/ld.musl-clang.in

applying [1/4] https://inbox.vuxu.org/musl/1585512901-18979-2-git-send-email-rcombs@rcombs.me/
diff --git a/tools/ld.musl-clang.in b/tools/ld.musl-clang.in
index 93763d6..02d9893 100644

Checking patch tools/ld.musl-clang.in...
Applied patch tools/ld.musl-clang.in cleanly.

skipping https://inbox.vuxu.org/musl/1568091399-23967-3-git-send-email-rodger.combs@gmail.com/ for 02d9893
skipping https://inbox.vuxu.org/musl/1556327609-27385-3-git-send-email-rodger.combs@gmail.com/ for 02d9893
skipping https://inbox.vuxu.org/musl/1585441168-23444-4-git-send-email-rcombs@rcombs.me/ for 02d9893
index at:
100644 02d98938bea261508013d64a756923c7513e5a05	tools/ld.musl-clang.in

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/musl/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).