Jakub Kądziołka
df15c97b6e
Handle zero-byte files gracefully
2019-07-03 16:38:35 +02:00
Jakub Kądziołka
0d97b58265
Avoid potentially implementation-defined behavior when using a pipe as input
2019-07-03 16:38:00 +02:00
Jakub Kądziołka
f7bc61e874
Automatic tests for input from stdin
2019-07-03 16:05:54 +02:00
Jakub Kądziołka
8d5a53f529
Handle non-seekable input correctly
2019-07-03 15:38:14 +02:00
Jakub Kądziołka
20f9492899
Allow using - to indicate input from stdin
2019-07-03 15:38:14 +02:00
Jakub Kądziołka
88eceec257
Add a test for the behavior of NARG after SHIFT
2019-06-09 12:58:32 +02:00
Jakub Kądziołka
0a3af87aee
Ignore the .git folder of the test repositories
...
Before this change, doing `git add test` would also add
pokecrystal and the other test repos, even though they
didn't show up on `git status`.
2019-06-05 20:54:21 +02:00
Jakub Kądziołka
4dee999f68
Clean the test repositories before running tests
2019-06-05 20:53:32 +02:00
Jakub Kądziołka
9a4941c794
Allow running the tests from outside of the test folder
2019-06-05 20:52:35 +02:00
Jakub Kądziołka
e7de0745ad
Improve documentation of the object format
2019-03-04 09:45:14 +01:00
Jakub Kądziołka
7af2d5dfe1
Print location information in linker errors where viable
2019-03-03 22:55:17 +01:00
Jakub Kądziołka
2f2f14bf80
Fix symbol length checking
...
When the while loop in `ParseSymbol` stops because of the symbol length,
`copied` will have the value of `MAXSYMLEN`, which is obviously not
greater than `MAXSYMLEN`. Changing the condition to `>=` fixes the
issue.
As a bonus, the correct union field will now be used. It shouldn't
matter, but it's technically UB to use a wrong one.
2019-03-02 19:11:53 +01:00