Olaf Seibert
c4221e0b4b
Sometimes pc-relative addressing needs no relocation record.
...
In this case, in an absolute section refering to an absolute symbol.
Use test cases from Johnny Billquist.
2020-03-07 17:34:45 +01:00
Olaf Seibert
62868a6661
Get rid of #define stricmp strcasecmp.
2020-03-06 22:44:20 +01:00
Olaf Seibert
88d33fd913
Adjust 2.11BSD-m11-lout.lst.ok.
...
Because of this corrected sequence:
575 000000 lctbas = .
576 000000 genlct seq
1 000001 lc.seq= 1
- 2 .rept <.-lctbas>/2
+ 2 000000 .rept <.-lctbas>/2
3 lc.seq= lc.seq+lc.seq
4 .endm
- 1 000002 lc.seq= lc.seq+lc.seq
5 000000 073631 .rad50 /seq/
6 .if nb <>
7 lcinit= lcinit+lc.seq
8 .endc
The repeat count is 0. lc.seq previously incorrectly had a value of 2
but now it has the correct value of 1.
This has a knock-on effect on various other expressions throughout, so there
are various changes.
2020-03-06 22:08:02 +01:00
Olaf Seibert
2349d80ec8
Fix .REPT 0 to not repeat the code block at all.
...
Also, now list the calculated repeat count for reference.
This occurred a few times in the regression tests to fix the expected
outcome.
2020-03-06 21:58:53 +01:00
Olaf Seibert
7595621cd7
Add new options to usage message.
2020-03-04 19:41:22 +01:00
Kevin Handy
bf322f3c6b
Fix file name parsing.
2020-03-04 19:40:56 +01:00
Olaf Seibert
94d044fd77
Add -rt11 option to dumpobj too.
2020-03-03 22:58:32 +01:00
Olaf Seibert
592b7facf1
Silence gcc7 warnings by adjusting FALLS THROUGH comment.
2020-03-03 22:11:02 +01:00
Olaf Seibert
5c9fc1ae16
Try to fix travis yml.
2020-03-03 21:46:57 +01:00
Kevin Handy
e2fb29e3f2
Make the produced object file configurable...
...
at run time, from the command line.
2020-03-03 19:13:20 +01:00
Olaf Seibert
c80c87b2d4
Test another weird delimiter: .ASCIZ &&
2018-11-10 17:12:21 +01:00
Olaf Seibert
78fb685e59
Clarify ORG error message a bit
...
its counterpart for absolute sections mentions the section type too.
2018-11-10 17:12:21 +01:00
Olaf Seibert
2920e9f2f9
Test a few error message with .IIF.
2018-11-10 17:12:21 +01:00
Olaf Seibert
2dbf80388e
Add tests for (N)'DF foo!bar' and (N)'DF foo&bar'.
2018-11-10 17:12:21 +01:00
Olaf Seibert
a42b49f73b
Bug: '.iif conf, label: foo' didn't work.
2018-11-10 17:12:21 +01:00
Olaf Seibert
8c89fd27cf
Try if gitlab-ci is as easy as Travis...
2018-06-06 22:24:14 +02:00
Olaf Seibert
647b639552
Also build and test on osx.
2017-12-18 14:59:45 +01:00
Olaf Seibert
877400f236
Fix error message for .odd with argument.
2017-12-18 14:50:17 +01:00
Olaf Seibert
d98c1e54d0
Initial Travis CI config.
...
Try to get Travis' gmake to run ./make-git-info in before compiling macro11.c.
In RunTests, reflect differences in exit status, for automated testing.
2017-12-18 14:30:30 +01:00
Olaf Seibert
0a9d7cddb0
Add some of the changes to CHANGES.
2017-05-13 19:47:03 +02:00
Olaf Seibert
5f5414fb37
Update some dates.
2017-05-06 19:11:19 +02:00
Olaf Seibert
a279a86076
Remove unneeded include (which cases compile errors wrt. git-info.h)
2017-05-06 19:10:21 +02:00
Olaf Seibert
1557c4c186
Add stuff to .gitignore.
2017-05-06 17:55:47 +02:00
Olaf Seibert
ea5ef8587f
Add .ENABL LCM. Its default setting was incorrect.
2017-05-06 17:53:15 +02:00
Olaf Seibert
f3af0d060f
Adjust tests: .ENABL LC can now be removed.
...
This changes all the 2.11 listings.
2017-05-06 17:15:20 +02:00
Olaf Seibert
6be865911c
Each pass starts implicitly with .ENABL LC.
2017-05-06 17:11:56 +02:00
Olaf Seibert
faf378ba86
Factor out some common pass initialisation code.
2017-05-06 17:07:53 +02:00
Olaf Seibert
870ecef497
Small doc update
2017-05-06 15:51:28 +02:00
Olaf Seibert
203a812664
Add 2.11BSD's m11 sources as regression tests.
2017-05-06 15:49:18 +02:00
Olaf Seibert
e42bc827ff
Merge branch 'master' into mlb2
2017-05-04 23:02:08 +02:00
Olaf Seibert
f5e1227317
Add some tests for .if etc. Fix a sign bit.
2017-05-04 23:00:43 +02:00
Olaf Seibert
a4bc859d15
Merge branch 'master' into mlb2
2017-04-28 23:22:58 +02:00
Olaf Seibert
4916b699fa
Add ^pl and ^ph expressions from 2.11BSD's m11.
...
I hope I understood what this is doing!
2017-04-28 23:02:06 +02:00
Olaf Seibert
8cf4145724
Merge branch 'master' into mlb2
2017-04-27 22:12:48 +02:00
Olaf Seibert
27abf32bf4
Let .LIST and .NLIST affect listing only if they have no argument.
2017-04-27 22:11:31 +02:00
Olaf Seibert
f202984a3c
Merge branch 'master' into mlb2
2017-04-27 21:56:54 +02:00
Olaf Seibert
d61cad6bb4
Add some tests for .BLKB .BLKW .ODD .EVEN
...
.BLKB and .BLKW should have an argument, but if missing it is 1.
.ODD and .EVEN are not allowed to have an argument.
2017-04-27 21:56:02 +02:00
Olaf Seibert
65f29a6497
Recognize, but ignore, the BSD m11 syntax .MCALL (macrolibname)macroname
2017-04-27 20:44:30 +02:00
Olaf Seibert
f07c9045f5
Prepare for macros being defined in "other ways" which are not yet put in the macro definition table.
2017-04-27 20:43:28 +02:00
Olaf Seibert
e4ec481d3d
Add RT11 macro libraries.
...
Hopefully they won't open as RSX ones, because then they still won't work.
Can't test this now.
2017-04-27 20:34:07 +02:00
Olaf Seibert
96cfd4a152
First step in the support of multiple formats of macro (or object) libraries.
...
No test included since I don't have a distributable RSX .MLB file
available at this time.
2017-04-27 20:33:57 +02:00
Olaf Seibert
eb60cfe315
Very simple .LIST and .NLIST implementation.
...
Thanks to Don North. Also added a simple test.
Fixes #3 .
2017-04-23 18:25:17 +02:00
Olaf Seibert
c771c875cb
Fix a use-after-free. Found by Don North.
...
Also adjust test case to include this code.
Fixes #2 .
2017-04-23 18:24:38 +02:00
Olaf Seibert
433e8ecda6
Add comment on a format strictness. ...
...
Remove unneeded #define.
2016-10-22 15:13:34 +02:00
Olaf Seibert
2620a1e98f
Add .gitignore file.
2016-07-11 22:28:48 +02:00
Olaf Seibert
b8a955792c
Fix operand check for XOR which is shared with JSR.
...
Fixes issue #1 .
2016-07-11 22:10:15 +02:00
Olaf Seibert
a685d341c5
First changes in 0.5wip: correct some grammar (it's vs. its).
2016-02-21 21:13:50 +01:00
Olaf Seibert
2a14ffe251
Include changes for a release.
2015-11-09 22:31:31 +01:00
Olaf Seibert
ecd4e81a7c
Fix Makefile and some unneeded #includes.
...
make clean would first compile everything before cleaning.
And building anything would make git-info.h too late.
2015-11-09 22:15:00 +01:00
Olaf Seibert
d76e294b06
Add some tests for operators and their (lack of) precedence.
2015-11-09 21:24:10 +01:00