blob: 8edeb4a8acba0512c18c3647d941286f431a0da2 [file] [log] [blame]
dirk07596a22008-04-25 11:33:30 +00001
2##----------------------------------------------------------------------##
3
4# Errors to suppress by default with glibc @GLIBC_VERSION@.x
5
sewardj84eb4872008-06-03 20:58:46 +00006# IMPORTANT: DO NOT EDIT glibc-2.X.supp, as it is as a generated
7# file. Instead edit glibc-2.X.supp.in.
8
dirk07596a22008-04-25 11:33:30 +00009# Format of this file is:
10# {
11# name_of_suppression
12# tool_name:supp_kind
13# (optional extra info for some suppression types)
14# caller0 name, or /name/of/so/file.so
15# caller1 name, or ditto
16# (optionally: caller2 name)
17# (optionally: caller3 name)
18# }
19#
20# For Memcheck, the supp_kinds are:
21#
22# Param Value1 Value2 Value4 Value8 Value16 Jump
23# Free Addr1 Addr2 Addr4 Addr8 Addr16
24# Cond (previously known as Value0)
25#
26# and the optional extra info is:
27# if Param: name of system call param
28
sewardj84eb4872008-06-03 20:58:46 +000029##----------------------------------------------------------------------##
30##--- generic suppressions ---##
31##----------------------------------------------------------------------##
dirk07596a22008-04-25 11:33:30 +000032
33{
sewardj113fca22008-10-21 23:09:25 +000034 dl-hack3-cond-0
35 Memcheck:Cond
36 fun:_dl_start
37 fun:_start
38}
39{
sewardj84eb4872008-06-03 20:58:46 +000040 dl-hack3-cond-1
dirk07596a22008-04-25 11:33:30 +000041 Memcheck:Cond
tom7299d842012-02-23 12:54:50 +000042 obj:*/lib*/ld-@GLIBC_VERSION@*.so*
43 obj:*/lib*/ld-@GLIBC_VERSION@*.so*
44 obj:*/lib*/ld-@GLIBC_VERSION@*.so*
dirk07596a22008-04-25 11:33:30 +000045}
46{
sewardj84eb4872008-06-03 20:58:46 +000047 dl-hack3-cond-2
dirk07596a22008-04-25 11:33:30 +000048 Memcheck:Cond
tom7299d842012-02-23 12:54:50 +000049 obj:*/lib*/ld-@GLIBC_VERSION@*.so*
50 obj:*/lib*/ld-@GLIBC_VERSION@*.so*
51 obj:*/lib*/libc-@GLIBC_VERSION@*.so*
dirk07596a22008-04-25 11:33:30 +000052}
sewardj84eb4872008-06-03 20:58:46 +000053{
54 dl-hack3-cond-3
55 Memcheck:Cond
tom7299d842012-02-23 12:54:50 +000056 obj:*/lib*/ld-@GLIBC_VERSION@*.so*
57 obj:*/lib*/libc-@GLIBC_VERSION@*.so*
58 obj:*/lib*/libc-@GLIBC_VERSION@*.so*
sewardj84eb4872008-06-03 20:58:46 +000059}
60{
61 dl-hack3-cond-4
62 Memcheck:Cond
tom7299d842012-02-23 12:54:50 +000063 obj:*/lib*/ld-@GLIBC_VERSION@*.so*
64 obj:*/lib*/ld-@GLIBC_VERSION@*.so*
65 obj:*/lib*/libdl-@GLIBC_VERSION@*.so*
sewardj84eb4872008-06-03 20:58:46 +000066}
dirk07596a22008-04-25 11:33:30 +000067
68{
sewardj84eb4872008-06-03 20:58:46 +000069 dl-hack4-64bit-addr-1
dirk07596a22008-04-25 11:33:30 +000070 Memcheck:Addr8
tom7299d842012-02-23 12:54:50 +000071 obj:*/lib*/ld-@GLIBC_VERSION@*.so*
72 obj:*/lib*/ld-@GLIBC_VERSION@*.so*
73 obj:*/lib*/ld-@GLIBC_VERSION@*.so*
dirk07596a22008-04-25 11:33:30 +000074}
75{
sewardj84eb4872008-06-03 20:58:46 +000076 dl-hack4-64bit-addr-2
dirk07596a22008-04-25 11:33:30 +000077 Memcheck:Addr8
tom7299d842012-02-23 12:54:50 +000078 obj:*/lib*/ld-@GLIBC_VERSION@*.so*
79 obj:*/lib*/ld-@GLIBC_VERSION@*.so*
80 obj:*/lib*/libc-@GLIBC_VERSION@*.so*
dirk07596a22008-04-25 11:33:30 +000081}
82{
sewardj84eb4872008-06-03 20:58:46 +000083 dl-hack4-64bit-addr-3
dirk07596a22008-04-25 11:33:30 +000084 Memcheck:Addr8
tom7299d842012-02-23 12:54:50 +000085 obj:*/lib*/ld-@GLIBC_VERSION@*.so*
86 obj:*/lib*/ld-@GLIBC_VERSION@*.so*
87 obj:*/lib*/libdl-@GLIBC_VERSION@*.so*
sewardj84eb4872008-06-03 20:58:46 +000088}
89
90{
91 dl-hack5-32bit-addr-1
92 Memcheck:Addr4
tom7299d842012-02-23 12:54:50 +000093 obj:*/lib*/ld-@GLIBC_VERSION@*.so
94 obj:*/lib*/ld-@GLIBC_VERSION@*.so
95 obj:*/lib*/ld-@GLIBC_VERSION@*.so
sewardj84eb4872008-06-03 20:58:46 +000096}
97{
98 dl-hack5-32bit-addr-3
99 Memcheck:Addr4
tom7299d842012-02-23 12:54:50 +0000100 obj:*/lib*/ld-@GLIBC_VERSION@*.so
101 obj:*/lib*/ld-@GLIBC_VERSION@*.so
102 obj:*/lib*/libdl-@GLIBC_VERSION@*.so*
sewardj84eb4872008-06-03 20:58:46 +0000103}
104{
105 dl-hack5-32bit-addr-4
106 Memcheck:Addr4
tom7299d842012-02-23 12:54:50 +0000107 obj:*/lib*/ld-@GLIBC_VERSION@*.so
108 obj:*/lib*/libdl-@GLIBC_VERSION@*.so*
109 obj:*/lib*/ld-@GLIBC_VERSION@*.so
dirk07596a22008-04-25 11:33:30 +0000110}
111
112
sewardj84eb4872008-06-03 20:58:46 +0000113##----------------------------------------------------------------------##
114##--- Misc ad-hoc hacks ---##
dirk07596a22008-04-25 11:33:30 +0000115##----------------------------------------------------------------------##
116{
117 glibc-2.5.x-on-SUSE-10.2-(PPC)-1
118 Memcheck:Cond
119 fun:_dl_start_final
120 fun:_dl_start
121 fun:_start
122}
123{
124 glibc-2.5.x-on-SUSE-10.2-(PPC)-2a
125 Memcheck:Cond
126 fun:index
127 obj:*ld-@GLIBC_VERSION@.*.so
128}
129{
130 glibc-2.5.x-on-SuSE-10.2-(PPC)-2b
131 Memcheck:Addr4
132 fun:index
133 fun:expand_dynamic_string_token
134}
135{
136 glibc-2.5.5-on-SuSE-10.2-(PPC)-2c
137 Memcheck:Addr4
138 fun:index
139 obj:*ld-@GLIBC_VERSION@.*.so
140}
141{
142 glibc-2.3.5-on-SuSE-10.1-(PPC)-3
143 Memcheck:Addr4
144 fun:*wordcopy_fwd_dest_aligned*
145 fun:mem*cpy
146 obj:*lib*@GLIBC_VERSION@.*.so
147}
148
149{
150 glibc-@GLIBC_VERSION@-on-SUSE-10.3-(x86)
151 Memcheck:Addr4
tom7299d842012-02-23 12:54:50 +0000152 obj:*/lib/ld-@GLIBC_VERSION@*.so
153 obj:*/lib/ld-@GLIBC_VERSION@*.so
154 obj:*/lib/ld-@GLIBC_VERSION@*.so
dirk07596a22008-04-25 11:33:30 +0000155}
156
157{
158 glibc24-64bit-padding-1a
159 Memcheck:Param
160 socketcall.sendto(msg)
161 fun:send
162 fun:get_mapping
163 fun:__nscd_get_map_ref
164 fun:nscd*
165}
166{
167 glibc24-64bit-padding-1b
168 Memcheck:Param
169 socketcall.sendto(msg)
170 fun:__sendto_nocancel
dirk028ad922011-08-23 20:29:10 +0000171 obj:/*libc-@GLIBC_VERSION@*.so
172 obj:/*libc-@GLIBC_VERSION@*.so
173 obj:/*libc-@GLIBC_VERSION@*.so
dirk07596a22008-04-25 11:33:30 +0000174}
175{
176 glibc24-64bit-padding-1c
177 Memcheck:Param
178 socketcall.send(msg)
179 fun:send
180 fun:__nscd_get_map_ref
181 fun:nscd_get*_r
182 fun:*nscd*
dirk028ad922011-08-23 20:29:10 +0000183 obj:/*libc-@GLIBC_VERSION@*.so
dirk07596a22008-04-25 11:33:30 +0000184}
185
186
187{
188 X11-64bit-padding-3a
189 Memcheck:Param
190 write(buf)
191 obj:/*libpthread-2.4.so*
192 obj:/usr/lib*/libX11.so*
193 obj:/usr/lib*/libX11.so*
194 obj:/usr/lib*/libX11.so*
195}
196
197{
198 X11-64bit-padding-4a
199 Memcheck:Param
200 socketcall.sendto(msg)
201 fun:send
dirk028ad922011-08-23 20:29:10 +0000202 obj:/*libc-@GLIBC_VERSION@*.so
203 obj:/*libc-@GLIBC_VERSION@*.so
204 obj:/*libc-@GLIBC_VERSION@*.so
dirk07596a22008-04-25 11:33:30 +0000205}
206{
207 X11-64bit-padding-4b
208 Memcheck:Param
209 socketcall.send(msg)
210 fun:send
dirk028ad922011-08-23 20:29:10 +0000211 obj:/*libc-@GLIBC_VERSION@*.so
212 obj:/*libc-@GLIBC_VERSION@*.so
213 obj:/*libc-@GLIBC_VERSION@*.so
dirk07596a22008-04-25 11:33:30 +0000214}
215
216##----------------------------------------------------------------------##
217# MontaVista Linux 4.0.1 on ppc32
218{
219 MVL-401-linuxthreads-pthread_create
220 Memcheck:Param
221 write(buf)
222 fun:pthread_create
223}
224{
225 MVL-401-linuxthreads-pthread_create
226 Memcheck:Param
227 write(buf)
tom7299d842012-02-23 12:54:50 +0000228 obj:*/lib/libpthread-0.10.so
dirk07596a22008-04-25 11:33:30 +0000229 fun:pthread_create
230}
sewardjd69cee82010-08-22 12:13:35 +0000231
232##----------------------------------------------------------------------##
233# Ubuntu 10.04 on ARM (Thumb). Not sure why this is necessary.
234{
235 U1004-ARM-_dl_relocate_object
236 Memcheck:Cond
237 fun:_dl_relocate_object
238}