Mark __libc_resp with attribute_tls_model_ie for consistency with __resp
[glibc/nacl-glibc.git] / scripts / output-format.sed
blob364f52059fe24abd85e64614faf51c49d7b95ac1
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(\([^,]*\), \([^,]*\), \([^,]*\)).*$/\1,\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(\2)/p
20 s/^\([^,]*\),\([^,]*\),\([^,]*\),L/OUTPUT_FORMAT(\3)/p
21 s/^\([^,]*\),\([^,]*\),\([^,]*\)/OUTPUT_FORMAT(\1)/p
22 /,/s|^|*** BUG in libc/scripts/output-format.sed *** |p
24 : q
25 s/"//g
28 : f
29 s/^.*[  ]-E\([BL]\)[    ].*$/,\1/
30 t h
31 s/^.*[  ]-E\([BL]\)$/,\1/
32 t h
34 : h