]> granicus.if.org Git - yasm/commit
ELF objfmt size agnosticism:
authorMichael Urman <mu@tortall.net>
Sun, 3 Aug 2003 01:13:14 +0000 (01:13 -0000)
committerMichael Urman <mu@tortall.net>
Sun, 3 Aug 2003 01:13:14 +0000 (01:13 -0000)
commite2808bab9a9e8c96ef6ddd68f6a0476628c60aa2
tree87f7ab394e92a728e8a94eb3ca49697eabddb5f0
parent52ce9f32e153476bdd83ae40d7f71b906d11ed10
ELF objfmt size agnosticism:
* Replace ulongs secthead.size, secthead.align, reloc.addr with intnums
* Calculate relocation size with intnums
* Create macros YASM_WRITE_32I_L, YASM_WRITE_64I_L to write 32/64bit
  intnums to buffer
This doesn't quite cover everything, particularly due to various calls
to yasm_intnum_get_uint for various bits of processing, but it's close!

Miscellany:
* Fix non-call to elf_reloc_delete()
* Remove unused secthead.addr, secthead_set_addr
* Create macro YASM_WRITE_64Z_L to write zero-extended 32bit value to
  64bits of buffer

svn path=/trunk/yasm/; revision=1030
modules/objfmts/elf/elf-objfmt.c
modules/objfmts/elf/elf.c
modules/objfmts/elf/elf.h