Branch to __fork whenever libpthread.so is loaded.
[glibc/pb-stable.git] / scripts / output-format.sed
blob61e658a1523c43615abc7c0357cef276de29448f
1 /ld.*[  ]-E[BL]/b f
2 /collect.*[     ]-E[BL]/b f
3 /OUTPUT_FORMAT[^)]*$/{N
4 s/\n[    ]*/ /
6 t o
7 : o
8 s/^.*OUTPUT_FORMAT(\([^,]*\), \1, \1).*$/OUTPUT_FORMAT(\1)/
9 t q
10 s/^.*OUTPUT_FORMAT(\([^,]*\), \([^,]*\), \([^,]*\)).*$/\2,\3/
11 t s
12 s/^.*OUTPUT_FORMAT(\([^,)]*\).*$)/OUTPUT_FORMAT(\1)/
13 t q
15 : s
16 s/"//g
18 s/\n//
19 s/^\([^,]*\),\([^,]*\),B/OUTPUT_FORMAT(\1)/p
20 s/^\([^,]*\),\([^,]*\),L/OUTPUT_FORMAT(\2)/p
21 /,/s|^|*** BUG in libc/scripts/output-format.sed *** |p
23 : q
24 s/"//g
27 : f
28 s/^.*[  ]-E\([BL]\)[    ].*$/,\1/
29 t h
30 s/^.*[  ]-E\([BL]\)$/,\1/
31 t h
33 : h