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
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
1260
1261
1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
1272
1273
1274
1275
1276
1277
1278
1279
1280
1281
1282
1283
1284
1285
1286
1287
1288
1289
1290
1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
1304
1305
1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
1321
1322
1323
1324
1325
1326
1327
1328
1329
1330
1331
1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
1369
1370
1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
1381
1382
1383
1384
1385
1386
1387
1388
1389
1390
1391
1392
1393
1394
1395
1396
1397
1398
1399
1400
1401
1402
1403
1404
1405
1406
1407
1408
1409
1410
1411
1412
1413
1414
1415
1416
1417
1418
1419
1420
1421
1422
1423
1424
1425
1426
1427
1428
1429
1430
1431
1432
1433
1434
1435
1436
1437
1438
1439
1440
1441
1442
1443
1444
1445
1446
1447
1448
1449
1450
1451
1452
1453
1454
1455
|
2013-04-30 Jan Kratochvil <jan.kratochvil@redhat.com>
* dwfl-report-elf-align.c: Use false add_p_vaddr for dwfl_report_elf.
2013-04-29 Mark Wielaard <mjw@redhat.com>
* test-subr.sh: Don't use pushd, just cd into test-dir.
(exit_cleanup): Don't use popd, just cd .. to get out.
2013-04-27 Mark Wielaard <mjw@redhat.com>
* test-subr.sh (exit_cleanup): New function.
(trap): Use exit_cleanup as argument.
* run-native-test.sh (native_exit): New function.
(trap): For EXIT (0) use native_exit as argument.
2013-04-27 Mark Wielaard <mjw@redhat.com>
* update1.c (main): Use unique tempfile name and unlink file.
* update2.c (main): Likewise.
* update3.c (main): Likewise.
* update4.c (main): Use unique tempfile name.
2013-04-27 Mark Wielaard <mjw@redhat.com>
* run-alldts.sh: Add testfile-alldts to tempfiles.
* run-elf_cntl_gelf_getshdr.sh: Add test_shdr.out to tempfiles.
* run-macro-test.sh: Add readelf.macros.out to tempfiles.
* run-strip-reloc.sh: Add readelf.out, readelf.out1, readelf.out2
and out.stripped1, out.debug1, out.stripped2, out.debug2 to tempfiles.
2013-04-26 Mark Wielaard <mjw@redhat.com>
* Makefile.am (installed_TESTS_ENVIRONMENT): Export environment,
remove wrapper.
(TESTS_ENVIRONMENT): Likewise.
(installed_LOG_COMPILER): New variable defining wrapper.
(LOG_COMPILER): Likewise.
* run-*.sh: Fixup location of input and output files.
* test-subr.sh: Create test_dir, pushd to execute test in.
(trap): Remove test_dir.
(testfiles): Use abs_srcdir.
(installed_testrun): Match on abs_builddir or abs_top_builddir.
(self_test_files): Adjust path.
2013-04-24 Mark Wielaard <mjw@redhat.com>
* Makefile.am: Use AM_CPPFLAGS instead of INCLUDES.
2013-03-25 Mark Wielaard <mjw@redhat.com>
* run-readelf-aranges.sh: New test.
* testfilefoobarbaz.bz2: New test file.
* Makefile.am (TESTS): Add run-readelf-aranges.sh.
(EXTRA_DIST): Add run-readelf-aranges.sh and testfilefoobarbaz.bz2.
2013-03-25 Mark Wielaard <mjw@redhat.com>
* run-readelf-dwz-multi.sh: Expect high_pc also as address.
2013-03-20 Jan Kratochvil <jan.kratochvil@redhat.com>
* Makefile.am (check_PROGRAMS): Add dwfl-report-elf-align.
(TESTS): Add run-dwfl-report-elf-align.sh.
(EXTRA_DIST): Add run-dwfl-report-elf-align.sh and
testfile-dwfl-report-elf-align-shlib.so.bz2 .
(dwfl_report_elf_align_LDADD): New.
* dwfl-report-elf-align.c: New file.
* run-dwfl-report-elf-align.sh: New file.
* testfile-dwfl-report-elf-align-shlib.so.bz2: New file.
2013-03-12 Mark Wielaard <mjw@redhat.com>
* run-dwfllines.sh: New test.
* dwfllines.c: New test program.
* Makefile.am (TESTS): Add run-dwfllines.sh.
(EXTRA_DIST): Likewise.
(dwfllines_LDADD): New variable.
2013-02-22 Mark Wielaard <mjw@redhat.com>
* Makefile.am (TESTS): Remove run-readelf-s.sh and run-dwflsyms.sh.
(LZMA): Add run-readelf-s.sh and run-dwflsyms.sh to TESTS.
2013-02-15 Mark Wielaard <mjw@redhat.com>
* testfile-dwzstr.bz2: New testfile.
* testfile-dwzstr.multi.bz2: Likewise.
* run-readelf-dwz-multi.sh: Add readelf testfile-dwzstr test.
* Makefile.am (EXTRA_DIST): Add testfile-dwzstr.bz2 and
testfile-dwzstr.multi.bz2.
2013-01-30 Mark Wielaard <mjw@redhat.com>
* testfileloc.bz2: New testfile.
* run-readelf-loc.sh: New test.
* Makefile.am (TESTS): Add run-readelf-loc.sh.
(EXTRA_DIST): Add run-readelf-loc.sh and testfileloc.bz2.
2013-01-29 Jan Kratochvil <jan.kratochvil@redhat.com>
* run-readelf-mixed-corenote.sh: New testcase for readelf -n of s390
and s390x core notes.
* testfile67.bz2: New file.
* testfile68.bz2: New file.
* Makefile.am (EXTRA_DIST): Add testfile67.bz2 and testfile68.bz2 .
2013-01-23 Mark Wielaard <mjw@redhat.com>
* testfilebasmin.bz2: New testfile.
* Makefile.am (EXTRA_DIST): Add testfilebasmin.bz2.
* run-readelf-s.sh: Test testfilebasmin.
* run-dwflsyms.sh: Likewise.
2013-01-16 Mark Wielaard <mjw@redhat.com>
* Makefile.am (check_PROGRAMS): Add dwflsyms.
(TESTS): Add run-readelf-s.sh and run-dwflsyms.sh.
(EXTRA_DIST): Add run-readelf-s.sh, testfilebazdbg.bz2,
testfilebazdyn.bz2, testfilebazmin.bz2, testfilebazdbg.debug.bz2,
testfilebazmdb.bz2, testfilebaztab.bz2 and run-dwflsyms.sh.
(dwflsyms_LDADD): New variable.
2013-01-07 Roland McGrath <roland@hack.frob.com>
* run-prelink-addr-test.sh: Use ln -snf.
2012-12-03 Mark Wielaard <mjw@redhat.com>
* Makefile.am (valgrind_cmd): Add --run-libc-freeres=no.
2012-11-29 Jan Kratochvil <jan.kratochvil@redhat.com>
* run-addrname-test.sh: New test for PIE relocation.
* testfile70.core.bz2: New file.
* testfile70.exec.bz2: New file.
* Makefile.am (EXTRA_DIST): Add testfile70.core.bz2 and
testfile70.exec.bz2 .
2012-10-27 Jan Kratochvil <jan.kratochvil@redhat.com>
* Makefile.am (EXTRA_DIST): Add testfile64.bz2, testfile65.bz2,
testfile69.core.bz2 and testfile69.so.bz2 .
2012-10-17 Jan Kratochvil <jan.kratochvil@redhat.com>
* run-addrname-test.sh: New test for DSO with build-id bias.
* testfile69.core.bz2: New file.
* testfile69.so.bz2: New file.
2012-10-10 Jan Kratochvil <jan.kratochvil@redhat.com>
* run-addrname-test.sh: New test for core vDSO bias.
* testfile65.bz2: New file.
2012-10-10 Jan Kratochvil <jan.kratochvil@redhat.com>
* run-addrname-test.sh: New test for symbol preferences.
* testfile64.bz2: New file.
2012-10-01 Mark Wielaard <mjw@redhat.com>
* Makefile.am (TESTS_ENVIRONMENT): Define valgrind_cmd if USE_VALGRIND.
* test-wrapper.sh: Export VALGRIND_CMD if available.
* test-subr.sh (built_testrun): Use VALGRIND_CMD to invoke test prog.
(installed_testrun): Likewise.
2012-09-24 Petr Machata <pmachata@redhat.com>
* testfile63.bz2: New testfile.
* run-readelf-mixed-corenote.sh: New test.
* Makefile.am (TEST): Add run-readelf-mixed-corenote.sh.
(EXTRA_DIST): Add testfile63.bz2 and run-readelf-mixed-corenote.sh.
2012-09-24 Petr Machata <pmachata@redhat.com>
* testfile62.bz2: New testfile.
* run-readelf-vmcoreinfo.sh: New test.
* Makefile.am (TEST): Add run-readelf-vmcoreinfo.sh.
(EXTRA_DIST): Add testfile62.bz2 and run-readelf-vmcoreinfo.sh.
2012-09-18 Petr Machata <pmachata@redhat.com>
* testfile61.bz2: New testfile.
* run-allregs.sh: Run reg_test testfile61.
* Makefile.am (EXTRA_DIST): Add testfile61.bz2.
2012-08-24 Mark Wielaard <mjw@redhat.com>
* Makefile.am (EXTRA_DIST): Add testfile60.bz2.
2012-08-22 Jeff Kenton <jkenton@tilera.com>
* testfile60.bz2: New testfile.
* run-allregs.sh: Run reg_test testfile60.
2012-08-24 Mark Wielaard <mjw@redhat.com>
* Makefile.am (TESTS): Only add run-readelf-dwz-multi.sh if
ENABLE_DWZ.
2012-08-16 Mark Wielaard <mjw@redhat.com>
* allregs.c (dwarf_encoding_string): Rewritten using known-dwarf
macros.
* show-die-info.c (tagnames): Removed.
(attrs): Removed.
(dwarf_tag_string): New function using known-dwarf macros.
(dwarf_attr_string): Likewise.
(handle): Call dwarf_tag_string and dwarf_attr_string instead.
* run-readelf-dwz-multi.sh: Expect language C89, not ISO C89.
2012-06-27 Mark Wielaard <mjw@redhat.com>
* Makefile.am (TESTS): Add run-readelf-dwz-multi.sh.
(EXTRA_DIST): Add run-readelf-dwz-multi.sh,
libtestfile_multi_shared.so.bz2, testfile_multi.dwz.bz2 and
testfile_multi_main.bz2.
* run-readelf-dwz-multi.sh: New test.
* libtestfile_multi_shared.so.bz2: New testfile.
* testfile_multi.dwz.bz2: New testifle.
* testfile_multi_main.bz2: New testifle.
2012-08-01 Petr Machata <pmachata@redhat.com>
* run-test-archive64.sh: New test.
* testarchive64.a.bz2: New testfile.
* Makefile.am (TESTS): Add run-test-archive64.sh.
(EXTRA_DIST): Likewise.
2012-08-01 Mark Wielaard <mjw@redhat.com>
* run-nm-self.sh: New test.
* run-readelf-self.sh: Likewise.
* test-subr.sh (testrun_on_self_quiet): New function.
* Makefile.am (TESTS): Add run-nm-self.sh and run-readelf-self.sh.
(EXTRA_DIST): Likewise.
2012-08-01 Mark Wielaard <mjw@redhat.com>
* test-subr.sh (self_test_files): New list of files.
(testrun_on_self): New function.
* run-elflint-self.sh: Use testrun_on_self.
2012-07-19 Mark Wielaard <mjw@redhat.com>
* Makefile.am (check_PROGRAMS): Add test-elf_cntl_gelf_getshdr.
(TESTS): Add run-elf_cntl_gelf_getshdr.sh.
(EXTRA_DIST): Likewise.
(test_elf_cntl_gelf_getshdr_LDADD): New.
test-elf_cntl_gelf_getshdr.c: New test program.
run-elf_cntl_gelf_getshdr.sh: New test script.
2012-07-19 Mark Wielaard <mjw@redhat.com>
* run-elflint-self.sh: runtests on ../backends/*so files.
2012-07-19 Mark Wielaard <mjw@redhat.com>
* run-unstrip-n.sh: test_cleanup.
* Makefile.am (EXTRA_DIST): Add testcore-rtlib-ppc.bz2.
2012-07-11 Mark Wielaard <mjw@redhat.com>
* run-readelf-macro.sh: New test.
* testfilemacro.bz2: New testfile.
* Makefile.am (TESTS): Add run-readelf-macro.sh.
(EXTRA_DIST): Add run-readelf-macro.sh and testfilemacro.bz2.
2012-06-27 Mark Wielaard <mjw@redhat.com>
* run-readelf-gdb-index.sh: New test.
* testfilegdbindex5.bz2: New testfile.
* testfilegdbindex7.bz2: Likewise.
* Makefile.am (TESTS): Add run-readelf-gdb-index.sh.
(EXTRA_DIST): run-readelf-gdb_index.sh, testfilegdbindex5.bz2 and
testfilegdbindex7.bz2.
2012-07-17 Mark Wielaard <mjw@redhat.com>
* testcore-rtlib-ppc.bz2: New testfile.
* run-unstrip-n.sh: Check new ppc core testfile.
2012-06-26 Mike Frysinger <vapier@gentoo.org>
* Makefile.am (check_PROGRAMS): Rename from noinst_PROGRAMS.
2012-06-26 Mark Wielaard <mjw@redhat.com>
* run-macro-test.sh: New test.
* testfile-macinfo.bz2: New testfile.
* testfile-macros.bz2: Likewise.
2012-05-07 Mark Wielaard <mjw@redhat.com>
* low_high_pc.c: Use proper inttypes in printf formats.
2012-05-11 Mark Wielaard <mjw@redhat.com>
* Makefile.am (TESTS_ENVIRONMENT): Set LC_ALL and LANG to C.
2012-05-07 Mark Wielaard <mjw@redhat.com>
* low_high_pc.c: Allow highpc == lowpc for CU DIEs for buggy GCC.
2012-04-27 Mark Wielaard <mjw@redhat.com>
* Makefile.am (TESTS): Add run-low_high_pc.sh
(EXTRA_DIST): Add run-low_high_pc.sh and testfile_low_high_pc.bz2
(noinst_PROGRAMS): Add low_high_pc.
(low_high_pc_LDADD): New variable.
* low_high_pc.c: New test.
2012-04-26 Mark Wielaard <mjw@redhat.com>
* Makefile.am (EXTRA_DIST): Remove run-show-ciefde.sh.
* run-show-ciefde.sh: Removed old libdwarf test.
* show-ciefde.c: Likewise.
2012-04-02 Mark Wielaard <mjw@redhat.com>
* Makefile.am (TESTS): Add run-unstrip-n.sh.
(EXTRA_DIST): Add testcore-rtlib.bz2 and run-unstrip-n.sh.
* run-unstrip-n.sh: New test.
* testcore-rtlib.bz2: New testfile.
2012-04-02 Mark Wielaard <mjw@redhat.com>
* Makefile.am (TESTS): Add run-readelf-d.sh.
(EXTRA_DIST): Add testlib_dynseg.so.bz2 and run-readelf-d.sh.
* run-readelf-d.sh: New test.
* run-elflint-test.sh: Check new testfile.
2012-03-21 Tom Tromey <tromey@redhat.com>
* typeiter.c: New file.
* run-typeiter.sh: New file.
* testfile59.bz2: New file.
* Makefile.am (noinst_PROGRAMS): Add typeiter.
(TESTS): Add run-typeiter.sh.
(EXTRA_DIST): Add run-typeiter.sh, testfile59.bz2.
(typeiter_LDADD): New variable.
2012-02-21 Kurt Roeckx <kurt@roeckx.be>
* run-alldts.sh: testrun ./alldts.
2012-02-21 Roland McGrath <roland@hack.frob.com>
* test-wrapper.sh: Add ${libdir}/elfutils to LD_LIBRARY_PATH.
* test-subr.sh (installed_testrun): Likewise.
2012-01-18 Roland McGrath <roland@hack.frob.com>
* asm-tst4.c (main): Don't set LD_LIBRARY_PATH in system invocation;
it will have been inherited correctly from the test harness.
* asm-tst5.c (main): Likewise.
* asm-tst6.c (main): Likewise.
Reported by Serge Pavlov <serge.pavlov.at.gnu@gmail.com>.
2011-07-09 Roland McGrath <roland@hack.frob.com>
* sha1-tst.c: File removed.
* Makefile.am (noinst_PROGRAMS, TESTS): Remove it.
(sha1_tst_LDADD): Variable removed.
* md5-sha1-test.c: New file.
* Makefile.am [!STANDALONE] (noinst_PROGRAMS, TESTS): Add it.
(md5_sha1_test_LDADD): New variable.
2011-05-30 Mark Wielaard <mjw@redhat.com>
* Makefile.am (EXTRA_DIST): Add run-readelf-twofiles.sh and
run-rerequest_tag.sh
2011-05-24 Mark Wielaard <mjw@redhat.com>
* Makefile.am (EXTRA_DIST): Add hello_s390.ko.bz2.
* run-strip-reloc.sh: Add hello_s390.ko testcase.
* hello_s390.ko.bz2: New test file.
2011-05-23 Mark Wielaard <mjw@redhat.com>
* Makefile.am (TESTS): Add run-strip-reloc.sh.
(EXTRA_DIST): Add run-strip-reloc.sh, hello_i386.ko.bz2
hello_x86_64.ko.bz2 and hello_ppc64.ko.bz2
* run-strip-reloc.sh: New test.
* hello_i386.ko.bz2: New test file.
* hello_x86_64.ko.bz2: Likewise.
* hello_ppc64.ko.bz2: Likewise.
2011-05-18 Mark Wielaard <mjw@redhat.com>
* run-strip-groups.sh: New test.
* testfile58.bz2: New test file.
* Makefile.am (EXTRA_DIST): Add testfile58.bz2.
(TESTS): Add run-strip-groups.sh.
(EXTRA_DIST): Likewise.
2011-03-28 Marek Polacek <mpolacek@redhat.com>
* alldts.c: New file.
* run-alldts.sh: Use it.
* Makefile.am (TESTS, EXTRA_DIST, noinst_PROGRAMS): Add them.
(alldts_LDADD): New variable.
2011-03-02 Marek Polacek <mpolacek@redhat.com>
* dwarf-getstring.c: New test.
* run-dwarf-getstring.sh: And its wrapper.
* Makefile.am (EXTRA_DIST): Add and update all.
2011-02-27 Jan Kratochvil <jan.kratochvil@redhat.com>
* Makefile.am (TESTS): Add run-readelf-twofiles.sh.
* run-readelf-twofiles.sh: New file.
2011-02-25 Mark Wielaard <mjw@redhat.com>
* Makefile.am (BUILD_RPATH): Be consistent in naming.
2011-02-02 Josh Stone <jistone@redhat.com>
* run-prelink-addr-test.sh: Add testfile55, 32 and 64-bit.
* testfile55-64.bz2, testfile55-64.debug.bz2,
testfile55-64.prelink.bz2, testfile55-32.bz2,
testfile55-32.debug.bz2, testfile55-32.prelink.bz2: New.
* Makefile.am (EXTRA_DIST): Add and update all.
2011-01-12 Roland McGrath <roland@redhat.com>
* run-prelink-addr-test.sh: Make symlinks to find .debug files
corresponding to .noshdrs files.
2011-01-11 Josh Stone <jistone@redhat.com>
* run-prelink-addr-test.sh: Add testfile54, 32 and 64-bit.
* testfile54-32.so.bz2, testfile54-32.so.debug.bz2,
testfile54-32.prelink.so.bz2, testfile54-32.noshdrs.so.bz2,
testfile54-64.so.bz2, testfile54-64.so.debug.bz2,
testfile54-64.prelink.so.bz2, testfile54-64.noshdrs.so.bz2: New.
* Makefile.am (EXTRA_DIST): Add and update all.
* run-prelink-addr-test.sh: Run 32 and 64-bit testfile53 tests.
* testfile53.bz2, testfile53.debug.bz2,
testfile53.prelink.bz2: Deleted, so...
* testfile53-64.bz2, testfile53-64.debug.bz2,
testfile53-64.prelink.bz2: Recreated with 64-bit names.
* testfile53-32.bz2, testfile53-32.debug.bz2,
testfile53-32.prelink.bz2: New in 32-bit.
* Makefile.am (EXTRA_DIST): Add and update all.
* run-prelink-addr-test.sh: Run 32 and 64-bit testfile52 tests.
* testfile52.so.bz2, testfile52.so.debug.bz2,
testfile52.prelink.so.bz2: Deleted, so...
* testfile52-32.so.bz2, testfile52-32.so.debug.bz2,
testfile52-32.prelink.so.bz2: Recreated with 32-bit names.
* testfile52-32.noshdrs.so.bz2: New data file, stripped of headers.
* testfile52-64.so.bz2, testfile52-64.so.debug.bz2,
testfile52-64.prelink.so.bz2, testfile52-64.noshdrs.so.bz2: New files.
* Makefile.am (EXTRA_DIST): Add and update all.
2011-01-10 Josh Stone <jistone@redhat.com>
* run-prelink-addr-test.sh: New test for prelinked addrs.
* Makefile.am (TESTS, EXTRA_DIST): Add it.
* testfile52.so.bz2, testfile52.so.debug.bz2: New data files.
* testfile52.prelink.so.bz2: New data file, shows REL->RELA.
* testfile53.bz2, testfile53.debug.bz2: New data files.
* testfile53.prelink.bz2: New data file, shows ET_EXEC remap.
* Makefile.am (EXTRA_DIST): Add them.
2010-06-04 Roland McGrath <roland@redhat.com>
* run-unstrip-test.sh: Also test modifying the file in place.
2010-04-22 Roland McGrath <roland@redhat.com>
* addrcfi.c (handle_cfi): Fix function name in error message.
Use dwarf_errmsg, not dwfl_errmsg, after dwarf_cfi_addrframe.
2010-04-14 Roland McGrath <roland@redhat.com>
* Makefile.am (EXTRA_DIST): Add run-test-flag-nobits.sh here too.
2010-04-10 Ulrich Drepper <drepper@redhat.com>
* msg_tst.c: Adjust expected error message.
2010-04-01 Petr Machata <pmachata@redhat.com>
* test-flag-nobits.c: New test.
* run-test-flag-nobits.sh: And its wrapper.
* Makefile.am (noinst_PROGRAMS, TESTS): Add them.
(test_flag_nobits_LDADD): New variable.
2010-02-15 Roland McGrath <roland@redhat.com>
* Makefile.am: Use config/eu.am for common stuff.
* asm-tst9.c (main): Rename local to avoid shadowing another local.
2009-07-22 Roland McGrath <roland@redhat.com>
* addrcfi.c: Update dwarf_frame_{cfa,register} calling convention.
2009-07-08 Roland McGrath <roland@redhat.com>
* addrcfi.c: New file.
* Makefile.am (noinst_PROGRAMS): Add it.
(addrcfi_LDADD): New variable.
2009-05-07 Petr Machata <pmachata@redhat.com>
* testfile51.bz2: New data file.
* dwarf-getmacros.c: New test core.
* run-dwarf-getmacros.sh: New test wrapper.
* Makefile.am (TESTS, EXTRA_DIST, noinst_PROGRAMS): Add them.
(dwarf_getmacros_LDADD): New variable.
2009-04-23 Ulrich Drepper <drepper@redhat.com>
* Makefile [BUILD_STATIC] (libdw): Add $(zip_LIBS).
(rdwrmmap_LDADD): Add $(libmudflap).
2009-04-21 Roland McGrath <roland@redhat.com>
* testfile50.bz2: New data file.
* Makefile.am (EXTRA_DIST): Add it.
* run-dwfl-addr-sect.sh: Add a case using it.
2008-12-31 Ulrich Drepper <drepper@redhat.com>
* testfile44.S.bz2: Add tests for dppd, dpps, insertps, movntdqa,
mpsadbw, packusdw, pblendvb, pblendw, pcmpeqq, pcmpestri, pcmpestrm,
pcmpistri, pcmpistrm, pcmpgtq, phminposuw, pinsrb, pinsrd, pmaxsb,
pmaxsd, pmaxud, pmaxuw, pminsb, pminsd, pminud, pminuw, pmovsxbw,
pmovsxbd, pmovsxbq, pmovsxwd, pmovsxwq, pmovsxdq, pmovsxbw, pmovsxbd,
pmovsxbq, pmovsxwd, pmovsxwq, pmovsxdq, pmuldq, pmulld, popcnt, ptest,
roundss, roundps, roundpd, and roundsd.
* testfile45.S.bz2: Likewise.
* testfile44.expect.bz2: Adjust accordingly.
* testfile45.expect.bz2: Likewise.
* testfile44.S.bz2: Add tests for blendvpd and blendvps.
* testfile45.S.bz2: Likewise.
* testfile44.expect.bz2: Adjust accordingly.
* testfile45.expect.bz2: Likewise.
2008-12-30 Ulrich Drepper <drepper@redhat.com>
* testfile44.S.bz2: Add tests for blendpd and blendps.
* testfile45.S.bz2: Likewise.
* testfile44.expect.bz2: Adjust accordingly.
* testfile45.expect.bz2: Likewise.
2008-12-19 Ulrich Drepper <drepper@redhat.com>
* testfile44.S.bz2: Add tests for AMD 3DNOW.
* testfile45.S.bz2: Likewise.
* testfile44.expect.bz2: Adjust accordingly.
* testfile45.expect.bz2: Likewise.
2008-11-26 Roland McGrath <roland@redhat.com>
* dwfl-bug-getmodules.c: New file.
* Makefile.am (noinst_PROGRAMS): Add it.
(dwfl_bug_getmodules_LDADD): New variable.
2008-09-10 Roland McGrath <roland@redhat.com>
* test-subr.sh (LC_ALL): Export it set to "C".
* run-dwfl-addr-sect.sh: Don't do it here.
* run-strings-test.sh: Likewise.
2008-08-21 Denys Vlasenko <dvlasenk@redhat.com>
* run-addrname-test.sh: Add a new case.
* testfile49.bz2: New data file.
* Makefile.am (EXTRA_DIST): Add it.
2008-04-10 Roland McGrath <roland@redhat.com>
* testfile48.bz2, testfile48.bz2.debug: New data files.
* Makefile.am (EXTRA_DIST): Add them.
* run-strip-test8.sh: Use them.
* testfile16.bz2, testfile16.debug.bz2: Replace data files.
* run-strip-test.sh: Fail if stripped output has ".debug_*" sections.
* run-strip-test8.sh: New file.
* testfile47.bz2: New data file.
* Makefile.am (TESTS, EXTRA_DIST): Add them.
2008-03-31 Roland McGrath <roland@redhat.com>
* run-early-offscn.sh: New file.
* early-offscn.c: New file.
* Makefile.am (noinst_PROGRAMS, TESTS, EXTRA_DIST): Add them.
(early_offscn_LDADD): New variable.
2008-03-19 Roland McGrath <roland@redhat.com>
* run-addrname-test.sh: Add a new case.
2008-02-22 Roland McGrath <roland@redhat.com>
* run-elflint-test.sh: Typo fix.
2008-02-21 Roland McGrath <roland@redhat.com>
* run-disasm-x86.sh: Use uname instead of arch, keep tools required
for the build down to minimum.
* run-disasm-x86-64.sh: Likewise.
2008-02-20 Roland McGrath <roland@redhat.com>
* testfile46.bz2: New data file.
* Makefile.am (EXTRA_DIST): Add it.
* run-elflint-test.sh: Test on it.
2008-02-01 Ulrich Drepper <drepper@redhat.com>
* Makefile.am: Hook up sha1-tst.c.
* sha1-tst.c: New file.
2008-01-21 Roland McGrath <roland@redhat.com>
* testfile45.S.bz2: Add tests for cltq, cqto.
* testfile45.expect.bz2: Adjust.
2008-01-14 Ulrich Drepper <drepper@redhat.com>
* testfile45.S.bz2: Add more tests.
* testfile45.expect.bz2: Adjust.
2008-01-11 Ulrich Drepper <drepper@redhat.com>
* testfile45.expect.bz2: Adjust for adding of address for %rip based
address mode.
2008-01-10 Ulrich Drepper <drepper@redhat.com>
* testfile45.S.bz2: Add more tests.
* testfile45.expect.bz2: Adjust.
2008-01-08 Ulrich Drepper <drepper@redhat.com>
* Makefile.am (TESTS): Add run-disasm-x86-64.sh.
(EXTRA): Add testfile45.S.bz2, testfile45.expect.bz2,
run-disasm-x86-64.sh.
* run-disasm-x86-64.sh: New file.
* testfile45.S.bz2: New file.
* testfile45.expect.bz2: New file.
* testfile44.S.bz2: New tests.
* testfile44.expect.bz2: Adjust.
2008-01-04 Ulrich Drepper <drepper@redhat.com>
* testfile44.S.bz2: New tests.
* testfile44.expect.bz2: Adjust.
2008-01-04 Roland McGrath <roland@redhat.com>
* dwfl-bug-fd-leak.c (main): Add a cast.
2008-01-03 Ulrich Drepper <drepper@redhat.com>
* testfile44.S.bz2: New tests.
* testfile44.expect.bz2: Adjust.
2008-01-01 Ulrich Drepper <drepper@redhat.com>
* line2addr.c: Use %m modifier instead of %a to appease gcc.
2008-01-01 Ulrich Drepper <drepper@redhat.com>
* testfile44.S.bz2: New tests.
* testfile44.expect.bz2: Adjust.
2007-12-31 Ulrich Drepper <drepper@redhat.com>
* testfile44.S.bz2: New tests.
* testfile44.expect.bz2: Adjust.
2007-12-30 Ulrich Drepper <drepper@redhat.com>
* testfile44.S.bz2: New tests.
* testfile44.expect.bz2: Adjust.
2007-12-29 Ulrich Drepper <drepper@redhat.com>
* testfile44.s.bz2: New tests.
* testfile44.expect.bz2: Adjust.
2007-12-28 Ulrich Drepper <drepper@redhat.com>
* testfile44.S.bz2: New tests.
* testfile44.expect.bz2: Adjust.
2007-12-27 Ulrich Drepper <drepper@redhat.com>
* testfile44.S.bz2: New tests.
* testfile44.expect.bz2: Adjust.
2007-12-26 Ulrich Drepper <drepper@redhat.com>
* testfile44.S.bz2: New tests.
* testfile44.expect.bz2: Adjust
2007-12-21 Ulrich Drepper <drepper@redhat.com>
* testfile44.S.bz2: More tests.
* testfile44.expect.bz2: Adjust appropriately.
2007-12-19 Ulrich Drepper <drepper@redhat.com>
* Makefile.am (TESTS): Add run-disasm.sh.
(EXTRA_DIST): Add run-disasm.sh, testfile44.S.bz2, and
testfile44.expect.bz2.
* run-disasm.sh: New file.
* testfile44.S.bz2: New file.
* testfile44.expect.bz2: New file.
2007-12-15 Roland McGrath <roland@redhat.com>
* run-allregs.sh: Change expected output for powerpc spefscr.
2007-10-20 Roland McGrath <roland@redhat.com>
* run-dwfl-addr-sect.sh: Change expected output, no errors.
2007-10-19 Roland McGrath <roland@redhat.com>
* dwfl-addr-sect.c (handle_address): Return int.
Don't exit on error, just return nonzero.
(main): Collect results.
* run-dwfl-addr-sect.sh: New file.
* testfile43.bz2: New data file.
* Makefile.am (EXTRA_DIST, TESTS): Add them.
2007-10-18 Roland McGrath <roland@redhat.com>
* run-allregs.sh: Update expected ppc output for vrsave/vscr.
2007-10-16 Roland McGrath <roland@redhat.com>
* test-subr.sh (remove_files): Don't pass -Bb to diff.
2007-10-09 Roland McGrath <roland@redhat.com>
* dwflmodtest.c (print_module): Don't use %p in output.
* run-dwfl-bug-offline-rel.sh: Updated expected output.
2007-10-08 Roland McGrath <roland@redhat.com>
* testfile42.bz2: New data file.
* Makefile.am (EXTRA_DIST): Add it.
* run-elflint-test.sh: New test on that file.
2007-10-04 Roland McGrath <roland@redhat.com>
* run-readelf-test4.sh: New file.
* Makefile.am (TESTS, EXTRA_DIST): Add it.
2007-10-03 Roland McGrath <roland@redhat.com>
* run-readelf-test3.sh: New file.
* Makefile.am (TESTS, EXTRA_DIST): Add it.
2007-10-01 Roland McGrath <roland@redhat.com>
* run-readelf-test2.sh: New file.
* Makefile.am (TESTS, EXTRA_DIST): Add it.
2007-09-11 Roland McGrath <roland@redhat.com>
* run-addrname-test.sh: Add a new case.
* testfile41.bz2: New data file.
* Makefile.am (EXTRA_DIST): Add it.
2007-08-23 Roland McGrath <roland@redhat.com>
* run-allregs.sh: Update expected x86-64 output for %rflags.
2007-08-12 Roland McGrath <roland@redhat.com>
* run-strip-test7.sh: New file.
* testfile39.bz2: New data file.
* testfile40.bz2: New data file.
* testfile40.debug.bz2: New data file.
* Makefile.am (TESTS, EXTRA_DIST): Add them.
2007-08-09 Roland McGrath <roland@redhat.com>
* dwfl-bug-report.c: Fix header inclusion.
2007-08-08 Roland McGrath <roland@redhat.com>
* run-addrname-test.sh: Add a new case using addr2line -S.
* testfile38.bz2: New data file.
* Makefile.am (EXTRA_DIST): Add it.
2007-07-16 Roland McGrath <roland@redhat.com>
* dwfl-bug-report.c: New file.
* Makefile.am (noinst_PROGRAMS, TESTS): Add it.
(dwfl_bug_report_LDADD): New variable.
2007-06-06 Roland McGrath <roland@redhat.com>
* run-unstrip-test.sh: Declare testfile.unstrip for removal.
2007-06-05 Ulrich Drepper <drepper@redhat.com>
* Makefile.am (EXTRA_DIST): Add missing line continuation and
testfile37.bz and testfile37.debug.bz2.
2007-05-23 Roland McGrath <roland@redhat.com>
* run-allregs.sh: Update expected Alpha results.
2007-05-18 Roland McGrath <roland@redhat.com>
* run-strip-test4.sh (stripped, debugfile): Use new reference files.
* testfile37.bz2: New data file.
* testfile37.debug.bz2: New data file.
* run-unstrip-test2.sh: New file.
* Makefile.am (TESTS, EXTRA_DIST): Add them.
2007-05-10 Roland McGrath <roland@redhat.com>
* run-dwfl-bug-offline-rel.sh: New file.
* testfile36.bz2: New data file.
* testfile36.debug.bz2: New data file.
* Makefile.am (TESTS, EXTRA_DIST): Add them.
2007-04-28 Roland McGrath <roland@redhat.com>
* run-strip-test6.sh (stripped, debugfile): Use new reference files.
* testfile35.bz2: New data file.
* testfile35.debug.bz2: New data file.
* run-unstrip-test.sh: New file.
* Makefile.am (TESTS, EXTRA_DIST): Add them.
* run-strip-test.sh: Do all elflint and cmp runs even when some fail.
2007-04-26 Roland McGrath <roland@redhat.com>
* run-elflint-self.sh: Run all tests even if one fails.
* run-allregs.sh: Add expected output for alpha.
2007-04-24 Roland McGrath <roland@redhat.com>
* run-strip-test.sh: When we saved the debug info, test unstrip too.
2007-04-22 Roland McGrath <roland@redhat.com>
* run-allregs.sh: Update expected register info.
2007-04-16 Roland McGrath <roland@redhat.com>
* dwfl-addr-sect.c: New file.
* Makefile.am (noinst_PROGRAMS): Add it.
(dwfl_addr_sect_LDADD): New variable.
2007-04-05 Roland McGrath <roland@redhat.com>
* get-files.c: Test dwarf_getsrcdirs.
* run-get-files.sh: Update expected output.
2007-04-01 Roland McGrath <roland@redhat.com>
* run-allregs.sh: Updated expected output for x86_64.
2007-03-04 Roland McGrath <roland@redhat.com>
* dwfl-bug-fd-leak.c: New file.
* Makefile.am (noinst_PROGRAMS, TESTS): Add it.
(dwfl_bug_fd_leak_LDADD): New variable.
* dwflmodtest.c: Test dwfl_getmodules before and after getdwarf,
show what files have been located.
2007-02-02 Roland McGrath <roland@redhat.com>
* run-addrname-test.sh: New file.
* Makefile.am (TESTS, EXTRA_DIST): Add it.
* testfile34.bz2: New data file.
* Makefile.am (EXTRA_DIST): Add it.
2007-01-20 Roland McGrath <roland@redhat.com>
* testfile33.bz2: New data file.
* Makefile.am (EXTRA_DIST): Add it.
* run-elflint-test.sh: Test on it too.
2007-01-18 Roland McGrath <roland@redhat.com>
* Makefile.am (CFLAGS): Don't molest it.
2007-01-11 Roland McGrath <roland@redhat.com>
* testfile32.bz2: New data file.
* Makefile.am (EXTRA_DIST): Add it.
* run-elflint-test.sh: Test on it too.
2007-02-04 Ulrich Drepper <drepper@redhat.com>
* arls.c: New file.
* Makefile (noinst_PROGRAMS): Add arls.
* run-ranlib-test2.sh: Fix type in comment.
2007-01-10 Ulrich Drepper <drepper@redhat.com>
* run-elflint-self.sh (runtest): Show which file has the problem.
2007-01-10 Roland McGrath <roland@redhat.com>
* dwfl-bug-addr-overflow.c: New file.
* Makefile.am (TESTS): Add it.
(dwfl_bug_addr_overflow_LDADD): New variable.
2006-12-17 Roland McGrath <roland@redhat.com>
* msg_tst.c (libelf_msgs): Fix ELF_E_INVALID_PHDR msg.
2006-09-05 Roland McGrath <roland@redhat.com>
* run-strings-test.sh: Export LC_ALL=C for the test.
2006-08-29 Roland McGrath <roland@redhat.com>
* run-arextract.sh: Use testrun, tempfiles functions from test-subr.sh.
* run-arsymtest.sh: Likewise.
* run-native-test.sh (native.c compilation): Add some braces.
2006-08-22 Roland McGrath <roland@redhat.com>
* allregs.c (dwarf_encoding_string): New function, swiped from readelf.
(struct reginfo): New members bits, type.
(one_register, match_register): Update to take new args,
record and display new info.
(main): Display new info.
* run-allregs.sh: Update expected results.
2006-08-03 Roland McGrath <roland@redhat.com>
* run-allregs.sh: Add sparc cases.
* testfile30.bz2: New data file.
* testfile31.bz2: New data file.
* Makefile.am (EXTRA_DIST): Add them.
2006-07-21 Roland McGrath <roland@redhat.com>
* allregs.c (struct reginfo): Increase size of name.
(one_register): Assert that it's big enough.
2006-04-04 Roland McGrath <roland@redhat.com>
* run-bug1-test.sh: Test a second case, to cover both byte orders.
* testfile29.bz2: New file.
* testfile29.rdwr.bz2: New file.
* Makefile.am (EXTRA_DIST): Add them.
2006-04-04 Ulrich Drepper <drepper@redhat.com>
* Makefile.am: Add rules to run run-bug1-test.sh.
* rdwrmmap.c: New file.
* run-bug1-test.sh: New file.
* testfile28.bz2: New file.
* testfile28.rdwr.bz2: New file.
2006-03-09 Roland McGrath <roland@redhat.com>
* Makefile.am (AM_LDFLAGS): Define to pass -rpath-link.
2006-03-01 Roland McGrath <roland@redhat.com>
* show-die-info.c (tagnames, attrs): Update name tables for dwarf.h
changes matching 3.0 spec.
2006-01-13 Roland McGrath <roland@redhat.com>
* run-native-test.sh: Do kill -9 and reap explicitly at end, since
bash 3.1 whines when it's done in the trap 0 handler.
2006-01-11 Roland McGrath <roland@redhat.com>
* testfile26.bz2: New data file.
* testfile27.bz2: New data file.
* Makefile.am (EXTRA_DIST): Add them.
* run-allregs.sh: Test s390 data.
2005-12-14 Roland McGrath <roland@redhat.com>
* run-native-test.sh: Redirect output from native test process.
2005-12-13 Roland McGrath <roland@redhat.com>
* allregs.c (main): Fail if we find no registers.
* run-native-test.sh: New file.
* Makefile.am (TESTS, EXTRA_DIST): Add it.
2005-12-10 Ulrich Drepper <drepper@redhat.com
* run-readelf-test1.sh: New file.
* Makefile.am (TESTS): Add run-readelf-test1.sh.
(EXTRA_DIST): Likewise.
2005-12-07 Roland McGrath <roland@redhat.com>
* ecp.c (main): Use elf_end to clean up.
2005-11-25 Roland McGrath <roland@redhat.com>
* coverage.sh: Given -v argument, print names of unused files.
* addrscopes.c (main): Use dwfl_end before return.
* allregs.c (main): Likewise.
* find-prologues.c (main): Likewise.
* funcretval.c (main): Likewise.
* funcscopes.c (main): Likewise.
* line2addr.c (main): Likewise.
* run-allregs.sh: New file.
* Makefile.am (TESTS, EXTRA_DIST): Add it.
* allregs.c: Use libdwfl wrapper instead of direct libebl calls.
* Makefile.am (allregs_LDADD): Updated.
* allregs.c: New file.
* Makefile.am (noinst_PROGRAMS): Add it.
(allregs_LDADD): New variable.
2005-11-18 Roland McGrath <roland@redhat.com>
* test-subr.sh (installed_testrun): Treat /usr/lib64 like /usr/lib.
* test-wrapper.sh: Likewise.
2005-11-17 Roland McGrath <roland@redhat.com>
* Makefile.am (installed_TESTS_ENVIRONMENT): Set libdir, bindir in
environment for test-wrapper.sh.
* test-wrapper.sh: Set LD_LIBRARY_PATH from ${libdir} if not /usr/lib.
* test-subr.sh (installed_testrun): Likewise.
Use explicit path in ${bindir}.
* Makefile.am (installcheck-local): Fix typo in last change.
2005-11-16 Roland McGrath <roland@redhat.com>
* configure.ac: New file, for standalone build/dist of test suite.
* Makefile.am [!STANDALONE] (INCLUDES): Don't define it.
(asm_TESTS): New variable, broken out of ...
(TESTS): ... here. Also remove msg_tst.
[!STANDALONE] (TESTS, noinst_PROGRAMS): Add in $(asm_TESTS), msg_tst.
(installed_TESTS_ENVIRONMENT): New variable.
[STANDALONE] (TESTS_ENVIRONMENT): Use that.
[!STANDALONE] (installcheck-local): Likewise.
[STANDALONE] (libdw, libelf, libasm, libebl): Define using -lfoo.
* addrscopes.c: Include <config.h>.
Use ELFUTILS_HEADER macro in #include of installed elfutils/ headers.
* allfcts.c: Likewise.
* asm-tst1.c: Likewise.
* asm-tst2.c: Likewise.
* asm-tst3.c: Likewise.
* asm-tst4.c: Likewise.
* asm-tst5.c: Likewise.
* asm-tst6.c: Likewise.
* asm-tst7.c: Likewise.
* asm-tst8.c: Likewise.
* asm-tst9.c: Likewise.
* dwflmodtest.c: Likewise.
* find-prologues.c: Likewise.
* funcscopes.c: Likewise.
* get-aranges.c: Likewise.
* get-files.c: Likewise.
* get-lines.c: Likewise.
* get-pubnames.c: Likewise.
* line2addr.c: Likewise.
* newscn.c: Likewise.
* show-abbrev.c: Likewise.
* show-die-info.c: Likewise.
* update3.c: Likewise.
* update4.c: Likewise.
* funcretval.c: Likewise.
* dwflmodtest.c (print_instance): Don't use INTUSE.
(options): Don't use N_ macro.
2005-11-15 Roland McGrath <roland@redhat.com>
* coverage.sh: Look in backends.
* Makefile.am (BUILD_RPATH): Search ../backends, not ../libebl.
(TESTS_ENVIRONMENT): Likewise.
* funcretval.c (handle_function): Don't take DW_AT_type of FUNCDIE,
pass FUNCDIE direclty to dwfl_module_return_value_location.
* Makefile.am (BUILD_RPATH): New variable.
[TESTS_RPATH] (AM_LDFLAGS): Pass -rpath option using that value.
(tests_rpath): New variable.
(installcheck-local): Pass it to test-wrapper.sh.
* test-wrapper.sh: In "installed" format, take yes/no value
for elfutils_tests_rpath, which export. When running a test
binary for installcheck, exit 77.
* test-subr.sh (installed_testrun): When running a test binary
for installcheck, exit 77 if $elfutils_tests_rpath = yes.
2005-11-14 Roland McGrath <roland@redhat.com>
* test-subr.sh: New file.
* test-wrapper.sh: New file.
* Makefile.am (EXTRA_DIST): Add them.
(AM_LDFLAGS): Variable removed.
(TESTS_ENVIRONMENT): New variable.
(installcheck-local): New target.
* run-addrscopes.sh: Use test-subr.sh.
* run-allfcts.sh: Likewise.
* run-ecp-test.sh: Likewise.
* run-ecp-test2.sh: Likewise.
* run-elflint-self.sh: Likewise.
* run-elflint-test.sh: Likewise.
* run-find-prologues.sh: Likewise.
* run-funcscopes.sh: Likewise.
* run-get-aranges.sh: Likewise.
* run-get-files.sh: Likewise.
* run-get-lines.sh: Likewise.
* run-get-pubnames.sh: Likewise.
* run-line2addr.sh: Likewise.
* run-ranlib-test.sh: Likewise.
* run-ranlib-test2.sh: Likewise.
* run-show-abbrev.sh: Likewise.
* run-show-ciefde.sh: Likewise.
* run-show-die-info.sh: Likewise.
* run-strings-test.sh: Likewise.
* run-strip-test.sh: Likewise.
2005-11-13 Roland McGrath <roland@redhat.com>
* funcretval.c: New file.
* Makefile.am (noinst_PROGRAMS): Add it.
(funcretval_LDADD): New variable.
2005-11-09 Ulrich Drepper <drepper@redhat.com>
* line2addr.c (handle_module): Add missing parameter to printf.
2005-10-27 Roland McGrath <roland@redhat.com>
* allfcts.c (cb): Update for dwarf_func_* -> dwarf_decl_* changes.
* funcscopes.c (handle_function): Likewise.
* dwflmodtest.c (print_inline, print_func): Likewise.
* find-prologues.c (handle_function): Likewise.
2005-10-27 Roland McGrath <roland@redhat.com>
* run-find-prologues.sh: New file.
* Makefile.am (TESTS, EXTRA_DIST): Add it.
* find-prologues.c (handle_function): Skip inlines.
2005-10-25 Roland McGrath <roland@redhat.com>
* find-prologues.c: New file.
* Makefile.am (noinst_PROGRAMS): Add it.
(find_prologues_LDADD): New variable.
2005-09-02 Ulrich Drepper <drepper@redhat.com>
* run-strings-test.sh: Remove strings.out in the end.
2005-08-31 Ulrich Drepper <drepper@redhat.com>
* run-addrscopes.sh: Use correct exit code if test cannot be performed.
* run-allfcts.sh: Likewise.
* run-ecp-test.sh: Likewise.
* run-ecp-test2.sh: Likewise.
* run-elflint-test.sh: Likewise.
* run-funcscopes.sh: Likewise.
* run-get-aranges.sh: Likewise.
* run-get-files.sh: Likewise.
* run-get-lines.sh: Likewise.
* run-get-pubnames.sh: Likewise.
* run-line2addr.sh: Likewise.
* run-ranlib-test2.sh: Likewise.
* run-show-abbrev.sh: Likewise.
* run-show-ciefde.sh: Likewise.
* run-show-die-info.sh: Likewise.
* run-strings-test.sh: Likewise.
* run-strip-test.sh: Likewise.
2005-08-30 Ulrich Drepper <drepper@redhat.com>
* coverage.sh: Handle case where there is no .gcno file at all.
2005-08-29 Ulrich Drepper <drepper@redhat.com>
* Makefile.am (EXTRA_DIST): Add coverage.
[GCOV]: Generate coverage summary after the tests ran
* coverage.sh: New file.
2005-08-28 Ulrich Drepper <drepper@redhat.com>
* Makefile.an [BUILD_STATIC] (libdw): Add -ldl.
(CLEANFILES): Add *.gcno *.gcda *.gconv.
2005-08-28 Ulrich Drepper <drepper@redhat.com>
* run-strings-test.sh: New file.
* Makefile.am (TESTS, EXTRA_DIST): Add it.
2005-08-27 Roland McGrath <roland@redhat.com>
* addrscopes.c (handle_address): Apply bias to PC addresses.
* run-funcscopes.sh: New file.
* testfile25.bz2: New data file.
* Makefile.am (TESTS, EXTRA_DIST): Add them.
2005-08-26 Roland McGrath <roland@redhat.com>
* addrscopes.c (dwarf_diename_integrate): Removed.
(print_vars, handle_address): Use plain dwarf_diename.
2005-08-25 Roland McGrath <roland@redhat.com>
* funcscopes.c: New file.
* Makefile.am (noinst_PROGRAMS): Add it.
(funcscopes_LDADD): New variable.
* run-addrscopes.sh: Add another case.
* testfile24.bz2: New data file.
* Makefile.am (EXTRA_DIST): Add it.
* addrscopes.c (handle_address): Take new argument IGNORE_INLINES,
pass it to dwarf_getscopes.
(main): Pass it, true when '=' follows an address.
2005-08-24 Roland McGrath <roland@redhat.com>
* line2addr.c (print_address): Omit () for DSOs.
2005-08-24 Ulrich Drepper <drepper@redhat.com>
* run-line2addr.sh: Remove testfile23 in the end.
* Makefile.am [BUILD_STATIC] (libdw): Add $(libelf) and $(libebl).
[MUDFLAP] (AM_LDFLAGS): Define to find libebl modules.
2005-08-22 Roland McGrath <roland@redhat.com>
* run-line2addr.sh: Add a case.
* testfile23.bz2: New data file.
* Makefile.am (EXTRA_DIST): Add it.
2005-08-18 Roland McGrath <roland@redhat.com>
* run-addrscopes.sh: New file.
* testfile22.bz2: New data file.
* Makefile.am (TESTS, EXTRA_DIST): Add them.
* addrscopes.c: New file.
* Makefile.am (noinst_PROGRAMS): Add it.
(addrscopes_LDADD): New variable.
2005-08-15 Ulrich Drepper <drepper@redhat.com>
* run-elflint-self.sh: Don't run test if the file doesn't exist.
2005-08-15 Roland McGrath <roland@redhat.com>
* dwflmodtest.c (print_instance, print_inline): New functions.
(print_func): Call print_inline.
(options, parse_opt): Grok -i/--inlines.
2005-08-07 Roland McGrath <roland@redhat.com>
* dwflmodtest.c: Print function details only if -f flag is given.
2005-08-06 Ulrich Drepper <drepper@redhat.com>
* run-elflint-self.sh: New file.
* Makefile.am (TESTS): Add run-elflint-self.sh.
(EXTRA_DIST): Likewise.
* Makefile.am: Link with statis libs if BUILD_STATIC.
(dwflmodtest_LDADD): Also link with -ldl.
2005-08-02 Ulrich Drepper <drepper@redhat.com>
* Makefile.am: Add -ldl to asm_tst[1-9]_LDASS.
* asm-tst1.c: Adjust for new asm_begin interface. Open backend
library first.
* asm-tst2.c: Likewise.
* asm-tst3.c: Likewise.
* asm-tst4.c: Likewise.
* asm-tst5.c: Likewise.
* asm-tst6.c: Likewise.
* asm-tst7.c: Likewise.
* asm-tst8.c: Likewise.
* asm-tst9.c: Likewise.
* msg_tst.c: Add new error message.
2005-07-28 Ulrich Drepper <drepper@redhat.com>
* Makefile.am (dwflmodtest_LDADD): Add $(libebl).
2005-06-01 Roland McGrath <roland@redhat.com>
* line2addr.c: Rewritten using libdwfl.
* run-line2addr.sh: Update test for changed arguments.
* Makefile.am (INCLUDES): Add libdwfl source directory to path.
(libdwfl): New variable.
(line2addr_LDADD): Use it.
2005-07-28 Roland McGrath <roland@redhat.com>
* dwflmodtest.c: New file, moved from ../libdwfl/ptest.c to here.
* Makefile.am (noinst_PROGRAMS): Add dwflmodtest.
(dwflmodtest_LDADD): New variable.
(INCLUDES): Add -I$(top_srcdir)/libdwfl here.
2005-07-21 Ulrich Drepper <drepper@redhat.com>
* testfile18.bz2: New file.
* run-elflint-test.sh: New file.
* Makefile.am (TESTS): Add run-elflint-test.sh.
(EXTRA_DIST): Add run-elflint-test.sh and testfile18.bz2.
2005-05-24 Ulrich Drepper <drepper@redhat.com>
* get-files.c (main): Use correct format specifier.
2005-05-21 Ulrich Drepper <drepper@redhat.com>
* Makefile.am: Add -Wextra to CFLAGS.
* get-files.c: Remove warning this produced.
* get-pubnames.c: Likewise.
* newfile.c: Likewise.
* newscn.c: Likewise.
* scnnames.c: Likewise.
* showptable.c: Likewise.
* test-nlist.c: Likewise.
* update1.c: Likewise.
* update2.c: Likewise.
* update3.c: Likewise.
* update4.c: Likewise.
2005-05-08 Ulrich Drepper <drepper@redhat.com>
* run-line2addr.sh: Remove testfile14 at the end.
* run-strip-test.sh: Remove debuginfo test input file as well.
* Makefile.am (EXTRA_DIST): Newly added files incorrectly used
.bz, not .bz2.
2005-05-03 Roland McGrath <roland@redhat.com>
* run-strip-test.sh: Use variables for test file names.
Optionally produce separate debug file and check it.
* run-strip-test2.sh: Use run-strip-test.sh via ., no duplication.
* run-strip-test3.sh: Likewise.
* run-strip-test4.sh: New file.
* run-strip-test5.sh: New file.
* run-strip-test6.sh: New file.
* testfile15.bz: New file.
* testfile15.debug.bz: New file.
* testfile16.bz: New file.
* testfile16.debug.bz: New file.
* testfile17.bz: New file.
* testfile17.debug.bz: New file.
* Makefile.am (TESTS, EXTRA_DIST): Add them.
2005-04-25 Ulrich Drepper <drepper@redhat.com>
* run-line2addr.sh: Also use testfile14. Adjust for correct
return of multiple matches.
* testfile14.bz2: New file.
* Makefile.am (EXTRA_DIST): Add testfile14.bz2.
* show-abbrev.c (main): Adjust for dwarf_getabbrev interface change.
2005-04-04 Roland McGrath <roland@redhat.com>
* line2addr.c (main): Initialize LINES and NLINES before calling
dwarf_getsrc_file, and free LINES afterwards.
* allfcts.c (main): Use size_t for CUHL.
2005-04-04 Ulrich Drepper <drepper@redhat.com>
* line2addr.c: New file.
* run-line2addr.sh: New file.
* Makefile.am: Add rules to build, run, and distribute new code.
2005-04-02 Ulrich Drepper <drepper@redhat.com>
* allfcts.c: New file.
* run-allfcts.sh: New file.
* Makefile.am: Add rules to build, run, and distribute new code.
2005-02-05 Ulrich Drepper <drepper@redhat.com>
* Makefile.am [MUDFLAP] (AM_CFLAGS): Add -fmudflap. Link all test
programs with -lmudflap.
2004-09-25 Ulrich Drepper <drepper@redhat.com>
* asm-tst4.c (main): Add LD_LIBRARY_PATH to elflint invocation.
* asm-tst5.c (main): Likewise.
* asm-tst6.c (main): Likewise.
2004-01-17 Ulrich Drepper <drepper@redhat.com>
* Makefile.am: Support building with mudflap.
2004-01-12 Ulrich Drepper <drepper@redhat.com>
* get-aranges.c: Rewrite to use libdw.
* Makefile.am: Reenable get-aranges test.
2004-01-11 Ulrich Drepper <drepper@redhat.com>
* get-lines.c: New file.
* get-files.c: Adjust for libdw.
* run-get-files.sh: Adjust expected result.
* run-get-lines.sh: Likewise.
* Makefile.am: Run get-lines test. Don't run get-aranges and
get-ciefde test for now.
* show-abbrev.c: Adjust call to dwarf_getabbrevattr after interface
change. Print attribute offset information.
* run-show-abbrev.sh: Adjust expected output.
2004-01-09 Ulrich Drepper <drepper@redhat.com>
* show-abbrev.c: Adjust call to dwarf_nextcu after interface change.
* show-die-info.c: Likewise.
* run-show-die-info.sh: Adjust expected output.
2003-08-13 Ulrich Drepper <drepper@redhat.com>
* Makefile.in: Depend on libebl.a, not libebl.so.
2003-08-11 Ulrich Drepper <drepper@redhat.com>
* Moved to CVS archive.
|