blob: 825b98a58fece5171bfd073cc970ec0640d9224b [file] [log] [blame]
Mark Wielaardf5519fc2012-08-24 13:54:52 +020012012-08-24 Mark Wielaard <mjw@redhat.com>
2
3 * Makefile.am (TESTS): Only add run-readelf-dwz-multi.sh if
4 ENABLE_DWZ.
5
Mark Wielaardf31c4412012-08-17 00:35:03 +020062012-08-16 Mark Wielaard <mjw@redhat.com>
7
8 * allregs.c (dwarf_encoding_string): Rewritten using known-dwarf
9 macros.
10 * show-die-info.c (tagnames): Removed.
11 (attrs): Removed.
12 (dwarf_tag_string): New function using known-dwarf macros.
13 (dwarf_attr_string): Likewise.
14 (handle): Call dwarf_tag_string and dwarf_attr_string instead.
15 * run-readelf-dwz-multi.sh: Expect language C89, not ISO C89.
16
Mark Wielaard775375e2012-06-22 12:02:45 +0200172012-06-27 Mark Wielaard <mjw@redhat.com>
18
19 * Makefile.am (TESTS): Add run-readelf-dwz-multi.sh.
20 (EXTRA_DIST): Add run-readelf-dwz-multi.sh,
21 libtestfile_multi_shared.so.bz2, testfile_multi.dwz.bz2 and
22 testfile_multi_main.bz2.
23 * run-readelf-dwz-multi.sh: New test.
24 * libtestfile_multi_shared.so.bz2: New testfile.
25 * testfile_multi.dwz.bz2: New testifle.
26 * testfile_multi_main.bz2: New testifle.
27
Petr Machata30a941c2012-08-01 21:41:36 +0200282012-08-01 Petr Machata <pmachata@redhat.com>
29
30 * run-test-archive64.sh: New test.
31 * testarchive64.a.bz2: New testfile.
32 * Makefile.am (TESTS): Add run-test-archive64.sh.
33 (EXTRA_DIST): Likewise.
34
Mark Wielaard94e387f2012-08-01 15:31:12 +0200352012-08-01 Mark Wielaard <mjw@redhat.com>
36
Mark Wielaardbf707b52012-08-01 15:39:11 +020037 * run-nm-self.sh: New test.
38 * run-readelf-self.sh: Likewise.
39 * test-subr.sh (testrun_on_self_quiet): New function.
40 * Makefile.am (TESTS): Add run-nm-self.sh and run-readelf-self.sh.
41 (EXTRA_DIST): Likewise.
42
432012-08-01 Mark Wielaard <mjw@redhat.com>
44
Mark Wielaard94e387f2012-08-01 15:31:12 +020045 * test-subr.sh (self_test_files): New list of files.
46 (testrun_on_self): New function.
47 * run-elflint-self.sh: Use testrun_on_self.
48
Mark Wielaard714ea0e2012-07-19 13:07:39 +0200492012-07-19 Mark Wielaard <mjw@redhat.com>
50
Mark Wielaard030f6262012-07-18 13:14:30 +020051 * Makefile.am (check_PROGRAMS): Add test-elf_cntl_gelf_getshdr.
52 (TESTS): Add run-elf_cntl_gelf_getshdr.sh.
53 (EXTRA_DIST): Likewise.
54 (test_elf_cntl_gelf_getshdr_LDADD): New.
55 test-elf_cntl_gelf_getshdr.c: New test program.
56 run-elf_cntl_gelf_getshdr.sh: New test script.
57
582012-07-19 Mark Wielaard <mjw@redhat.com>
59
Mark Wielaardadcd1dd2012-07-19 22:59:18 +020060 * run-elflint-self.sh: runtests on ../backends/*so files.
61
622012-07-19 Mark Wielaard <mjw@redhat.com>
63
Mark Wielaard714ea0e2012-07-19 13:07:39 +020064 * run-unstrip-n.sh: test_cleanup.
65 * Makefile.am (EXTRA_DIST): Add testcore-rtlib-ppc.bz2.
66
Mark Wielaarde9b23882012-06-29 22:30:15 +0200672012-07-11 Mark Wielaard <mjw@redhat.com>
68
69 * run-readelf-macro.sh: New test.
70 * testfilemacro.bz2: New testfile.
71 * Makefile.am (TESTS): Add run-readelf-macro.sh.
72 (EXTRA_DIST): Add run-readelf-macro.sh and testfilemacro.bz2.
73
Mark Wielaard84a1e0b2012-06-29 23:38:09 +0200742012-06-27 Mark Wielaard <mjw@redhat.com>
75
76 * run-readelf-gdb-index.sh: New test.
77 * testfilegdbindex5.bz2: New testfile.
78 * testfilegdbindex7.bz2: Likewise.
79 * Makefile.am (TESTS): Add run-readelf-gdb-index.sh.
80 (EXTRA_DIST): run-readelf-gdb_index.sh, testfilegdbindex5.bz2 and
81 testfilegdbindex7.bz2.
82
Mark Wielaard97212fe2012-07-17 21:12:39 +0200832012-07-17 Mark Wielaard <mjw@redhat.com>
84
85 * testcore-rtlib-ppc.bz2: New testfile.
86 * run-unstrip-n.sh: Check new ppc core testfile.
87
Mike Frysingerc09c5f32012-06-26 12:07:44 -0400882012-06-26 Mike Frysinger <vapier@gentoo.org>
89
90 * Makefile.am (check_PROGRAMS): Rename from noinst_PROGRAMS.
91
Mark Wielaarda0172d72012-06-25 17:18:53 +0200922012-06-26 Mark Wielaard <mjw@redhat.com>
93
94 * run-macro-test.sh: New test.
95 * testfile-macinfo.bz2: New testfile.
96 * testfile-macros.bz2: Likewise.
97
Mark Wielaard547049b2012-06-22 18:19:02 +0200982012-05-07 Mark Wielaard <mjw@redhat.com>
99
100 * low_high_pc.c: Use proper inttypes in printf formats.
101
Mark Wielaarddbbc67a2012-05-11 12:57:57 +02001022012-05-11 Mark Wielaard <mjw@redhat.com>
103
104 * Makefile.am (TESTS_ENVIRONMENT): Set LC_ALL and LANG to C.
105
Mark Wielaardd9bc75f2012-05-07 13:29:52 +02001062012-05-07 Mark Wielaard <mjw@redhat.com>
107
108 * low_high_pc.c: Allow highpc == lowpc for CU DIEs for buggy GCC.
109
Mark Wielaard54797252012-04-27 13:00:50 +02001102012-04-27 Mark Wielaard <mjw@redhat.com>
111
112 * Makefile.am (TESTS): Add run-low_high_pc.sh
113 (EXTRA_DIST): Add run-low_high_pc.sh and testfile_low_high_pc.bz2
114 (noinst_PROGRAMS): Add low_high_pc.
115 (low_high_pc_LDADD): New variable.
116 * low_high_pc.c: New test.
117
Mark Wielaardbdad8e32012-04-26 12:24:33 +02001182012-04-26 Mark Wielaard <mjw@redhat.com>
119
120 * Makefile.am (EXTRA_DIST): Remove run-show-ciefde.sh.
121 * run-show-ciefde.sh: Removed old libdwarf test.
122 * show-ciefde.c: Likewise.
123
Mark Wielaard191d1f02012-04-02 17:11:25 +02001242012-04-02 Mark Wielaard <mjw@redhat.com>
125
Mark Wielaard96a52132012-04-03 00:21:50 +0200126 * Makefile.am (TESTS): Add run-unstrip-n.sh.
127 (EXTRA_DIST): Add testcore-rtlib.bz2 and run-unstrip-n.sh.
128 * run-unstrip-n.sh: New test.
129 * testcore-rtlib.bz2: New testfile.
130
1312012-04-02 Mark Wielaard <mjw@redhat.com>
132
Mark Wielaard191d1f02012-04-02 17:11:25 +0200133 * Makefile.am (TESTS): Add run-readelf-d.sh.
134 (EXTRA_DIST): Add testlib_dynseg.so.bz2 and run-readelf-d.sh.
135 * run-readelf-d.sh: New test.
136 * run-elflint-test.sh: Check new testfile.
137
Tom Tromey581c3f62012-03-21 08:54:32 -06001382012-03-21 Tom Tromey <tromey@redhat.com>
139
140 * typeiter.c: New file.
141 * run-typeiter.sh: New file.
142 * testfile59.bz2: New file.
143 * Makefile.am (noinst_PROGRAMS): Add typeiter.
144 (TESTS): Add run-typeiter.sh.
145 (EXTRA_DIST): Add run-typeiter.sh, testfile59.bz2.
146 (typeiter_LDADD): New variable.
147
Kurt Roeckx5a8e39a2012-02-24 23:40:32 +01001482012-02-21 Kurt Roeckx <kurt@roeckx.be>
149
150 * run-alldts.sh: testrun ./alldts.
151
Roland McGrathe3b15682012-02-21 11:12:46 -08001522012-02-21 Roland McGrath <roland@hack.frob.com>
153
154 * test-wrapper.sh: Add ${libdir}/elfutils to LD_LIBRARY_PATH.
Roland McGrathc1c6a9d2012-02-21 12:51:36 -0800155 * test-subr.sh (installed_testrun): Likewise.
Roland McGrathe3b15682012-02-21 11:12:46 -0800156
Roland McGrathb8ff18e2012-01-18 13:57:08 -08001572012-01-18 Roland McGrath <roland@hack.frob.com>
158
159 * asm-tst4.c (main): Don't set LD_LIBRARY_PATH in system invocation;
160 it will have been inherited correctly from the test harness.
161 * asm-tst5.c (main): Likewise.
162 * asm-tst6.c (main): Likewise.
163 Reported by Serge Pavlov <serge.pavlov.at.gnu@gmail.com>.
164
Roland McGrath32899ac2011-07-09 03:17:24 -07001652011-07-09 Roland McGrath <roland@hack.frob.com>
166
167 * sha1-tst.c: File removed.
168 * Makefile.am (noinst_PROGRAMS, TESTS): Remove it.
169 (sha1_tst_LDADD): Variable removed.
170
171 * md5-sha1-test.c: New file.
172 * Makefile.am [!STANDALONE] (noinst_PROGRAMS, TESTS): Add it.
173 (md5_sha1_test_LDADD): New variable.
174
Mark Wielaard3f2290b2011-05-30 15:46:32 +02001752011-05-30 Mark Wielaard <mjw@redhat.com>
176
177 * Makefile.am (EXTRA_DIST): Add run-readelf-twofiles.sh and
178 run-rerequest_tag.sh
179
Mark Wielaard20a217d2011-05-24 14:30:40 +02001802011-05-24 Mark Wielaard <mjw@redhat.com>
181
182 * Makefile.am (EXTRA_DIST): Add hello_s390.ko.bz2.
183 * run-strip-reloc.sh: Add hello_s390.ko testcase.
184 * hello_s390.ko.bz2: New test file.
185
Mark Wielaard1662bc32011-05-16 11:33:11 +02001862011-05-23 Mark Wielaard <mjw@redhat.com>
187
188 * Makefile.am (TESTS): Add run-strip-reloc.sh.
189 (EXTRA_DIST): Add run-strip-reloc.sh, hello_i386.ko.bz2
190 hello_x86_64.ko.bz2 and hello_ppc64.ko.bz2
191 * run-strip-reloc.sh: New test.
192 * hello_i386.ko.bz2: New test file.
193 * hello_x86_64.ko.bz2: Likewise.
194 * hello_ppc64.ko.bz2: Likewise.
195
Mark Wielaard7a125b92011-05-17 12:20:01 +02001962011-05-18 Mark Wielaard <mjw@redhat.com>
197
198 * run-strip-groups.sh: New test.
199 * testfile58.bz2: New test file.
200 * Makefile.am (EXTRA_DIST): Add testfile58.bz2.
201 (TESTS): Add run-strip-groups.sh.
202 (EXTRA_DIST): Likewise.
203
Marek Polacek494275c2011-03-28 16:00:38 +02002042011-03-28 Marek Polacek <mpolacek@redhat.com>
205
206 * alldts.c: New file.
207 * run-alldts.sh: Use it.
208 * Makefile.am (TESTS, EXTRA_DIST, noinst_PROGRAMS): Add them.
209 (alldts_LDADD): New variable.
210
2112011-03-02 Marek Polacek <mpolacek@redhat.com>
Marek Polacek48942212011-03-07 11:16:50 -0800212
213 * dwarf-getstring.c: New test.
214 * run-dwarf-getstring.sh: And its wrapper.
215 * Makefile.am (EXTRA_DIST): Add and update all.
216
Jan Kratochvilfec39992011-02-27 12:01:25 -08002172011-02-27 Jan Kratochvil <jan.kratochvil@redhat.com>
218
219 * Makefile.am (TESTS): Add run-readelf-twofiles.sh.
220 * run-readelf-twofiles.sh: New file.
221
Mark Wielaard58cfa1c2011-02-25 20:17:52 +01002222011-02-25 Mark Wielaard <mjw@redhat.com>
223
224 * Makefile.am (BUILD_RPATH): Be consistent in naming.
225
Josh Stonedc34eda2011-02-02 16:30:01 -08002262011-02-02 Josh Stone <jistone@redhat.com>
227
228 * run-prelink-addr-test.sh: Add testfile55, 32 and 64-bit.
229 * testfile55-64.bz2, testfile55-64.debug.bz2,
230 testfile55-64.prelink.bz2, testfile55-32.bz2,
231 testfile55-32.debug.bz2, testfile55-32.prelink.bz2: New.
232 * Makefile.am (EXTRA_DIST): Add and update all.
233
Roland McGrath32520bd2011-01-12 10:43:32 -08002342011-01-12 Roland McGrath <roland@redhat.com>
235
236 * run-prelink-addr-test.sh: Make symlinks to find .debug files
Roland McGrath4f6d4e12011-01-12 10:49:40 -0800237 corresponding to .noshdrs files.
Roland McGrath32520bd2011-01-12 10:43:32 -0800238
Josh Stoned41d9a62011-01-11 19:16:57 -08002392011-01-11 Josh Stone <jistone@redhat.com>
240
Josh Stoneccbccef2011-01-11 19:16:59 -0800241 * run-prelink-addr-test.sh: Add testfile54, 32 and 64-bit.
242 * testfile54-32.so.bz2, testfile54-32.so.debug.bz2,
243 testfile54-32.prelink.so.bz2, testfile54-32.noshdrs.so.bz2,
244 testfile54-64.so.bz2, testfile54-64.so.debug.bz2,
245 testfile54-64.prelink.so.bz2, testfile54-64.noshdrs.so.bz2: New.
246 * Makefile.am (EXTRA_DIST): Add and update all.
247
Josh Stonecf514712011-01-11 19:16:58 -0800248 * run-prelink-addr-test.sh: Run 32 and 64-bit testfile53 tests.
249 * testfile53.bz2, testfile53.debug.bz2,
250 testfile53.prelink.bz2: Deleted, so...
251 * testfile53-64.bz2, testfile53-64.debug.bz2,
252 testfile53-64.prelink.bz2: Recreated with 64-bit names.
253 * testfile53-32.bz2, testfile53-32.debug.bz2,
254 testfile53-32.prelink.bz2: New in 32-bit.
255 * Makefile.am (EXTRA_DIST): Add and update all.
256
Josh Stoned41d9a62011-01-11 19:16:57 -0800257 * run-prelink-addr-test.sh: Run 32 and 64-bit testfile52 tests.
258 * testfile52.so.bz2, testfile52.so.debug.bz2,
259 testfile52.prelink.so.bz2: Deleted, so...
260 * testfile52-32.so.bz2, testfile52-32.so.debug.bz2,
261 testfile52-32.prelink.so.bz2: Recreated with 32-bit names.
262 * testfile52-32.noshdrs.so.bz2: New data file, stripped of headers.
263 * testfile52-64.so.bz2, testfile52-64.so.debug.bz2,
Roland McGrath32520bd2011-01-12 10:43:32 -0800264 testfile52-64.prelink.so.bz2, testfile52-64.noshdrs.so.bz2: New files.
Josh Stoned41d9a62011-01-11 19:16:57 -0800265 * Makefile.am (EXTRA_DIST): Add and update all.
266
Josh Stoneffa02002011-01-10 21:28:46 -08002672011-01-10 Josh Stone <jistone@redhat.com>
268
269 * run-prelink-addr-test.sh: New test for prelinked addrs.
270 * Makefile.am (TESTS, EXTRA_DIST): Add it.
271 * testfile52.so.bz2, testfile52.so.debug.bz2: New data files.
272 * testfile52.prelink.so.bz2: New data file, shows REL->RELA.
273 * testfile53.bz2, testfile53.debug.bz2: New data files.
274 * testfile53.prelink.bz2: New data file, shows ET_EXEC remap.
275 * Makefile.am (EXTRA_DIST): Add them.
276
Roland McGrathec86e5f2010-06-14 17:44:38 -07002772010-06-04 Roland McGrath <roland@redhat.com>
278
279 * run-unstrip-test.sh: Also test modifying the file in place.
280
Roland McGrath3c6ee4b2010-04-22 22:38:58 -07002812010-04-22 Roland McGrath <roland@redhat.com>
282
283 * addrcfi.c (handle_cfi): Fix function name in error message.
284 Use dwarf_errmsg, not dwfl_errmsg, after dwarf_cfi_addrframe.
285
Roland McGrath26618d82010-04-14 13:10:47 -07002862010-04-14 Roland McGrath <roland@redhat.com>
287
288 * Makefile.am (EXTRA_DIST): Add run-test-flag-nobits.sh here too.
289
Ulrich Drepperc2d1e482010-04-10 18:23:47 -07002902010-04-10 Ulrich Drepper <drepper@redhat.com>
291
292 * msg_tst.c: Adjust expected error message.
293
Petr Machata77961b52010-04-06 14:16:58 +02002942010-04-01 Petr Machata <pmachata@redhat.com>
295
296 * test-flag-nobits.c: New test.
297 * run-test-flag-nobits.sh: And its wrapper.
298 * Makefile.am (noinst_PROGRAMS, TESTS): Add them.
299 (test_flag_nobits_LDADD): New variable.
300
Roland McGrathe9ca7382010-02-15 15:15:50 -08003012010-02-15 Roland McGrath <roland@redhat.com>
302
Roland McGrath22359e22010-02-15 15:57:03 -0800303 * Makefile.am: Use config/eu.am for common stuff.
304
Roland McGrathe9ca7382010-02-15 15:15:50 -0800305 * asm-tst9.c (main): Rename local to avoid shadowing another local.
306
Roland McGrathaf800142009-07-22 13:55:50 -07003072009-07-22 Roland McGrath <roland@redhat.com>
308
309 * addrcfi.c: Update dwarf_frame_{cfa,register} calling convention.
310
Roland McGrath3c84db32009-06-24 17:41:40 -07003112009-07-08 Roland McGrath <roland@redhat.com>
312
313 * addrcfi.c: New file.
314 * Makefile.am (noinst_PROGRAMS): Add it.
315 (addrcfi_LDADD): New variable.
316
Petr Machatad24c7bf2009-05-07 20:58:19 +02003172009-05-07 Petr Machata <pmachata@redhat.com>
318
319 * testfile51.bz2: New data file.
320 * dwarf-getmacros.c: New test core.
321 * run-dwarf-getmacros.sh: New test wrapper.
Roland McGrath0c735a92009-05-07 18:19:16 -0700322 * Makefile.am (TESTS, EXTRA_DIST, noinst_PROGRAMS): Add them.
323 (dwarf_getmacros_LDADD): New variable.
Petr Machatad24c7bf2009-05-07 20:58:19 +0200324
Ulrich Drepperf9545c42009-04-23 07:59:02 -07003252009-04-23 Ulrich Drepper <drepper@redhat.com>
326
327 * Makefile [BUILD_STATIC] (libdw): Add $(zip_LIBS).
328 (rdwrmmap_LDADD): Add $(libmudflap).
Roland McGrath0c735a92009-05-07 18:19:16 -0700329
Roland McGrath19a8e4d2009-04-21 15:44:07 -07003302009-04-21 Roland McGrath <roland@redhat.com>
331
332 * testfile50.bz2: New data file.
333 * Makefile.am (EXTRA_DIST): Add it.
334 * run-dwfl-addr-sect.sh: Add a case using it.
335
Ulrich Drepper5bd44442008-12-31 09:02:54 -08003362008-12-31 Ulrich Drepper <drepper@redhat.com>
337
Ulrich Drepper3bf57592009-01-01 18:52:05 -0800338 * testfile44.S.bz2: Add tests for dppd, dpps, insertps, movntdqa,
339 mpsadbw, packusdw, pblendvb, pblendw, pcmpeqq, pcmpestri, pcmpestrm,
340 pcmpistri, pcmpistrm, pcmpgtq, phminposuw, pinsrb, pinsrd, pmaxsb,
341 pmaxsd, pmaxud, pmaxuw, pminsb, pminsd, pminud, pminuw, pmovsxbw,
342 pmovsxbd, pmovsxbq, pmovsxwd, pmovsxwq, pmovsxdq, pmovsxbw, pmovsxbd,
343 pmovsxbq, pmovsxwd, pmovsxwq, pmovsxdq, pmuldq, pmulld, popcnt, ptest,
344 roundss, roundps, roundpd, and roundsd.
345 * testfile45.S.bz2: Likewise.
346 * testfile44.expect.bz2: Adjust accordingly.
347 * testfile45.expect.bz2: Likewise.
348
Ulrich Drepper5bd44442008-12-31 09:02:54 -0800349 * testfile44.S.bz2: Add tests for blendvpd and blendvps.
350 * testfile45.S.bz2: Likewise.
351 * testfile44.expect.bz2: Adjust accordingly.
352 * testfile45.expect.bz2: Likewise.
353
Ulrich Drepper26d3c6f2008-12-30 23:12:16 -08003542008-12-30 Ulrich Drepper <drepper@redhat.com>
355
Ulrich Drepperec32ff92008-12-30 23:24:09 -0800356 * testfile44.S.bz2: Add tests for blendpd and blendps.
Ulrich Drepper26d3c6f2008-12-30 23:12:16 -0800357 * testfile45.S.bz2: Likewise.
358 * testfile44.expect.bz2: Adjust accordingly.
359 * testfile45.expect.bz2: Likewise.
360
Ulrich Drepper5a04b9f2008-12-19 01:14:12 -08003612008-12-19 Ulrich Drepper <drepper@redhat.com>
362
363 * testfile44.S.bz2: Add tests for AMD 3DNOW.
364 * testfile45.S.bz2: Likewise.
365 * testfile44.expect.bz2: Adjust accordingly.
366 * testfile45.expect.bz2: Likewise.
367
Roland McGratha845f682008-12-03 03:41:58 +00003682008-11-26 Roland McGrath <roland@redhat.com>
369
370 * dwfl-bug-getmodules.c: New file.
371 * Makefile.am (noinst_PROGRAMS): Add it.
372 (dwfl_bug_getmodules_LDADD): New variable.
373
3742008-09-10 Roland McGrath <roland@redhat.com>
375
376 * test-subr.sh (LC_ALL): Export it set to "C".
377 * run-dwfl-addr-sect.sh: Don't do it here.
378 * run-strings-test.sh: Likewise.
379
Roland McGrathb4d6f0f2008-08-25 22:55:17 +00003802008-08-21 Denys Vlasenko <dvlasenk@redhat.com>
381
382 * run-addrname-test.sh: Add a new case.
383 * testfile49.bz2: New data file.
384 * Makefile.am (EXTRA_DIST): Add it.
385
Roland McGrath521c47d2008-04-11 07:01:58 +00003862008-04-10 Roland McGrath <roland@redhat.com>
387
388 * testfile48.bz2, testfile48.bz2.debug: New data files.
389 * Makefile.am (EXTRA_DIST): Add them.
390 * run-strip-test8.sh: Use them.
391
392 * testfile16.bz2, testfile16.debug.bz2: Replace data files.
393
394 * run-strip-test.sh: Fail if stripped output has ".debug_*" sections.
395 * run-strip-test8.sh: New file.
396 * testfile47.bz2: New data file.
397 * Makefile.am (TESTS, EXTRA_DIST): Add them.
398
Roland McGrath13b69602008-04-01 02:30:05 +00003992008-03-31 Roland McGrath <roland@redhat.com>
400
401 * run-early-offscn.sh: New file.
402 * early-offscn.c: New file.
403 * Makefile.am (noinst_PROGRAMS, TESTS, EXTRA_DIST): Add them.
404 (early_offscn_LDADD): New variable.
405
Roland McGrathd11f9cb2008-03-26 20:51:59 +00004062008-03-19 Roland McGrath <roland@redhat.com>
407
408 * run-addrname-test.sh: Add a new case.
409
Roland McGrath658094a2008-02-22 08:14:07 +00004102008-02-22 Roland McGrath <roland@redhat.com>
411
412 * run-elflint-test.sh: Typo fix.
413
4142008-02-21 Roland McGrath <roland@redhat.com>
415
416 * run-disasm-x86.sh: Use uname instead of arch, keep tools required
417 for the build down to minimum.
418 * run-disasm-x86-64.sh: Likewise.
419
Roland McGrath059c83e2008-02-21 06:19:39 +00004202008-02-20 Roland McGrath <roland@redhat.com>
421
422 * testfile46.bz2: New data file.
423 * Makefile.am (EXTRA_DIST): Add it.
424 * run-elflint-test.sh: Test on it.
425
Ulrich Drepperc54785a2008-02-01 18:05:21 +00004262008-02-01 Ulrich Drepper <drepper@redhat.com>
427
428 * Makefile.am: Hook up sha1-tst.c.
429 * sha1-tst.c: New file.
430
Ulrich Drepper4d8bc812008-01-22 06:02:31 +00004312008-01-21 Roland McGrath <roland@redhat.com>
432
433 * testfile45.S.bz2: Add tests for cltq, cqto.
434 * testfile45.expect.bz2: Adjust.
435
Ulrich Drepper35f2fe62008-01-14 19:17:36 +00004362008-01-14 Ulrich Drepper <drepper@redhat.com>
437
438 * testfile45.S.bz2: Add more tests.
439 * testfile45.expect.bz2: Adjust.
440
Ulrich Drepperfd479892008-01-12 03:06:47 +00004412008-01-11 Ulrich Drepper <drepper@redhat.com>
442
443 * testfile45.expect.bz2: Adjust for adding of address for %rip based
444 address mode.
445
Ulrich Drepper96a73992008-01-11 06:17:06 +00004462008-01-10 Ulrich Drepper <drepper@redhat.com>
447
448 * testfile45.S.bz2: Add more tests.
449 * testfile45.expect.bz2: Adjust.
450
Ulrich Drepperff993222008-01-09 05:39:28 +00004512008-01-08 Ulrich Drepper <drepper@redhat.com>
452
453 * Makefile.am (TESTS): Add run-disasm-x86-64.sh.
454 (EXTRA): Add testfile45.S.bz2, testfile45.expect.bz2,
455 run-disasm-x86-64.sh.
456 * run-disasm-x86-64.sh: New file.
457 * testfile45.S.bz2: New file.
458 * testfile45.expect.bz2: New file.
459 * testfile44.S.bz2: New tests.
460 * testfile44.expect.bz2: Adjust.
461
Ulrich Drepper9e6925d2008-01-04 21:42:14 +00004622008-01-04 Ulrich Drepper <drepper@redhat.com>
463
464 * testfile44.S.bz2: New tests.
465 * testfile44.expect.bz2: Adjust.
466
Ulrich Dreppere219f1c2008-01-09 05:49:49 +00004672008-01-04 Roland McGrath <roland@redhat.com>
468
469 * dwfl-bug-fd-leak.c (main): Add a cast.
470
Ulrich Drepperee67b642008-01-03 08:45:10 +00004712008-01-03 Ulrich Drepper <drepper@redhat.com>
472
473 * testfile44.S.bz2: New tests.
474 * testfile44.expect.bz2: Adjust.
475
Ulrich Drepper3cbdd382008-01-02 17:44:39 +00004762008-01-01 Ulrich Drepper <drepper@redhat.com>
477
Ulrich Drepperf231e272008-01-02 18:07:17 +0000478 * line2addr.c: Use %m modifier instead of %a to appease gcc.
479
4802008-01-01 Ulrich Drepper <drepper@redhat.com>
481
Ulrich Drepperee67b642008-01-03 08:45:10 +0000482 * testfile44.S.bz2: New tests.
Ulrich Drepper3cbdd382008-01-02 17:44:39 +0000483 * testfile44.expect.bz2: Adjust.
484
4852007-12-31 Ulrich Drepper <drepper@redhat.com>
486
Ulrich Drepperee67b642008-01-03 08:45:10 +0000487 * testfile44.S.bz2: New tests.
Ulrich Drepper3cbdd382008-01-02 17:44:39 +0000488 * testfile44.expect.bz2: Adjust.
489
4902007-12-30 Ulrich Drepper <drepper@redhat.com>
491
Ulrich Drepperee67b642008-01-03 08:45:10 +0000492 * testfile44.S.bz2: New tests.
Ulrich Drepper3cbdd382008-01-02 17:44:39 +0000493 * testfile44.expect.bz2: Adjust.
494
4952007-12-29 Ulrich Drepper <drepper@redhat.com>
496
Ulrich Drepperee67b642008-01-03 08:45:10 +0000497 * testfile44.s.bz2: New tests.
Ulrich Drepper3cbdd382008-01-02 17:44:39 +0000498 * testfile44.expect.bz2: Adjust.
499
5002007-12-28 Ulrich Drepper <drepper@redhat.com>
501
502 * testfile44.S.bz2: New tests.
503 * testfile44.expect.bz2: Adjust.
504
5052007-12-27 Ulrich Drepper <drepper@redhat.com>
506
507 * testfile44.S.bz2: New tests.
508 * testfile44.expect.bz2: Adjust.
509
5102007-12-26 Ulrich Drepper <drepper@redhat.com>
511
512 * testfile44.S.bz2: New tests.
513 * testfile44.expect.bz2: Adjust
514
5152007-12-21 Ulrich Drepper <drepper@redhat.com>
516
517 * testfile44.S.bz2: More tests.
518 * testfile44.expect.bz2: Adjust appropriately.
519
5202007-12-19 Ulrich Drepper <drepper@redhat.com>
521
522 * Makefile.am (TESTS): Add run-disasm.sh.
523 (EXTRA_DIST): Add run-disasm.sh, testfile44.S.bz2, and
524 testfile44.expect.bz2.
525 * run-disasm.sh: New file.
526 * testfile44.S.bz2: New file.
527 * testfile44.expect.bz2: New file.
528
Roland McGrath1a2e8f42007-12-15 23:39:34 +00005292007-12-15 Roland McGrath <roland@redhat.com>
530
531 * run-allregs.sh: Change expected output for powerpc spefscr.
532
Roland McGrathe4c22ea2007-10-23 13:07:39 +00005332007-10-20 Roland McGrath <roland@redhat.com>
534
535 * run-dwfl-addr-sect.sh: Change expected output, no errors.
536
5372007-10-19 Roland McGrath <roland@redhat.com>
538
539 * dwfl-addr-sect.c (handle_address): Return int.
540 Don't exit on error, just return nonzero.
541 (main): Collect results.
542 * run-dwfl-addr-sect.sh: New file.
543 * testfile43.bz2: New data file.
544 * Makefile.am (EXTRA_DIST, TESTS): Add them.
545
5462007-10-18 Roland McGrath <roland@redhat.com>
547
548 * run-allregs.sh: Update expected ppc output for vrsave/vscr.
549
5502007-10-16 Roland McGrath <roland@redhat.com>
551
552 * test-subr.sh (remove_files): Don't pass -Bb to diff.
553
Ulrich Drepperb597dfa2007-10-16 05:21:27 +00005542007-10-09 Roland McGrath <roland@redhat.com>
555
556 * dwflmodtest.c (print_module): Don't use %p in output.
557 * run-dwfl-bug-offline-rel.sh: Updated expected output.
558
5592007-10-08 Roland McGrath <roland@redhat.com>
560
561 * testfile42.bz2: New data file.
562 * Makefile.am (EXTRA_DIST): Add it.
563 * run-elflint-test.sh: New test on that file.
564
Roland McGrath59ea7f32007-10-04 08:50:09 +00005652007-10-04 Roland McGrath <roland@redhat.com>
566
567 * run-readelf-test4.sh: New file.
568 * Makefile.am (TESTS, EXTRA_DIST): Add it.
569
5702007-10-03 Roland McGrath <roland@redhat.com>
571
572 * run-readelf-test3.sh: New file.
573 * Makefile.am (TESTS, EXTRA_DIST): Add it.
574
Roland McGrathf6b92282007-10-02 02:34:11 +00005752007-10-01 Roland McGrath <roland@redhat.com>
576
577 * run-readelf-test2.sh: New file.
578 * Makefile.am (TESTS, EXTRA_DIST): Add it.
579
Roland McGrathc76f0b02007-09-27 07:31:33 +00005802007-09-11 Roland McGrath <roland@redhat.com>
581
582 * run-addrname-test.sh: Add a new case.
583 * testfile41.bz2: New data file.
584 * Makefile.am (EXTRA_DIST): Add it.
585
Roland McGrathcb6d8652007-08-23 08:10:54 +00005862007-08-23 Roland McGrath <roland@redhat.com>
587
588 * run-allregs.sh: Update expected x86-64 output for %rflags.
589
Roland McGrath099dd522007-08-13 22:58:36 +00005902007-08-12 Roland McGrath <roland@redhat.com>
591
592 * run-strip-test7.sh: New file.
593 * testfile39.bz2: New data file.
594 * testfile40.bz2: New data file.
595 * testfile40.debug.bz2: New data file.
596 * Makefile.am (TESTS, EXTRA_DIST): Add them.
597
Roland McGrath42f68682007-08-09 07:54:22 +00005982007-08-09 Roland McGrath <roland@redhat.com>
599
600 * dwfl-bug-report.c: Fix header inclusion.
601
6022007-08-08 Roland McGrath <roland@redhat.com>
603
604 * run-addrname-test.sh: Add a new case using addr2line -S.
605 * testfile38.bz2: New data file.
606 * Makefile.am (EXTRA_DIST): Add it.
607
Roland McGrath87d47802007-07-16 22:23:37 +00006082007-07-16 Roland McGrath <roland@redhat.com>
609
610 * dwfl-bug-report.c: New file.
611 * Makefile.am (noinst_PROGRAMS, TESTS): Add it.
612 (dwfl_bug_report_LDADD): New variable.
613
6142007-06-06 Roland McGrath <roland@redhat.com>
Roland McGrath0bc057c2007-06-06 08:42:42 +0000615
616 * run-unstrip-test.sh: Declare testfile.unstrip for removal.
617
Ulrich Drepperb0243862007-06-06 00:09:36 +00006182007-06-05 Ulrich Drepper <drepper@redhat.com>
619
620 * Makefile.am (EXTRA_DIST): Add missing line continuation and
621 testfile37.bz and testfile37.debug.bz2.
622
Roland McGrath53bce222007-05-23 19:15:04 +00006232007-05-23 Roland McGrath <roland@redhat.com>
624
625 * run-allregs.sh: Update expected Alpha results.
626
Roland McGrath9aa8ef72007-05-18 08:59:43 +00006272007-05-18 Roland McGrath <roland@redhat.com>
628
629 * run-strip-test4.sh (stripped, debugfile): Use new reference files.
630 * testfile37.bz2: New data file.
631 * testfile37.debug.bz2: New data file.
632 * run-unstrip-test2.sh: New file.
633 * Makefile.am (TESTS, EXTRA_DIST): Add them.
634
6352007-05-10 Roland McGrath <roland@redhat.com>
636
637 * run-dwfl-bug-offline-rel.sh: New file.
638 * testfile36.bz2: New data file.
639 * testfile36.debug.bz2: New data file.
640 * Makefile.am (TESTS, EXTRA_DIST): Add them.
641
6422007-04-28 Roland McGrath <roland@redhat.com>
643
644 * run-strip-test6.sh (stripped, debugfile): Use new reference files.
645 * testfile35.bz2: New data file.
646 * testfile35.debug.bz2: New data file.
647 * run-unstrip-test.sh: New file.
648 * Makefile.am (TESTS, EXTRA_DIST): Add them.
649
650 * run-strip-test.sh: Do all elflint and cmp runs even when some fail.
651
Roland McGrath2be02912007-04-27 04:07:41 +00006522007-04-26 Roland McGrath <roland@redhat.com>
653
654 * run-elflint-self.sh: Run all tests even if one fails.
655
656 * run-allregs.sh: Add expected output for alpha.
657
Roland McGrath4be15242007-04-25 03:09:33 +00006582007-04-24 Roland McGrath <roland@redhat.com>
659
660 * run-strip-test.sh: When we saved the debug info, test unstrip too.
661
6622007-04-22 Roland McGrath <roland@redhat.com>
663
664 * run-allregs.sh: Update expected register info.
665
Roland McGrath43da9892007-04-16 23:13:37 +00006662007-04-16 Roland McGrath <roland@redhat.com>
667
668 * dwfl-addr-sect.c: New file.
669 * Makefile.am (noinst_PROGRAMS): Add it.
670 (dwfl_addr_sect_LDADD): New variable.
671
6722007-04-05 Roland McGrath <roland@redhat.com>
673
674 * get-files.c: Test dwarf_getsrcdirs.
675 * run-get-files.sh: Update expected output.
676
Roland McGrath5f6a41a2007-04-01 23:11:40 +00006772007-04-01 Roland McGrath <roland@redhat.com>
678
679 * run-allregs.sh: Updated expected output for x86_64.
680
Ulrich Drepper6258e742007-03-13 06:22:40 +00006812007-03-04 Roland McGrath <roland@redhat.com>
682
683 * dwfl-bug-fd-leak.c: New file.
684 * Makefile.am (noinst_PROGRAMS, TESTS): Add it.
685 (dwfl_bug_fd_leak_LDADD): New variable.
686
687 * dwflmodtest.c: Test dwfl_getmodules before and after getdwarf,
688 show what files have been located.
689
Ulrich Drepperaa915fd2007-02-05 07:25:33 +00006902007-02-02 Roland McGrath <roland@redhat.com>
691
692 * run-addrname-test.sh: New file.
693 * Makefile.am (TESTS, EXTRA_DIST): Add it.
694 * testfile34.bz2: New data file.
695 * Makefile.am (EXTRA_DIST): Add it.
696
6972007-01-20 Roland McGrath <roland@redhat.com>
698
699 * testfile33.bz2: New data file.
700 * Makefile.am (EXTRA_DIST): Add it.
701 * run-elflint-test.sh: Test on it too.
702
7032007-01-18 Roland McGrath <roland@redhat.com>
704
705 * Makefile.am (CFLAGS): Don't molest it.
706
7072007-01-11 Roland McGrath <roland@redhat.com>
708
709 * testfile32.bz2: New data file.
710 * Makefile.am (EXTRA_DIST): Add it.
711 * run-elflint-test.sh: Test on it too.
712
Ulrich Drepperce0bdb62007-02-05 07:13:52 +00007132007-02-04 Ulrich Drepper <drepper@redhat.com>
714
715 * arls.c: New file.
716 * Makefile (noinst_PROGRAMS): Add arls.
717
718 * run-ranlib-test2.sh: Fix type in comment.
719
Ulrich Dreppercd4992c2007-01-10 20:58:17 +00007202007-01-10 Ulrich Drepper <drepper@redhat.com>
721
722 * run-elflint-self.sh (runtest): Show which file has the problem.
723
Roland McGrathba949b32007-01-10 20:44:29 +00007242007-01-10 Roland McGrath <roland@redhat.com>
725
726 * dwfl-bug-addr-overflow.c: New file.
727 * Makefile.am (TESTS): Add it.
728 (dwfl_bug_addr_overflow_LDADD): New variable.
729
Roland McGrath8190db62006-12-17 23:56:51 +00007302006-12-17 Roland McGrath <roland@redhat.com>
731
732 * msg_tst.c (libelf_msgs): Fix ELF_E_INVALID_PHDR msg.
733
Roland McGrathc373d852006-10-10 00:25:21 +00007342006-09-05 Roland McGrath <roland@redhat.com>
735
736 * run-strings-test.sh: Export LC_ALL=C for the test.
737
7382006-08-29 Roland McGrath <roland@redhat.com>
739
740 * run-arextract.sh: Use testrun, tempfiles functions from test-subr.sh.
741 * run-arsymtest.sh: Likewise.
742
743 * run-native-test.sh (native.c compilation): Add some braces.
744
7452006-08-22 Roland McGrath <roland@redhat.com>
746
747 * allregs.c (dwarf_encoding_string): New function, swiped from readelf.
748 (struct reginfo): New members bits, type.
749 (one_register, match_register): Update to take new args,
750 record and display new info.
751 (main): Display new info.
752 * run-allregs.sh: Update expected results.
753
Roland McGrath19db8592006-08-03 08:52:46 +00007542006-08-03 Roland McGrath <roland@redhat.com>
755
756 * run-allregs.sh: Add sparc cases.
757 * testfile30.bz2: New data file.
758 * testfile31.bz2: New data file.
759 * Makefile.am (EXTRA_DIST): Add them.
760
Roland McGrath95024622006-07-21 10:06:31 +00007612006-07-21 Roland McGrath <roland@redhat.com>
762
763 * allregs.c (struct reginfo): Increase size of name.
764 (one_register): Assert that it's big enough.
765
Roland McGrathb4379722006-04-05 01:35:26 +00007662006-04-04 Roland McGrath <roland@redhat.com>
767
768 * run-bug1-test.sh: Test a second case, to cover both byte orders.
769 * testfile29.bz2: New file.
770 * testfile29.rdwr.bz2: New file.
771 * Makefile.am (EXTRA_DIST): Add them.
772
Ulrich Drepperba718b12006-04-04 21:31:16 +00007732006-04-04 Ulrich Drepper <drepper@redhat.com>
774
775 * Makefile.am: Add rules to run run-bug1-test.sh.
776 * rdwrmmap.c: New file.
777 * run-bug1-test.sh: New file.
778 * testfile28.bz2: New file.
779 * testfile28.rdwr.bz2: New file.
780
Roland McGrathdd7e22b2006-03-09 23:05:47 +00007812006-03-09 Roland McGrath <roland@redhat.com>
782
783 * Makefile.am (AM_LDFLAGS): Define to pass -rpath-link.
784
Roland McGrath060fa052006-03-02 07:51:50 +00007852006-03-01 Roland McGrath <roland@redhat.com>
786
787 * show-die-info.c (tagnames, attrs): Update name tables for dwarf.h
788 changes matching 3.0 spec.
789
Roland McGrathc40f58a2006-01-13 20:13:21 +00007902006-01-13 Roland McGrath <roland@redhat.com>
791
792 * run-native-test.sh: Do kill -9 and reap explicitly at end, since
793 bash 3.1 whines when it's done in the trap 0 handler.
794
Roland McGrath4b248ce2006-01-12 03:34:38 +00007952006-01-11 Roland McGrath <roland@redhat.com>
796
797 * testfile26.bz2: New data file.
798 * testfile27.bz2: New data file.
799 * Makefile.am (EXTRA_DIST): Add them.
800 * run-allregs.sh: Test s390 data.
801
Roland McGrath124a7982005-12-15 02:37:09 +00008022005-12-14 Roland McGrath <roland@redhat.com>
803
804 * run-native-test.sh: Redirect output from native test process.
805
Roland McGrath94d26ad2005-12-13 23:24:37 +00008062005-12-13 Roland McGrath <roland@redhat.com>
807
808 * allregs.c (main): Fail if we find no registers.
809
810 * run-native-test.sh: New file.
811 * Makefile.am (TESTS, EXTRA_DIST): Add it.
812
Roland McGrathba72ab12005-12-12 00:04:33 +00008132005-12-10 Ulrich Drepper <drepper@redhat.com
814
815 * run-readelf-test1.sh: New file.
816 * Makefile.am (TESTS): Add run-readelf-test1.sh.
817 (EXTRA_DIST): Likewise.
818
Roland McGrathd804e722005-12-08 01:35:42 +00008192005-12-07 Roland McGrath <roland@redhat.com>
Ulrich Drepperf7e1bd92005-12-10 17:32:38 +0000820
Roland McGrathd804e722005-12-08 01:35:42 +0000821 * ecp.c (main): Use elf_end to clean up.
Ulrich Drepperf7e1bd92005-12-10 17:32:38 +0000822
Roland McGrath994b4892005-12-05 22:46:21 +00008232005-11-25 Roland McGrath <roland@redhat.com>
824
825 * coverage.sh: Given -v argument, print names of unused files.
826
827 * addrscopes.c (main): Use dwfl_end before return.
828 * allregs.c (main): Likewise.
829 * find-prologues.c (main): Likewise.
830 * funcretval.c (main): Likewise.
831 * funcscopes.c (main): Likewise.
832 * line2addr.c (main): Likewise.
833
834 * run-allregs.sh: New file.
835 * Makefile.am (TESTS, EXTRA_DIST): Add it.
836
837 * allregs.c: Use libdwfl wrapper instead of direct libebl calls.
838 * Makefile.am (allregs_LDADD): Updated.
839
840 * allregs.c: New file.
841 * Makefile.am (noinst_PROGRAMS): Add it.
842 (allregs_LDADD): New variable.
843
Roland McGrath9365d2c2005-11-18 23:55:47 +00008442005-11-18 Roland McGrath <roland@redhat.com>
845
846 * test-subr.sh (installed_testrun): Treat /usr/lib64 like /usr/lib.
847 * test-wrapper.sh: Likewise.
848
Roland McGrath575dd392005-11-18 01:41:52 +00008492005-11-17 Roland McGrath <roland@redhat.com>
850
Roland McGrathaf74f5c2005-11-18 02:25:14 +0000851 * Makefile.am (installed_TESTS_ENVIRONMENT): Set libdir, bindir in
852 environment for test-wrapper.sh.
853 * test-wrapper.sh: Set LD_LIBRARY_PATH from ${libdir} if not /usr/lib.
854 * test-subr.sh (installed_testrun): Likewise.
855 Use explicit path in ${bindir}.
856
Roland McGrath575dd392005-11-18 01:41:52 +0000857 * Makefile.am (installcheck-local): Fix typo in last change.
858
Roland McGrathd7f8d0c2005-11-17 02:32:03 +00008592005-11-16 Roland McGrath <roland@redhat.com>
860
861 * configure.ac: New file, for standalone build/dist of test suite.
862 * Makefile.am [!STANDALONE] (INCLUDES): Don't define it.
863 (asm_TESTS): New variable, broken out of ...
864 (TESTS): ... here. Also remove msg_tst.
865 [!STANDALONE] (TESTS, noinst_PROGRAMS): Add in $(asm_TESTS), msg_tst.
866 (installed_TESTS_ENVIRONMENT): New variable.
867 [STANDALONE] (TESTS_ENVIRONMENT): Use that.
868 [!STANDALONE] (installcheck-local): Likewise.
869 [STANDALONE] (libdw, libelf, libasm, libebl): Define using -lfoo.
870 * addrscopes.c: Include <config.h>.
871 Use ELFUTILS_HEADER macro in #include of installed elfutils/ headers.
872 * allfcts.c: Likewise.
873 * asm-tst1.c: Likewise.
874 * asm-tst2.c: Likewise.
875 * asm-tst3.c: Likewise.
876 * asm-tst4.c: Likewise.
877 * asm-tst5.c: Likewise.
878 * asm-tst6.c: Likewise.
879 * asm-tst7.c: Likewise.
880 * asm-tst8.c: Likewise.
881 * asm-tst9.c: Likewise.
882 * dwflmodtest.c: Likewise.
883 * find-prologues.c: Likewise.
884 * funcscopes.c: Likewise.
885 * get-aranges.c: Likewise.
886 * get-files.c: Likewise.
887 * get-lines.c: Likewise.
888 * get-pubnames.c: Likewise.
889 * line2addr.c: Likewise.
890 * newscn.c: Likewise.
891 * show-abbrev.c: Likewise.
892 * show-die-info.c: Likewise.
893 * update3.c: Likewise.
894 * update4.c: Likewise.
Roland McGrathe47ab762005-11-17 03:16:00 +0000895 * funcretval.c: Likewise.
Roland McGrathd7f8d0c2005-11-17 02:32:03 +0000896
897 * dwflmodtest.c (print_instance): Don't use INTUSE.
898 (options): Don't use N_ macro.
899
Roland McGrath1b8b4462005-11-16 01:33:38 +00009002005-11-15 Roland McGrath <roland@redhat.com>
901
Roland McGrathe47ab762005-11-17 03:16:00 +0000902 * coverage.sh: Look in backends.
903 * Makefile.am (BUILD_RPATH): Search ../backends, not ../libebl.
904 (TESTS_ENVIRONMENT): Likewise.
905
906 * funcretval.c (handle_function): Don't take DW_AT_type of FUNCDIE,
907 pass FUNCDIE direclty to dwfl_module_return_value_location.
908
Roland McGrath1b8b4462005-11-16 01:33:38 +0000909 * Makefile.am (BUILD_RPATH): New variable.
910 [TESTS_RPATH] (AM_LDFLAGS): Pass -rpath option using that value.
911 (tests_rpath): New variable.
912 (installcheck-local): Pass it to test-wrapper.sh.
913 * test-wrapper.sh: In "installed" format, take yes/no value
914 for elfutils_tests_rpath, which export. When running a test
915 binary for installcheck, exit 77.
916 * test-subr.sh (installed_testrun): When running a test binary
917 for installcheck, exit 77 if $elfutils_tests_rpath = yes.
918
9192005-11-14 Roland McGrath <roland@redhat.com>
920
921 * test-subr.sh: New file.
922 * test-wrapper.sh: New file.
923 * Makefile.am (EXTRA_DIST): Add them.
924 (AM_LDFLAGS): Variable removed.
925 (TESTS_ENVIRONMENT): New variable.
926 (installcheck-local): New target.
927 * run-addrscopes.sh: Use test-subr.sh.
928 * run-allfcts.sh: Likewise.
929 * run-ecp-test.sh: Likewise.
930 * run-ecp-test2.sh: Likewise.
931 * run-elflint-self.sh: Likewise.
932 * run-elflint-test.sh: Likewise.
933 * run-find-prologues.sh: Likewise.
934 * run-funcscopes.sh: Likewise.
935 * run-get-aranges.sh: Likewise.
936 * run-get-files.sh: Likewise.
937 * run-get-lines.sh: Likewise.
938 * run-get-pubnames.sh: Likewise.
939 * run-line2addr.sh: Likewise.
940 * run-ranlib-test.sh: Likewise.
941 * run-ranlib-test2.sh: Likewise.
942 * run-show-abbrev.sh: Likewise.
943 * run-show-ciefde.sh: Likewise.
944 * run-show-die-info.sh: Likewise.
945 * run-strings-test.sh: Likewise.
946 * run-strip-test.sh: Likewise.
947
Roland McGrathe47ab762005-11-17 03:16:00 +00009482005-11-13 Roland McGrath <roland@redhat.com>
949
950 * funcretval.c: New file.
951 * Makefile.am (noinst_PROGRAMS): Add it.
952 (funcretval_LDADD): New variable.
953
Ulrich Drepper3840c1c2005-11-09 16:13:48 +00009542005-11-09 Ulrich Drepper <drepper@redhat.com>
955
956 * line2addr.c (handle_module): Add missing parameter to printf.
957
Roland McGrath07d4f2f2005-10-28 06:56:24 +00009582005-10-27 Roland McGrath <roland@redhat.com>
959
Roland McGrath6724c902005-10-28 07:07:19 +0000960 * allfcts.c (cb): Update for dwarf_func_* -> dwarf_decl_* changes.
961 * funcscopes.c (handle_function): Likewise.
962 * dwflmodtest.c (print_inline, print_func): Likewise.
963 * find-prologues.c (handle_function): Likewise.
964
9652005-10-27 Roland McGrath <roland@redhat.com>
966
Roland McGrath07d4f2f2005-10-28 06:56:24 +0000967 * run-find-prologues.sh: New file.
968 * Makefile.am (TESTS, EXTRA_DIST): Add it.
969
970 * find-prologues.c (handle_function): Skip inlines.
971
9722005-10-25 Roland McGrath <roland@redhat.com>
973
974 * find-prologues.c: New file.
975 * Makefile.am (noinst_PROGRAMS): Add it.
976 (find_prologues_LDADD): New variable.
977
Ulrich Drepper3bbc9502005-09-02 20:29:56 +00009782005-09-02 Ulrich Drepper <drepper@redhat.com>
979
980 * run-strings-test.sh: Remove strings.out in the end.
981
Ulrich Drepper7d65d012005-08-31 15:14:26 +00009822005-08-31 Ulrich Drepper <drepper@redhat.com>
983
984 * run-addrscopes.sh: Use correct exit code if test cannot be performed.
985 * run-allfcts.sh: Likewise.
986 * run-ecp-test.sh: Likewise.
987 * run-ecp-test2.sh: Likewise.
988 * run-elflint-test.sh: Likewise.
989 * run-funcscopes.sh: Likewise.
990 * run-get-aranges.sh: Likewise.
991 * run-get-files.sh: Likewise.
992 * run-get-lines.sh: Likewise.
993 * run-get-pubnames.sh: Likewise.
994 * run-line2addr.sh: Likewise.
995 * run-ranlib-test2.sh: Likewise.
996 * run-show-abbrev.sh: Likewise.
997 * run-show-ciefde.sh: Likewise.
998 * run-show-die-info.sh: Likewise.
999 * run-strings-test.sh: Likewise.
1000 * run-strip-test.sh: Likewise.
1001
Ulrich Drepper5a6f8d12005-08-30 17:56:53 +000010022005-08-30 Ulrich Drepper <drepper@redhat.com>
1003
1004 * coverage.sh: Handle case where there is no .gcno file at all.
1005
Ulrich Drepper39cec7a2005-08-30 01:22:01 +000010062005-08-29 Ulrich Drepper <drepper@redhat.com>
1007
1008 * Makefile.am (EXTRA_DIST): Add coverage.
1009 [GCOV]: Generate coverage summary after the tests ran
1010 * coverage.sh: New file.
1011
Ulrich Drepperfbe998a2005-08-29 16:27:10 +000010122005-08-28 Ulrich Drepper <drepper@redhat.com>
1013
1014 * Makefile.an [BUILD_STATIC] (libdw): Add -ldl.
1015 (CLEANFILES): Add *.gcno *.gcda *.gconv.
1016
10172005-08-28 Ulrich Drepper <drepper@redhat.com>
1018
1019 * run-strings-test.sh: New file.
1020 * Makefile.am (TESTS, EXTRA_DIST): Add it.
1021
Roland McGrath71e15a02005-08-27 10:33:26 +000010222005-08-27 Roland McGrath <roland@redhat.com>
1023
Roland McGrathb0bc2782005-08-27 21:07:16 +00001024 * addrscopes.c (handle_address): Apply bias to PC addresses.
1025
Roland McGrath71e15a02005-08-27 10:33:26 +00001026 * run-funcscopes.sh: New file.
1027 * testfile25.bz2: New data file.
1028 * Makefile.am (TESTS, EXTRA_DIST): Add them.
1029
10302005-08-26 Roland McGrath <roland@redhat.com>
1031
1032 * addrscopes.c (dwarf_diename_integrate): Removed.
1033 (print_vars, handle_address): Use plain dwarf_diename.
1034
10352005-08-25 Roland McGrath <roland@redhat.com>
1036
1037 * funcscopes.c: New file.
1038 * Makefile.am (noinst_PROGRAMS): Add it.
1039 (funcscopes_LDADD): New variable.
1040
1041 * run-addrscopes.sh: Add another case.
1042 * testfile24.bz2: New data file.
1043 * Makefile.am (EXTRA_DIST): Add it.
1044
1045 * addrscopes.c (handle_address): Take new argument IGNORE_INLINES,
1046 pass it to dwarf_getscopes.
1047 (main): Pass it, true when '=' follows an address.
1048
Roland McGrath4c305da2005-08-25 01:49:35 +000010492005-08-24 Roland McGrath <roland@redhat.com>
Ulrich Drepper8a520952005-08-28 08:56:34 +00001050
Roland McGrath4c305da2005-08-25 01:49:35 +00001051 * line2addr.c (print_address): Omit () for DSOs.
Ulrich Drepper8a520952005-08-28 08:56:34 +00001052
Ulrich Drepper2eb660f2005-08-24 19:47:57 +000010532005-08-24 Ulrich Drepper <drepper@redhat.com>
1054
Ulrich Drepper958bf132005-08-24 21:40:55 +00001055 * run-line2addr.sh: Remove testfile23 in the end.
1056
Ulrich Drepper2eb660f2005-08-24 19:47:57 +00001057 * Makefile.am [BUILD_STATIC] (libdw): Add $(libelf) and $(libebl).
Ulrich Drepperf81343a2005-08-24 20:55:31 +00001058 [MUDFLAP] (AM_LDFLAGS): Define to find libebl modules.
Ulrich Drepper2eb660f2005-08-24 19:47:57 +00001059
Roland McGrathd17fac72005-08-23 08:20:21 +000010602005-08-22 Roland McGrath <roland@redhat.com>
1061
1062 * run-line2addr.sh: Add a case.
1063 * testfile23.bz2: New data file.
1064 * Makefile.am (EXTRA_DIST): Add it.
1065
Roland McGrath9a1f3652005-08-18 20:57:04 +000010662005-08-18 Roland McGrath <roland@redhat.com>
1067
Roland McGrathf5fda7d2005-08-18 22:01:57 +00001068 * run-addrscopes.sh: New file.
1069 * testfile22.bz2: New data file.
1070 * Makefile.am (TESTS, EXTRA_DIST): Add them.
1071
Roland McGrath9a1f3652005-08-18 20:57:04 +00001072 * addrscopes.c: New file.
1073 * Makefile.am (noinst_PROGRAMS): Add it.
1074 (addrscopes_LDADD): New variable.
1075
Ulrich Drepper837b5222005-08-16 05:12:01 +000010762005-08-15 Ulrich Drepper <drepper@redhat.com>
1077
1078 * run-elflint-self.sh: Don't run test if the file doesn't exist.
1079
Roland McGrath1ecb6062005-08-15 09:53:04 +000010802005-08-15 Roland McGrath <roland@redhat.com>
1081
1082 * dwflmodtest.c (print_instance, print_inline): New functions.
1083 (print_func): Call print_inline.
1084 (options, parse_opt): Grok -i/--inlines.
1085
Roland McGrath8d18c292005-08-07 21:42:07 +000010862005-08-07 Roland McGrath <roland@redhat.com>
1087
1088 * dwflmodtest.c: Print function details only if -f flag is given.
1089
Ulrich Drepper47be7952005-08-07 04:41:39 +000010902005-08-06 Ulrich Drepper <drepper@redhat.com>
1091
Ulrich Drepper637963b2005-08-07 05:33:07 +00001092 * run-elflint-self.sh: New file.
1093 * Makefile.am (TESTS): Add run-elflint-self.sh.
1094 (EXTRA_DIST): Likewise.
1095
Ulrich Drepper47be7952005-08-07 04:41:39 +00001096 * Makefile.am: Link with statis libs if BUILD_STATIC.
1097 (dwflmodtest_LDADD): Also link with -ldl.
1098
Ulrich Drepper41de4882005-08-03 00:02:56 +000010992005-08-02 Ulrich Drepper <drepper@redhat.com>
1100
Ulrich Dreppera38998e2005-08-03 02:05:39 +00001101 * Makefile.am: Add -ldl to asm_tst[1-9]_LDASS.
1102 * asm-tst1.c: Adjust for new asm_begin interface. Open backend
1103 library first.
1104 * asm-tst2.c: Likewise.
1105 * asm-tst3.c: Likewise.
1106 * asm-tst4.c: Likewise.
1107 * asm-tst5.c: Likewise.
1108 * asm-tst6.c: Likewise.
1109 * asm-tst7.c: Likewise.
1110 * asm-tst8.c: Likewise.
1111 * asm-tst9.c: Likewise.
1112
Ulrich Drepper41de4882005-08-03 00:02:56 +00001113 * msg_tst.c: Add new error message.
1114
Ulrich Drepper18618fd2005-07-28 21:29:22 +000011152005-07-28 Ulrich Drepper <drepper@redhat.com>
1116
1117 * Makefile.am (dwflmodtest_LDADD): Add $(libebl).
1118
Roland McGrathd17fac72005-08-23 08:20:21 +000011192005-06-01 Roland McGrath <roland@redhat.com>
1120
1121 * line2addr.c: Rewritten using libdwfl.
1122 * run-line2addr.sh: Update test for changed arguments.
1123 * Makefile.am (INCLUDES): Add libdwfl source directory to path.
1124 (libdwfl): New variable.
1125 (line2addr_LDADD): Use it.
1126
Roland McGrath18385902005-07-28 07:12:38 +000011272005-07-28 Roland McGrath <roland@redhat.com>
1128
1129 * dwflmodtest.c: New file, moved from ../libdwfl/ptest.c to here.
1130 * Makefile.am (noinst_PROGRAMS): Add dwflmodtest.
1131 (dwflmodtest_LDADD): New variable.
1132 (INCLUDES): Add -I$(top_srcdir)/libdwfl here.
1133
Ulrich Drepperb08d5a82005-07-26 05:00:05 +000011342005-07-21 Ulrich Drepper <drepper@redhat.com>
1135
1136 * testfile18.bz2: New file.
1137 * run-elflint-test.sh: New file.
1138 * Makefile.am (TESTS): Add run-elflint-test.sh.
1139 (EXTRA_DIST): Add run-elflint-test.sh and testfile18.bz2.
1140
11412005-05-24 Ulrich Drepper <drepper@redhat.com>
1142
1143 * get-files.c (main): Use correct format specifier.
1144
11452005-05-21 Ulrich Drepper <drepper@redhat.com>
1146
1147 * Makefile.am: Add -Wextra to CFLAGS.
1148 * get-files.c: Remove warning this produced.
1149 * get-pubnames.c: Likewise.
1150 * newfile.c: Likewise.
1151 * newscn.c: Likewise.
1152 * scnnames.c: Likewise.
1153 * showptable.c: Likewise.
1154 * test-nlist.c: Likewise.
1155 * update1.c: Likewise.
1156 * update2.c: Likewise.
1157 * update3.c: Likewise.
1158 * update4.c: Likewise.
1159
11602005-05-08 Ulrich Drepper <drepper@redhat.com>
1161
1162 * run-line2addr.sh: Remove testfile14 at the end.
1163
Ulrich Drepper282bf322005-07-28 21:49:05 +00001164 * run-strip-test.sh: Remove debuginfo test input file as well.
Ulrich Drepperb08d5a82005-07-26 05:00:05 +00001165
1166 * Makefile.am (EXTRA_DIST): Newly added files incorrectly used
1167 .bz, not .bz2.
1168
11692005-05-03 Roland McGrath <roland@redhat.com>
1170
1171 * run-strip-test.sh: Use variables for test file names.
1172 Optionally produce separate debug file and check it.
1173 * run-strip-test2.sh: Use run-strip-test.sh via ., no duplication.
1174 * run-strip-test3.sh: Likewise.
1175 * run-strip-test4.sh: New file.
1176 * run-strip-test5.sh: New file.
1177 * run-strip-test6.sh: New file.
1178 * testfile15.bz: New file.
1179 * testfile15.debug.bz: New file.
1180 * testfile16.bz: New file.
1181 * testfile16.debug.bz: New file.
1182 * testfile17.bz: New file.
1183 * testfile17.debug.bz: New file.
1184 * Makefile.am (TESTS, EXTRA_DIST): Add them.
1185
11862005-04-25 Ulrich Drepper <drepper@redhat.com>
1187
1188 * run-line2addr.sh: Also use testfile14. Adjust for correct
1189 return of multiple matches.
1190 * testfile14.bz2: New file.
1191 * Makefile.am (EXTRA_DIST): Add testfile14.bz2.
1192
1193 * show-abbrev.c (main): Adjust for dwarf_getabbrev interface change.
1194
Roland McGrath87d47802007-07-16 22:23:37 +000011952005-04-04 Roland McGrath <roland@redhat.com>
Ulrich Drepperb08d5a82005-07-26 05:00:05 +00001196
1197 * line2addr.c (main): Initialize LINES and NLINES before calling
1198 dwarf_getsrc_file, and free LINES afterwards.
1199
1200 * allfcts.c (main): Use size_t for CUHL.
1201
12022005-04-04 Ulrich Drepper <drepper@redhat.com>
1203
1204 * line2addr.c: New file.
1205 * run-line2addr.sh: New file.
1206 * Makefile.am: Add rules to build, run, and distribute new code.
1207
12082005-04-02 Ulrich Drepper <drepper@redhat.com>
1209
1210 * allfcts.c: New file.
1211 * run-allfcts.sh: New file.
1212 * Makefile.am: Add rules to build, run, and distribute new code.
1213
12142005-02-05 Ulrich Drepper <drepper@redhat.com>
1215
1216 * Makefile.am [MUDFLAP] (AM_CFLAGS): Add -fmudflap. Link all test
1217 programs with -lmudflap.
1218
12192004-09-25 Ulrich Drepper <drepper@redhat.com>
1220
1221 * asm-tst4.c (main): Add LD_LIBRARY_PATH to elflint invocation.
1222 * asm-tst5.c (main): Likewise.
1223 * asm-tst6.c (main): Likewise.
1224
12252004-01-17 Ulrich Drepper <drepper@redhat.com>
1226
1227 * Makefile.am: Support building with mudflap.
1228
12292004-01-12 Ulrich Drepper <drepper@redhat.com>
1230
1231 * get-aranges.c: Rewrite to use libdw.
1232 * Makefile.am: Reenable get-aranges test.
1233
12342004-01-11 Ulrich Drepper <drepper@redhat.com>
1235
1236 * get-lines.c: New file.
1237 * get-files.c: Adjust for libdw.
1238 * run-get-files.sh: Adjust expected result.
1239 * run-get-lines.sh: Likewise.
1240 * Makefile.am: Run get-lines test. Don't run get-aranges and
1241 get-ciefde test for now.
1242
1243 * show-abbrev.c: Adjust call to dwarf_getabbrevattr after interface
1244 change. Print attribute offset information.
1245 * run-show-abbrev.sh: Adjust expected output.
1246
12472004-01-09 Ulrich Drepper <drepper@redhat.com>
1248
1249 * show-abbrev.c: Adjust call to dwarf_nextcu after interface change.
1250 * show-die-info.c: Likewise.
1251 * run-show-die-info.sh: Adjust expected output.
1252
12532003-08-13 Ulrich Drepper <drepper@redhat.com>
1254
1255 * Makefile.in: Depend on libebl.a, not libebl.so.
1256
12572003-08-11 Ulrich Drepper <drepper@redhat.com>
1258
1259 * Moved to CVS archive.