yasm/libyasm
Peter Johnson 323153d55a Instead of initializing unknown sections en-masse during objfmt_output(),
add new objfmt interface function init_new_section() to initialize as we
go.

This fixes several issues, primarily with debug formats that create sections.

Reported by: Brian Gladman

svn path=/trunk/yasm/; revision=2310
2010-03-28 19:28:54 +00:00
..
tests Fix #188: Times forward references would result in bad code generation. 2009-10-31 21:45:55 +00:00
arch.h Change handling of frontend (mnenomic) instructions to make it easier to 2007-07-08 05:31:59 +00:00
assocdat.c Remove YASM_LIB_INTERNAL. It never really gained us that much in terms of 2007-07-14 03:11:32 +00:00
assocdat.h Enable DLL/plugin builds with cmake on Windows. 2008-05-23 06:46:51 +00:00
bc-align.c Add core TASM syntax support. 2008-10-07 05:38:11 +00:00
bc-data.c Fix a number of warnings. 2008-10-07 05:59:29 +00:00
bc-incbin.c Add core TASM syntax support. 2008-10-07 05:38:11 +00:00
bc-org.c Add core TASM syntax support. 2008-10-07 05:38:11 +00:00
bc-reserve.c Add core TASM syntax support. 2008-10-07 05:38:11 +00:00
bitvect.c Allow underscores in the middle of binary, octal, and hex constants. 2008-04-12 08:30:22 +00:00
bitvect.h Enable DLL/plugin builds with cmake on Windows. 2008-05-23 06:46:51 +00:00
bytecode.c Fix #188: Times forward references would result in bad code generation. 2009-10-31 21:45:55 +00:00
bytecode.h Add core TASM syntax support. 2008-10-07 05:38:11 +00:00
cmake-module.c Add cmake build infrastructure. 2008-05-22 09:08:03 +00:00
CMakeLists.txt (cmake build) Install DLL files to correct locations on Windows. 2008-05-24 18:30:29 +00:00
compat-queue.h Bite the bullet and convert tabs to spaces. Previously yasm's source has 2007-04-22 03:32:46 +00:00
coretype.h Enable DLL/plugin builds with cmake on Windows. 2008-05-23 06:46:51 +00:00
dbgfmt.h Update all copyright dates. 2007-04-22 05:09:49 +00:00
errwarn.c Use queue.h HEAD macros more portably (also avoiding compiler warning). 2010-01-03 01:04:18 +00:00
errwarn.h Add core TASM syntax support. 2008-10-07 05:38:11 +00:00
expr.c Add core TASM syntax support. 2008-10-07 05:38:11 +00:00
expr.h Add core TASM syntax support. 2008-10-07 05:38:11 +00:00
file.c vsyasm: create intermediate output directories if necessary. 2010-02-13 08:42:27 +00:00
file.h vsyasm: create intermediate output directories if necessary. 2010-02-13 08:42:27 +00:00
floatnum.c Add support for IEEE-754r "half precision" (16-bit) float format. 2007-09-16 20:41:16 +00:00
floatnum.h Enable DLL/plugin builds with cmake on Windows. 2008-05-23 06:46:51 +00:00
genmodule.c Update all copyright dates. 2007-04-22 05:09:49 +00:00
hamt.c Fix #112: Use yasm__strcasecmp instead of strcasecmp. 2007-08-05 16:44:07 +00:00
hamt.h Enable DLL/plugin builds with cmake on Windows. 2008-05-23 06:46:51 +00:00
insn.c Add core TASM syntax support. 2008-10-07 05:38:11 +00:00
insn.h Add core TASM syntax support. 2008-10-07 05:38:11 +00:00
intnum.c yasm_intnum_create_sized(): Fix off-by-one error in sign extension check. 2010-01-01 20:47:58 +00:00
intnum.h Add core TASM syntax support. 2008-10-07 05:38:11 +00:00
inttree.c Fix two more instances of queue.h HEAD macros for portability. 2010-01-03 02:46:11 +00:00
inttree.h Enable DLL/plugin builds with cmake on Windows. 2008-05-23 06:46:51 +00:00
linemap.c Implement some linemap changes required for the GAS preprocessor. 2010-01-03 01:58:23 +00:00
linemap.h Implement some linemap changes required for the GAS preprocessor. 2010-01-03 01:58:23 +00:00
listfmt.h Update all copyright dates. 2007-04-22 05:09:49 +00:00
Makefile.inc Generated files listed in SOURCES (rather than included by other files) 2008-07-06 22:26:49 +00:00
md5.c Bite the bullet and convert tabs to spaces. Previously yasm's source has 2007-04-22 03:32:46 +00:00
md5.h Enable DLL/plugin builds with cmake on Windows. 2008-05-23 06:46:51 +00:00
mergesort.c Remove YASM_LIB_INTERNAL. It never really gained us that much in terms of 2007-07-14 03:11:32 +00:00
module.h Enable DLL/plugin builds with cmake on Windows. 2008-05-23 06:46:51 +00:00
module.in Allow registering of new modules at runtime. 2008-04-30 04:40:29 +00:00
objfmt.h Instead of initializing unknown sections en-masse during objfmt_output(), 2010-03-28 19:28:54 +00:00
parser.h Split NASM preprocessor standard macro set between various modules. 2008-05-09 06:46:02 +00:00
phash.c Remove YASM_LIB_INTERNAL. It never really gained us that much in terms of 2007-07-14 03:11:32 +00:00
phash.h Enable DLL/plugin builds with cmake on Windows. 2008-05-23 06:46:51 +00:00
preproc.h Split NASM preprocessor standard macro set between various modules. 2008-05-09 06:46:02 +00:00
section.c Instead of initializing unknown sections en-masse during objfmt_output(), 2010-03-28 19:28:54 +00:00
section.h Fix #132: Add --prefix and --suffix (aka --postfix) options. 2008-06-08 09:06:05 +00:00
strcasecmp.c Remove YASM_LIB_INTERNAL. It never really gained us that much in terms of 2007-07-14 03:11:32 +00:00
strsep.c Remove YASM_LIB_INTERNAL. It never really gained us that much in terms of 2007-07-14 03:11:32 +00:00
symrec.c Add core TASM syntax support. 2008-10-07 05:38:11 +00:00
symrec.h Add core TASM syntax support. 2008-10-07 05:38:11 +00:00
valparam.c Add NASM-compatible multi-section binary support to bin object format. 2007-11-14 08:33:32 +00:00
valparam.h Enable DLL/plugin builds with cmake on Windows. 2008-05-23 06:46:51 +00:00
value.c Fix #178: Don't "distribute" shift right op. 2009-07-24 19:01:35 +00:00
value.h Enable DLL/plugin builds with cmake on Windows. 2008-05-23 06:46:51 +00:00
xmalloc.c Enable DLL/plugin builds with cmake on Windows. 2008-05-23 06:46:51 +00:00
xstrdup.c Remove YASM_LIB_INTERNAL. It never really gained us that much in terms of 2007-07-14 03:11:32 +00:00