delphij
d8a3474063
Use calloc().
...
MFC after: 2 weeks
2013-06-05 21:56:29 +00:00
delphij
c07c28ee99
Remove unneeded reference to link.h (sys/link_elf.h).
...
MFC after: 2 weeks
2013-06-05 21:55:20 +00:00
luigi
e7aa89bb16
fix a couple of innocuous compiler warnings
...
MFC after: 3 days
2009-01-06 14:21:17 +00:00
jasone
6abe8a1c87
Use posix_memalign() rather than assuming that malloc() provides adequate
...
alignment.
Approved by: markm (mentor)
2006-01-12 08:01:38 +00:00
marcel
0a081d09f4
Make our ELF64 type definitions match standards. In particular this
...
means:
o Remove Elf64_Quarter,
o Redefine Elf64_Half to be 16-bit,
o Redefine Elf64_Word to be 32-bit,
o Add Elf64_Xword and Elf64_Sxword for 64-bit entities,
o Use Elf_Size in MI code to abstract the difference between
Elf32_Word and Elf64_Word.
o Add Elf_Ssize as the signed counterpart of Elf_Size.
MFC after: 2 weeks
2005-12-18 04:52:37 +00:00
iedowse
d0d1e68e58
Explicitly pass in the relocation base and data offset into ef_reloc()
...
rather than relying on a trick that happens to work for the current
relocation schemes. Also add some comments and improve variable
naming.
2004-08-28 19:31:10 +00:00
iedowse
d29d728a27
Use a temporary void * variable to work around a strict aliasing
...
warning that gcc generates at -O2 and higher.
2004-08-27 08:54:40 +00:00
iedowse
c3e1384b73
Add support for reading ELF relocatable object file format modules.
2004-08-27 00:58:40 +00:00