Peter Johnson
aa6f573370
Update DISTFILES to reflect src/lclint.sh -> splint.sh move.
...
svn path=/trunk/yasm/; revision=550
23 years ago
Peter Johnson
ffa58d5f18
Include Makefile.inc itself in the distribution!
...
svn path=/trunk/yasm/; revision=549
23 years ago
Peter Johnson
26610c492e
Cleanups both for and from Splint.
...
svn path=/trunk/yasm/; revision=548
23 years ago
Peter Johnson
bccc5e7ec7
When using Splint, don't try to use gettext().
...
svn path=/trunk/yasm/; revision=547
23 years ago
Peter Johnson
04df0be842
Cleanups both for and from Splint.
...
svn path=/trunk/yasm/; revision=546
23 years ago
Peter Johnson
55b9cf9b81
Use -shiftimplementation because it's seeing enums as possibly negative for
...
the right side of <<.
svn path=/trunk/yasm/; revision=545
23 years ago
Peter Johnson
f37e5504be
Add check for vsnprintf().
...
svn path=/trunk/yasm/; revision=544
23 years ago
Peter Johnson
a6e5b3e166
LCLint is now Splint (www.splint.org).
...
svn path=/trunk/yasm/; revision=543
23 years ago
Peter Johnson
2ad58d8f33
Fix bug in align_section(): if a section has no bytecodes, last will be NULL!
...
svn path=/trunk/yasm/; revision=542
23 years ago
Peter Johnson
45cc607135
Update to match new Mkfiles files.
...
svn path=/trunk/yasm/; revision=540
23 years ago
Peter Johnson
73a516c455
Update to match configure-based build changes.
...
svn path=/trunk/yasm/; revision=539
23 years ago
Peter Johnson
fc47434c16
Include errno.h to define errno.
...
svn path=/trunk/yasm/; revision=538
23 years ago
Michael Urman
e7278945e9
Get the type right for yyin. *sigh* How'd i decide it was a
...
YY_BUFFER_STATE?
svn path=/trunk/yasm/; revision=537
23 years ago
Michael Urman
13ab2a73b8
fix crash on nonexistent (or otherwise unopenable) include files.
...
svn path=/trunk/yasm/; revision=536
23 years ago
Peter Johnson
e948223372
Bump version to 0.1.0.
...
svn path=/trunk/yasm/; revision=535
23 years ago
Peter Johnson
4468f7e7bb
Fix make distcheck by eliminating directory components.
...
svn path=/trunk/yasm/; revision=534
23 years ago
Peter Johnson
3ccc6a033c
Make a separate Makefile.inc for the yapp/tests directory.
...
svn path=/trunk/yasm/; revision=533
23 years ago
Peter Johnson
ade764b8e9
Add some bin objfmt related testcases. These should go into a framework
...
sometime!
svn path=/trunk/yasm/; revision=532
23 years ago
Peter Johnson
c738bd3f9d
Recursively expand EQU's.
...
svn path=/trunk/yasm/; revision=531
23 years ago
Peter Johnson
a2053f3086
Correctly output float expressions.
...
svn path=/trunk/yasm/; revision=530
23 years ago
Peter Johnson
adfc2e10c9
Add expr_get_floatnum().
...
svn path=/trunk/yasm/; revision=529
23 years ago
Peter Johnson
fe8c2a009f
Restructure bc_calc_len() family into bc_resolve() family. Many many many
...
bugfixes to the bc_tobytes() family and other functions. Binary object output
is now close to complete: just a few more bugs to kill!
svn path=/trunk/yasm/; revision=528
23 years ago
Peter Johnson
53002496e4
Fix a number of bugs in x86_checkea_calc_displen().
...
svn path=/trunk/yasm/; revision=527
23 years ago
Peter Johnson
c9e4019b28
Comment additions.
...
svn path=/trunk/yasm/; revision=526
23 years ago
Michael Urman
160ba169cc
Fix slight whitespace issue - don't append whitespace after closing
...
paren to beginning of expansion of %define with parameters.
svn path=/trunk/yasm/; revision=525
23 years ago
Michael Urman
575cc451ec
defines with parameters seem to work. wow. i need some more test
...
cases, cause i'm pretty sure i have to have missed something.
svn path=/trunk/yasm/; revision=524
23 years ago
Michael Urman
95e784bf75
Tests for define with parameters.
...
svn path=/trunk/yasm/; revision=523
23 years ago
Michael Urman
053d1c1d1c
Lots of preparations for expanding %defines with argument lists:
...
- several global struct source_head's have become localized to allow
recursion
- a few more helper functions, etc.
No change in the output yet, except in the previously unsupported cases.
svn path=/trunk/yasm/; revision=522
23 years ago
Peter Johnson
d85e7014a8
Binary object format output! Lots of structural changes needed, particularly
...
with regards to resolve_label().
MAJOR FIXME: The tobytes() pass acts like a final optimization pass. This
causes internal errors because of length mismatches (optimized to shorter len).
svn path=/trunk/yasm/; revision=521
23 years ago
Peter Johnson
e56de0d158
Make call instruction work correctly. The old code generated a legal short
...
form for it (opcode length 1, opcode 0, rather than opcode length 0).
svn path=/trunk/yasm/; revision=520
23 years ago
Peter Johnson
44dbd8a872
Remove debugging print statement added in previous commit.
...
svn path=/trunk/yasm/; revision=519
23 years ago
Peter Johnson
62ece541a0
Make call instruction work correctly. The old code generated a legal short
...
form for it (opcode length 1, opcode 0, rather than opcode length 0).
svn path=/trunk/yasm/; revision=518
23 years ago
Peter Johnson
4dd0912998
Fix bug in 32-bit displacement with no registers.
...
svn path=/trunk/yasm/; revision=517
23 years ago
Michael Urman
dca731f6a7
Removed spurious src/tests/yapp_test from CLEANFILES (*bewildered look*)
...
svn path=/trunk/yasm/; revision=516
23 years ago
Peter Johnson
18ff2cc4f5
Don't block global src variable. While I'm here, change to use SLIST_FOREACH.
...
svn path=/trunk/yasm/; revision=515
23 years ago
Michael Urman
9259c6ea65
Now that whitespace is mostly preserved, no need for the next token for
...
guessing whitespace insertion.
svn path=/trunk/yasm/; revision=514
23 years ago
Michael Urman
b1496537f6
Handle recursive %defines properly.
...
svn path=/trunk/yasm/; revision=513
23 years ago
Michael Urman
b0b10ffe6b
Tests for recursive %defines.
...
svn path=/trunk/yasm/; revision=512
23 years ago
Michael Urman
18624703e3
Handle %define to %define - caught use of a global in a recursive func.
...
Fix how %defines get built - append_through_return -> append_to_return.
svn path=/trunk/yasm/; revision=511
23 years ago
Michael Urman
970e89dbee
test case for %define to a %define. non-recursive.
...
svn path=/trunk/yasm/; revision=510
23 years ago
Michael Urman
a74a807bba
Catch a few missing inhibited directives (not implemented yet anyway).
...
Preserve non-trailing whitespace (cleaner look, supports %define foo()).
Condense %line, \n or %line, %line into single %line.
svn path=/trunk/yasm/; revision=509
23 years ago
Michael Urman
90283e877e
Handle output inhibition more properly; %includes inside %ifs don't
...
actually %include, etc.
Also fix starting line to be 1, not 0.
svn path=/trunk/yasm/; revision=508
23 years ago
Michael Urman
655f98255f
Several new tests.
...
svn path=/trunk/yasm/; revision=507
23 years ago
Michael Urman
86e1c8338c
Catch "errors" and update report format
...
svn path=/trunk/yasm/; revision=506
23 years ago
Michael Urman
716884b0bb
Add ifdef tests.
...
svn path=/trunk/yasm/; revision=505
23 years ago
Michael Urman
314085475c
add beginnings of test suite for yapp
...
svn path=/trunk/yasm/; revision=504
23 years ago
Michael Urman
2c051baa0b
return [ and ] characters
...
svn path=/trunk/yasm/; revision=503
23 years ago
Michael Urman
944853f03a
Removed spurious include of objfmt
...
Added some debugging printf to isolate and fix failing define case
svn path=/trunk/yasm/; revision=502
23 years ago
Michael Urman
22d4d7b74d
Remove some spurious includes.
...
svn path=/trunk/yasm/; revision=501
23 years ago
Peter Johnson
b667c33ea5
Don't call bc_resolve (it's going away soon).
...
FIXME: Do we really need to check completion of all sections?
svn path=/trunk/yasm/; revision=500
23 years ago