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
|
2010-02-15 Roland McGrath <roland@redhat.com>
* Makefile.am: Use config/eu.am for common stuff.
2010-01-04 Roland McGrath <roland@redhat.com>
* eblcorenote.c (ebl_core_note): Take GElf_Nhdr * and name data
pointer instead of only n_type and n_descsz.
* libebl.h: Update declaration.
* ebl-hooks.h: Update core_note hook signature.
* eblopenbackend.c (default_core_note): Likewise.
2009-10-14 Roland McGrath <roland@redhat.com>
* eblobjnote.c (ebl_object_note): Clean up NT_GNU_GOLD_VERSION printing.
2009-10-05 Roland McGrath <roland@redhat.com>
* eblopenbackend.c (default_debugscn_p): Match .debug_pubtypes and
.debug_types too.
2009-09-02 Petr Machata <pmachata@redhat.com>
* libebl/eblstrtab.c (morememory): Allocate memory in multiples of
pagesize.
2009-08-06 Petr Machata <pmachata@redhat.com>
* libebl/eblstrtab.c (ebl_strtabfinalize): Only call copystrings
if we have any strings to copy.
2009-07-26 Mark Wielaard <mjw@redhat.com>
* eblobjnote.c (ebl_object_note): Handle NT_GNU_GOLD_VERSION.
* eblobjnotetypename.c (ebl_object_note_type_name): Recognize
NT_GNU_GOLD_VERSION.
2009-07-08 Roland McGrath <roland@redhat.com>
* ebl-hooks.h: Add abi_cfi hook.
* eblopenbackend.c (default_abi_cfi): New function.
(fill_defaults): Add initializer.
* eblabicfi.c: New file.
* Makefile.am (gen_SOURCES): Add it.
* libebl.h: Declare ebl_abi_cfi.
2009-07-08 Ulrich Drepper <drepper@redhat.com>
* eblsymbolbindingname.c (ebl_symbol_binding_name): Handle
STB_GNU_UNIQUE.
* eblsymboltypename.c (ebl_symbol_type_name): Only handle STT_GNU_IFUNC
if the binary is marked as being for Linux.
2009-04-01 Roland McGrath <roland@redhat.com>
* eblsymboltypename.c (ebl_symbol_type_name): Add STT_GNU_IFUNC.
* eblauxvinfo.c (AUXV_TYPES): Add RANDOM and BASE_PLATFORM.
2009-02-01 Ulrich Drepper <drepper@redhat.com>
* eblreloctypename.c (ebl_reloc_type_name): Return "<INVALID RELOC>"
instead of "???" for invalid relocations.
2008-08-01 Roland McGrath <roland@redhat.com>
* eblcorenotetypename.c: Handle NT_386_IOPERM.
2008-07-28 Roland McGrath <roland@redhat.com>
* eblauxvinfo.c (AUXV_TYPES): Add EXECFN.
* eblauxvinfo.c (ebl_auxv_info): Handle missing elements of standard
table.
2008-07-04 Roland McGrath <roland@redhat.com>
* libebl.h: Declare ebl_syscall_abi.
* ebl_syscall_abi.c: New file.
* Makefile.am (gen_SOURCES): Add it.
* ebl-hooks.h: New hook syscall_abi.
* eblopenbackend.c (default_syscall_abi): New function.
(fill_defaults): Use it.
2008-03-31 Roland McGrath <roland@redhat.com>
* ebldynamictagname.c (ebl_dynamic_tag_name): Use hex for unknown tag.
* ebl-hooks.h: Add check_special_section hook.
* eblopenbackend.c (fill_defaults): Set new hook to ...
(default_check_special_section): ... this, new function.
* ebl_check_special_section.c: New file.
* Makefile.am (gen_SOURCES): Add it.
* libebl.h: Declare it.
2008-02-20 Roland McGrath <roland@redhat.com>
* libebl.h: Declare ebl_check_object_attribute.
* eblcheckobjattr.c: New file.
* Makefile.am (gen_SOURCES): Add it.
* ebl-hooks.h: Add check_object_attribute hook.
* eblopenbackend.c (default_check_object_attribute): New function.
(fill_defaults): Initialize pointer to it.
2008-02-19 Roland McGrath <roland@redhat.com>
* eblsectiontypename.c (ebl_section_type_name):
Handle SHT_GNU_ATTRIBUTES.
2008-02-08 Roland McGrath <roland@redhat.com>
* eblcorenotetypename.c (ebl_core_note_type_name): Handle NT_PPC_SPE.
2008-01-30 Roland McGrath <roland@redhat.com>
* eblcorenotetypename.c (ebl_core_note_type_name): Handle NT_386_TLS.
2007-10-18 Roland McGrath <roland@redhat.com>
* eblcorenotetypename.c (ebl_core_note_type_name): Handle NT_PPC_VMX.
2007-10-11 Roland McGrath <roland@redhat.com>
* eblobjnote.c (ebl_object_note): Translate target format (byte-swap)
for NT_GNU_ABI_TAG contents.
2007-08-22 Roland McGrath <roland@redhat.com>
* libebl.h (Ebl_Core_Item): New member `group'.
2007-08-19 Roland McGrath <roland@redhat.com>
* ebl-hooks.h: Add new hook auxv_info.
* eblopenbackend.c (default_auxv_info): New function.
(fill_defaults): Initialize auxv_info hook.
* eblauxvinfo.c : New file.
* Makefile.am (gen_SOURCES): Add it.
* libebl.h: Declare ebl_auxv_info.
* eblcorenote.c: Rewritten with new signature.
* Makefile.am (gen_SOURCES): Add it.
* libebl.h (Ebl_Register_Location, Ebl_Core_Item): New types.
(ebl_core_note_info): Completely revamp signature.
* ebl-hooks.h: Update decl.
* eblopenbackend.c (default_core_note): Update signature.
2007-07-09 Roland McGrath <roland@redhat.com>
* eblobjnotetypename.c (ebl_object_note_type_name): Handle
NT_GNU_HWCAP, NT_GNU_BUILD_ID.
* eblobjnote.c (ebl_object_note): Handle NT_GNU_BUILD_ID.
2007-04-22 Roland McGrath <roland@redhat.com>
* eblcorenotetypename.c (ebl_core_note_type_name): Handle NT_PRXFPREG.
2007-03-10 Roland McGrath <roland@redhat.com>
* eblcorenote.c (ebl_core_note): For normally-zero types,
print in hex if not zero.
2007-01-11 Roland McGrath <roland@redhat.com>
* ebl-hooks.h (machine_section_flag_check): New hook.
* libebl.h: Declare ebl_machine_section_flag_check.
* eblmachinesectionflagcheck.c: New file.
* Makefile.am (gen_SOURCES): Add it.
* eblopenbackend.c (default_machine_section_flag_check): New function.
(fill_defaults): Use it.
2006-09-04 Roland McGrath <roland@redhat.com>
* ebl-hooks.h: Replace register_name hook with register_info.
Also yield natural bit width and base type encoding.
* eblopenbackend.c (default_register_name): Renamed
default_register_info, new args added.
(fill_defaults): Update initialization.
* eblregname.c: File renamed ...
* eblreginfo.c: ... to this.
(ebl_register_name): Renamed to ebl_register_info, new args added.
* libebl.h: Update decl.
* Makefile.am (gen_SOURCES): Update list.
2006-07-06 Ulrich Drepper <drepper@redhat.com>
* ebldynamictagname.c: Add support for DT_GNU_HASH.
* ebldynamictagcheck.c: Likewise.
* eblsectiontypename.c: Add support for SHT_GNU_HASH.
2006-07-05 Ulrich Drepper <drepper@redhat.com>
* Makefile.am (gen_SOURCES): Add eblsysvhashentrysize.c.
* libeblP.h (struct ebl): Add sysvhash_entrysize element.
* eblopenbackend.c (fill_defaults): Initialize sysvhash_entrysize.
* eblopenbackend.c (openbackend): If possible, fill machine, class,
and data values in from the ELF file.
2006-07-04 Ulrich Drepper <drepper@redhat.com>
* Makefile.am (gen_SOURCES): Add eblrelativerelocp.c.
* eblrelativerelocp.c: New file.
* ebl-hooks.c: Add relative_reloc_p.
* eblopenbackend.c (default_relative_reloc_p): New function.
(fill_defaults): Hook it up.
* libebl.h: Declare ebl_relative_reloc_p.
2006-06-12 Ulrich Drepper <drepper@redhat.com>
* Makefile.am (gen_SOURCES): Add eblnonerelocp.c.
* eblnonerelocp.c: New file.
* ebl-hooks.c: Add none_reloc_p.
* eblopenbackend.c (default_none_reloc_p): New function.
(fill_defaults): Hook it up.
* libebl.h: Declare ebl_none_reloc_p.
2006-05-27 Ulrich Drepper <drepper@redhat.com>
* libebl.h: Add extern "C".
2005-11-25 Roland McGrath <roland@redhat.com>
* eblregname.c: New file.
* Makefile.am (gen_SOURCES): Add it.
* ebl-hooks.h: Declare register_name hook.
* libebl.h: Declare ebl_register_name.
* eblopenbackend.c (default_register_name): New function.
(fill_defaults): Use it.
2005-11-16 Roland McGrath <roland@redhat.com>
* libebl.h: Use "" for elf-knowledge.h, not <>.
2005-11-15 Roland McGrath <roland@redhat.com>
* Makefile.am: Removed everything for building libebl_*.so modules,
now in ../backends/Makefile.am instead.
* alpha_init.c: Moved to ../backends.
* alpha_reloc.def: Likewise.
* alpha_retval.c: Likewise.
* alpha_symbol.c: Likewise.
* arm_init.c: Likewise.
* arm_reloc.def: Likewise.
* arm_symbol.c: Likewise.
* common-reloc.c: Likewise.
* i386_corenote.c: Likewise.
* i386_init.c: Likewise.
* i386_reloc.def: Likewise.
* i386_retval.c: Likewise.
* i386_symbol.c: Likewise.
* ia64_init.c: Likewise.
* ia64_reloc.def: Likewise.
* ia64_symbol.c: Likewise.
* libebl_CPU.h: Likewise.
* ppc64_init.c: Likewise.
* ppc64_reloc.def: Likewise.
* ppc64_retval.c: Likewise.
* ppc64_symbol.c: Likewise.
* ppc_init.c: Likewise.
* ppc_reloc.def: Likewise.
* ppc_retval.c: Likewise.
* ppc_symbol.c: Likewise.
* s390_init.c: Likewise.
* s390_reloc.def: Likewise.
* s390_symbol.c: Likewise.
* sh_init.c: Likewise.
* sh_reloc.def: Likewise.
* sh_symbol.c: Likewise.
* sparc_init.c: Likewise.
* sparc_reloc.def: Likewise.
* sparc_symbol.c: Likewise.
* x86_64_corenote.c: Likewise.
* x86_64_init.c: Likewise.
* x86_64_reloc.def: Likewise.
* x86_64_retval.c: Likewise.
* x86_64_symbol.c: Likewise.
* libebl.h: Comment fixes.
* alpha_retval.c: New file.
* Makefile.am (alpha_SRCS): Add it.
* alpha_init.c (alpha_init): Initialize return_value_location hook.
* ppc64_retval.c: New file.
* Makefile.am (ppc64_SRCS): Add it.
* ppc64_init.c (ppc64_init): Initialize return_value_location hook.
* ppc_retval.c: New file.
* Makefile.am (ppc_SRCS): Add it.
* ppc_init.c (ppc_init): Initialize return_value_location hook.
2005-11-14 Roland McGrath <roland@redhat.com>
* ia64_init.c (ia64_init): Initialize EH->reloc_simple_type.
* sh_init.c (sh_init): Likewise.
* x86_64_init.c (x86_64_init): Likewise.
* sparc_symbol.c (sparc_reloc_simple_type): New function.
* sparc_init.c (sparc_init): Use it.
* arm_symbol.c (arm_reloc_simple_type): New function.
* arm_init.c (arm_init): Use it.
* alpha_symbol.c (alpha_reloc_simple_type): New function.
* alpha_init.c (alpha_init): Use it.
* ia64_reloc.def: Update bits per H. J. Lu <hjl@lucon.org>.
* arm_reloc.def: Update bits per Daniel Jacobowitz <drow@false.org>.
* alpha_reloc.def: Update bits per Richard Henderson <rth@redhat.com>.
2005-11-13 Roland McGrath <roland@redhat.com>
* x86_64_retval.c: New file.
* Makefile.am (x86_64_SRCS): Add it.
* x86_64_init.c (x86_64_init): Use x86_64_return_value_location.
* i386_retval.c: New file.
* Makefile.am (i386_SRCS): Add it.
(libdw): New variable.
(libebl_%.so): Use $(libdw) in link; use --as-needed.
* i386_init.c (i386_init): Use i386_return_value_location.
* eblretval.c: New file.
* Makefile.am (gen_SOURCES): Add it.
(INCLUDES): Search in libdw.
* libebl.h: Include <libdw.h>. Declare ebl_return_value_location.
* ebl-hooks.h: Declare return_value_location hook.
* eblopenbackend.c (default_return_value_location): New function.
(fill_defaults): Use it.
2005-11-10 Roland McGrath <roland@redhat.com>
* s390_init.c: New file.
* s390_reloc.def: New file.
* s390_symbol.c: New file.
* Makefile.am (modules, libebl_pic): Add s390.
(s390_SRCS, libebl_s390_pic_a_SOURCES): New variables.
(am_libebl_s390_pic_a_OBJECTS): New variable.
* ppc64_init.c: Use common-reloc.c.
* ppc64_symbol.c (ppc64_backend_name): Removed.
(ppc64_reloc_type_check, ppc64_reloc_type_name): Likewise.
(ppc64_copy_reloc_p, ppc64_reloc_valid_use): Likewise.
* ppc_init.c: Use common-reloc.c.
* ppc_symbol.c (ppc_backend_name): Removed.
(ppc_reloc_type_name, ppc_reloc_type_check): Likewise.
(ppc_reloc_valid_use, ppc_copy_reloc_p): Likewise.
* sparc_init.c: Use common-reloc.c.
* sparc_symbol.c (sparc_backend_name): Removed.
(sparc_reloc_type_name, sparc_reloc_type_check): Likewise.
(sparc_copy_reloc_p): Likewise.
* arm_init.c: Use common-reloc.c.
* arm_symbol.c (arm_backend_name): Removed.
(arm_reloc_type_name, arm_reloc_type_check, arm_copy_reloc_p): Removed.
* alpha_init.c: Use common-reloc.c.
* alpha_symbol.c (alpha_backend_name): Removed.
(alpha_reloc_type_name, alpha_reloc_type_check): Likewise.
(alpha_copy_reloc_p): Likewise.
* ia64_symbol.c (ia64_backend_name): Removed.
(ia64_reloc_type_name, ia64_reloc_type_check): Likewise.
(ia64_copy_reloc_p): Likewise.
* x86_64_init.c: Use common-reloc.c.
* x86_64_symbol.c (x86_64_backend_name): Removed.
(x86_64_copy_reloc_p, x86_64_reloc_valid_use): Likewise.
(x86_64_reloc_type_check, x86_64_reloc_type_name): Likewise.
* sh_init.c: Use common-reloc.c.
* sh_symbol.c: All functions removed.
(sh_reloc_simple_type): New function.
(sh_gotpc_reloc_check): New function.
* common-reloc.c: New file.
* Makefile.am (noinst_HEADERS): Add it.
* i386_init.c: Include it.
* sh_reloc.def: New file.
* i386_reloc.def: New file.
* alpha_reloc.def: New file.
* arm_reloc.def: New file.
* i386_reloc.def: New file.
* ia64_reloc.def: New file.
* ppc64_reloc.def: New file.
* ppc_reloc.def: New file.
* sh_reloc.def: New file.
* sparc_reloc.def: New file.
* x86_64_reloc.def: New file.
* Makefile.am (EXTRA_DIST): Add $(modules:=_reloc.def).
* libebl_alpha.map: Removed.
* libebl_ia64.map: Removed.
* libebl_ppc.map: Removed.
* libebl_sparc.map: Removed.
* libebl_arm.map: Removed.
* libebl_i386.map: Removed.
* libebl_ppc64.map: Removed.
* libebl_sh.map: Removed.
* libebl_x86_64.map: Removed.
* Makefile.am (EXTRA_DIST): Remove them.
(libebl_%.map, libebl_%.so): New pattern rules.
* libebl_alpha.h: Removed.
* libebl_ia64.h: Removed.
* libebl_ppc.h: Removed.
* libebl_sparc.h: Removed.
* libebl_arm.h: Removed.
* libebl_i386.h: Removed.
* libebl_ppc64.h: Removed.
* libebl_sh.h: Removed.
* libebl_x86_64.h: Removed.
* Makefile.am (noinst_HEADERS): Remove them.
* x86_64_corenote.c: Use libebl_CPU.h instead.
* x86_64_symbol.c: Likewise.
* i386_corenote.c: Likewise.
2005-11-09 Roland McGrath <roland@redhat.com>
* ia64_symbol.c (ia64_reloc_simple_type): New function.
* ebl-hooks.h (reloc_simple_type): Take the Ebl handle, not Elf handle.
* eblrelocsimpletype.c (ebl_reloc_simple_type): Update caller.
* eblopenbackend.c (default_reloc_simple_type): Update signature.
* i386_symbol.c (i386_reloc_simple_type): Likewise.
* ppc64_symbol.c (ppc64_reloc_simple_type): Likewise.
* ppc_symbol.c (ppc_reloc_simple_type): Likewise.
* x86_64_symbol.c (x86_64_reloc_simple_type): Likewise.
* i386_symbol.c (i386_backend_name): Removed.
(i386_reloc_type_name, i386_reloc_type_check): Likewise.
(i386_reloc_valid_use): Removed.
(i386_copy_reloc_p): Removed.
* alpha_destr.c: Removed.
* arm_destr.c: Removed.
* i386_destr.c: Removed.
* ia64_destr.c: Removed.
* ppc64_destr.c: Removed.
* ppc_destr.c: Removed.
* sh_destr.c: Removed.
* sparc_destr.c: Removed.
* x86_64_destr.c: Removed.
* ebl-hooks.h: New file, broken out of ...
* libeblP.h (struct ebl): ... here. #include that for hook
declarations, after defining EBLHOOK macro.
* libebl_CPU.h: New file.
* Makefile.am (noinst_HEADERS): Add them.
* libeblP.h (struct ebl): Use uint_fast16_t for machine,
and uint_fast8_t for class and data.
2005-08-14 Roland McGrath <roland@redhat.com>
* ia64_symbol.c (ia64_section_type_name): New function.
(ia64_dynamic_tag_check): New function.
(ia64_reloc_valid_use): New function.
* libebl_ia64.h: Declare them.
* ia64_init.c (ia64_init): Use them.
* Makefile.am (libebl_ia64.so): Link with libelf.
2005-08-28 Ulrich Drepper <drepper@redhat.com>
* Makefile.am: Use $(LINK) not $(CC) when creating DSOs.
2005-08-13 Roland McGrath <roland@redhat.com>
* ia64_symbol.c (ia64_machine_flag_check): New function.
* libebl_ia64.h: Declare it.
* ia64_init.c (ia64_init): Use it.
2005-08-13 Ulrich Drepper <drepper@redhat.com>
* libebl.h: Add ehdr parameter to ebl_bss_plt_p and
ebl_check_special_symbol.
* libeblP.h (struct ebl): Adjust callback functions.
* eblopenbackend.c: Adjust dummy functions.
* ebl_check_special_symbol.c: Add parameter and pass it on.
* eblbsspltp.c: Likewise.
* ppc_symbol.c (find_dyn_got): With ehdr passed, simplify search for
the dynamic section entry.
(ppc_check_special_symbol): Add ehdr parameter.
(ppc_bss_plt_p): Likewise.
* libebl_ppc.h: Adjust prototypes.
* ppc64_symbol.c (ppc_check_special_symbol): Add ehdr parameter.
(ppc_bss_plt_p): Likewise.
* libebl_ppc64.h: Adjust prototypes.
2005-08-12 Roland McGrath <roland@redhat.com>
* ppc_symbol.c (find_dyn_got): New function, broken out of ...
(ppc_bss_plt_p): ... here. Call that.
(ppc_check_special_symbol): Use find_dyn_got to fetch value to check
against _GLOBAL_OFFSET_TABLE_.
* libeblP.h (struct ebl): Add bss_plt_p hook.
* eblopenbackend.c (default_bss_plt_p): New function.
(fill_defaults): Use it.
* eblbsspltp.c: New file.
* Makefile.am (gen_SOURCES): Add it.
* libebl.h: Declare ebl_bss_plt_p.
* ppc_symbol.c (ppc_bss_plt_p): New function.
* libebl_ppc.h: Declare it.
* ppc_init.c (ppc_init): Use it.
* ppc64_symbol.c (ppc64_bss_plt_p): New function.
* libebl_ppc64.h: Declare it.
* ppc64_init.c (ppc64_init): Use it.
* ebl_check_special_symbol.c: New file.
* Makefile.am (gen_SOURCES): Add it.
* libebl.h: Declare ebl_check_special_symbol.
* libeblP.h (struct ebl): Add check_special_symbol hook.
* eblopenbackend.c (default_check_special_symbol): New function.
(fill_defaults): Use it.
* ppc_symbol.c (ppc_check_special_symbol): New function.
* libebl_ppc.h: Add prototype.
* ppc_init.c (ppc_init): Use it.
* ppc64_symbol.c (ppc64_check_special_symbol): New function.
* libebl_ppc64.h: Add prototype.
* ppc64_init.c (ppc64_init): Use it.
2005-08-07 Ulrich Drepper <drepper@redhat.com>
* ppc_init.c: Add support for new DT_PPC_* and R_PPC_* values.
* ppc_symbol.c: Likewise.
* libebl_ppc.h: Likewise.
* ppc64_init.c: There is now also a dynamic_tag_check functions
* ppc64_symbol.c: Add dynamic_tag_check.
* libebl_ppc64.h: Add prototype.
* alpha_init.c: Add support for new DT_ALPHA_* value.
* alpha_symbol.c: Likewise.
* libebl_alpha.h: Likewise.
2005-08-03 Ulrich Drepper <drepper@redhat.com>
* libebl_alpha.map: Remove unnecessary exports.
* libebl_arm.map: Likewise.
* libebl_i386.map: Likewise.
* libebl_ia64.map: Likewise.
* libebl_ppc.map: Likewise.
* libebl_ppc64.map: Likewise.
* libebl_sh.map: Likewise.
* libebl_sparc.map: Likewise.
* libebl_x86_64.map: Likewise.
2005-08-02 Ulrich Drepper <drepper@redhat.com>
* Makefile.am (libebl_a_SOURCES): Add eblelfclass.c, eblelfdata.c,
and eblelfmachine.c.
* elbopenbackend.c (machines): Add class and data fields. Initialize
them.
(ebl_openbackend): Initialize machine, class, data fields in result.
* libebl.h: Declare Add eblelfclass, eblelfdata, and eblelfmachine.
* libeblP.h (Ebl): Add machine, class, data fields.
2005-07-23 Ulrich Drepper <drepper@redhat.com>
* eblsectionstripp.c: New file.
* Makefile.am (gen_SOURCES): Add eblsectionstripp.c.
* i386_init.c (i386_init): Install specific debugscn_p callback.
* i386_symbol.c (i386_debugscn_p): New function.
* libebl.h: Declare ebl_section_strip_p.
* libebl_i386.h: Declare i386_debugscn_p.
* libebl.h: Move Ebl definition to...
* libeblP.h: ...here.
2005-07-21 Roland McGrath <roland@redhat.com>
* Makefile.am (install-ebl-modules): New target, commands from ...
(install): ... here. Make this depend on it.
(LIBEBL_SUBDIR): New variable, substituted by configure.
(install-ebl-modules): Install in $(libdir)/$(LIBEBL_SUBDIR).
* eblopenbackend.c (openbackend): Use LIBEBL_SUBDIR in module name.
2005-07-21 Ulrich Drepper <drepper@redhat.com>
* eblcopyrelocp.c: New file.
* Makefile.am (gen_SOURCES): Add eblcopyrelocp.c.
* libebl.h: Declare ebl_copy_reloc_p.
* eblopenbackend.c (fill_defaults): Fill in copy_reloc_p.
(default_copy_reloc_p): New function.
* alpha_init.c: Define and use arch-specific copy_reloc_p function.
* alpha_symbol.c: Likewise.
* arm_init.c: Likewise.
* arm_symbol.c: Likewise.
* i386_init.c: Likewise.
* i386_symbol.c: Likewise.
* ia64_init.c: Likewise.
* ia64_symbol.c: Likewise.
* ppc64_init.c: Likewise.
* ppc64_symbol.c: Likewise.
* ppc_init.c: Likewise.
* ppc_symbol.c: Likewise.
* sh_init.c: Likewise.
* sh_symbol.c: Likewise.
* sparc_init.c: Likewise.
* sparc_symbol.c: Likewise.
* x86_64_init.c: Likewise.
* x86_64_symbol.c: Likewise.
* libebl_alpha.h: Declare the copy_reloc_p function.
* libebl_arm.h: Likewise.
* libebl_i386.h: Likewise.
* libebl_ia64.h: Likewise.
* libebl_ppc.h: Likewise.
* libebl_ppc64.h: Likewise.
* libebl_sh.h: Likewise.
* libebl_sparc.h: Likewise.
* libebl_x86_64.h: Likewise.
2005-05-31 Roland McGrath <roland@redhat.com>
* Makefile.am (libebl_*_so_SOURCES): Set to $(*_SRCS) so dependency
tracking works right.
2005-05-21 Ulrich Drepper <drepper@redhat.com>
* libebl_x86_64.map: Add x86_64_core_note.
2005-05-19 Roland McGrath <roland@redhat.com>
* libebl_i386.map: Add i386_reloc_valid_use, i386_reloc_simple_type.
* libebl_ppc.map: Add ppc_reloc_simple_type.
* libebl_ppc64.map: Add ppc64_reloc_simple_type.
* libebl_x86_64.map: Add x86_64_reloc_simple_type.
2005-05-11 Ulrich Drepper <drepper@redhat.com>
* eblcorenote.c: Handle new AT_* values and files with different
endianess.
* Makefile.am (x86_64_SRCS): Add x86_64_corenote.c.
* x86-64_corenote.c: New file.
* x86_64_init.c: Hook in x86_64_corenote.
* i386_corenote.c: Make file usable on 64-bit platforms.
* eblopenbackend.c: If modules version comparison fails, reinitialize
hooks.
2005-05-10 Ulrich Drepper <drepper@redhat.com>
* eblopenbackend.c: Require the init function to return a string.
Compare it with MODVERSION from config.h.
* alpha_init.c: Change return type. Return MODVERSION or NULL.
* arm_init.c: Likewise.
* eblopenbackend.c: Likewise.
* i386_init.c: Likewise.
* ia64_init.c: Likewise.
* ppc64_init.c: Likewise.
* ppc_init.c: Likewise.
* sh_init.c: Likewise.
* sparc_init.c: Likewise.
* x86_64_init.c: Likewise.
* libeblP.h: Adjust ebl_bhinit_t.
* libebl_alpha.h: Adjust init function prototype.
* libebl_arm.h: Likewise.
* libebl_i386.h: Likewise.
* libebl_ia64.h: Likewise.
* libebl_ppc.h: Likewise.
* libebl_ppc64.h: Likewise.
* libebl_sh.h: Likewise.
* libebl_sparc.h: Likewise.
* libebl_x86_64.h: Likewise.
* mips_destr.c: Removed.
* mips_init.c: Removed.
* mips_symbol.c: Removed.
* libebl_mips.h: Removed.
* libebl_mips.map: Removed.
2005-05-03 Roland McGrath <roland@redhat.com>
* libebl.h (Ebl): Add `reloc_simple_type' member.
* eblopenbackend.c (default_reloc_simple_type): New function.
(openbackend): Use that as default reloc_simple_type callback.
* eblrelocsimpletype.c: New file.
* Makefile.am (gen_SOURCES): Add it.
* i386_symbol.c (i386_reloc_simple_type): New function.
* libebl_i386.h: Declare it.
* i386_init.c (i386_init): Use it.
* x86_64_symbol.c (x86_64_reloc_simple_type): New function.
* libebl_x86_64.h: Declare it.
* x86_64_init.c (x86_64_init): Use it.
* ppc_symbol.c (ppc_reloc_simple_type): New function.
* libebl_ppc.h: Declare it.
* ppc_init.c (ppc_init): Use it.
* ppc64_symbol.c (ppc64_reloc_simple_type): New function.
* libebl_ppc64.h: Declare it.
* ppc64_init.c (ppc64_init): Use it.
2005-03-17 Ulrich Drepper <drepper@redhat.com>
* eblcorenote.c (ebl_core_note): Add support for AT_SECURE.
2005-02-15 Ulrich Drepper <drepper@redhat.com>
* Makefile.am (AM_CFLAGS): Add -Wformat=2.
2005-02-14 Ulrich Drepper <drepper@redhat.com>
* alpha_destr.c: Add __attribute__((unused)) where needed.
* alpha_init.c: Likewise.
* alpha_symbol.c: Likewise.
* arm_destr.c: Likewise.
* arm_init.c: Likewise.
* arm_symbol.c: Likewise.
* i386_corenote.c: Likewise.
* i386_destr.c: Likewise.
* i386_init.c: Likewise.
* i386_symbol.c: Likewise.
* ia64_destr.c: Likewise.
* ia64_init.c: Likewise.
* ia64_symbol.c: Likewise.
* mips_destr.c: Likewise.
* mips_init.c: Likewise.
* mips_symbol.c: Likewise.
* ppc64_destr.c: Likewise.
* ppc64_init.c: Likewise.
* ppc64_symbol.c: Likewise.
* ppc_destr.c: Likewise.
* ppc_init.c: Likewise.
* ppc_symbol.c: Likewise.
* sh_destr.c: Likewise.
* sh_init.c: Likewise.
* sh_symbol.c: Likewise.
* sparc_destr.c: Likewise.
* sparc_init.c: Likewise.
* sparc_symbol.c: Likewise.
* x86_64_destr.c: Likewise.
* x86_64_init.c: Likewise.
* x86_64_symbol.c: Likewise.
* x86_64_symbol.c (reloc_map_table): Fix entries for R_X86_64_64
and R_X86_64_32..
2005-02-06 Ulrich Drepper <drepper@redhat.com>
* eblstrtab.c: A few cleanups.
* eblopenbackend.c: Mark unused parameters.
* eblgstrtab.c: Cleanups a few printf format strings.
* Makefile.am: Cleanup AM_CFLAGS handling. Add -Wunused -Wextra.
2005-02-05 Ulrich Drepper <drepper@redhat.com>
* Makefile.am: Check for text relocations in constructed DSOs.
* eblstrtab.c: Minor cleanups.
* Makefile.am (AM_CFLAGS): Add -std=gnu99 and -fmudflap for MUDFLAP.
2004-08-16 Ulrich Drepper <drepper@redhat.com>
* Makefile.am (AM_CFLAGS): Add LIBSTR definition with base name of
the lib directory.
* eblopenbackend.c (openbackend): Use LIBSTR instead of hardcoded
lib in path to ebl modules.
2004-04-01 Ulrich Drepper <drepper@redhat.com>
* Makefile.am: Add rules for ppc and ppc64 ebl module.
* ppc_init..c: New file.
* ppc_destr.c: New file.
* ppc_symbol.c: New file.
* libebl_ppc.h: New file.
* libebl_ppc.map: New file.
* ppc64_init..c: New file.
* ppc64_destr.c: New file.
* ppc64_symbol.c: New file.
* libebl_ppc64.h: New file.
* libebl_ppc64.map: New file.
2004-01-20 Ulrich Drepper <drepper@redhat.com>
* Makefile.am: Support building with mudflap.
2004-01-18 Ulrich Drepper <drepper@redhat.com>
* libeblP.h (_): Use elfutils domain.
2004-01-16 Ulrich Drepper <drepper@redhat.com>
* eblsectionname.c: Add support for SHN_BEFORE and SHN_AFTER.
2004-01-13 Ulrich Drepper <drepper@redhat.com>
* eblsegmenttypename.c ((ebl_segment_type_name): Add support for
PT_GNU_RELRO.
2004-01-08 Ulrich Drepper <drepper@redhat.com>
* libebl.h: Remove last traces of libtool.
2004-01-05 Ulrich Drepper <drepper@redhat.com>
* elf-knowledge.h: Move to libelf subdir.
* Makefile.am (EXTRA_DIST): Remove libebl.map.
* libebl.map: Removed.
2003-12-08 Ulrich Drepper <drepper@redhat.com>
* eblsectiontypename.c (ebl_section_type_name): Add support for
SHT_SUNW_move, SHT_CHECKSUM, and SHT_GNU_LIBLIST.
2003-11-19 Ulrich Drepper <drepper@redhat.com>
* ia64_symbol.c (ia64_dynamic_tag_name): New function.
* libebl_ia64.h (ia64_dynamic_tag_name): Declare.
* ia64_init.c (ia64_init): Register i164_dynamic_tag_name.
2003-09-24 Ulrich Drepper <drepper@redhat.com>
* ia64_init.c (ia64_init): Initialize segment_type_name callback.
* ia64_symbol.c (ia64_segment_type_name): Define.
* libebl_ia64.h (ia64_segment_type_name): Declare.
2003-09-22 Ulrich Drepper <drepper@redhat.com>
* Makefile.am (AM_CFLAGS): Add -fpic.
2003-08-14 Ulrich Drepper <drepper@redhat.com>
* Makefile.am (install): Remove dependency on libebl.so.
2003-08-13 Ulrich Drepper <drepper@redhat.com>
* eblopenbackend.c: Adjust relative path to arch-specific DSOs
assuming the code ends up in the application. Add second dlopen()
try without any path, just the filename.
* Makefile.in: Remove rules to build and install libebl.so.
2003-08-11 Ulrich Drepper <drepper@redhat.com>
* Moved to CVS archive.
|