15 Commits

Author SHA1 Message Date
Olaf Seibert
efe4a882e3 Consistent out-of-memory checks. 2021-11-13 23:07:30 +01:00
Olaf Seibert
b6d49ec467 Typo/comment fixes. 2021-01-31 17:55:22 +01:00
Olaf Seibert
1958fa1fad Make default object file format choosable from Makefile. 2020-03-11 21:16:08 +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
ce2d526291 Added some robustness for when dumpobj is run on files which are...
almost an object file, such as an object library.
2015-06-09 22:33:53 +02:00
Olaf Seibert
d38f4009c4 Crank up the warning levels, and adjust the code to silence ...
several compilers:
- gcc version 4.5.3 (NetBSD nb2 20110806)
- gcc version 4.9.2 (Ubuntu 4.9.2-10ubuntu13)
- Ubuntu clang version 3.6.0-2ubuntu1 (tags/RELEASE_360/final) (based on LLVM 3.6.0)

The warnings were mostly about local variables shadowing others,
unused function parameters, and C++ style comments. Some variables were
indeed used before set.

Note that on Linux, using -std=c99 does stupid things like *remove* the
declaration of strdup() from <string.h>. Therefore I've reluctantly used
-std=gnu99.
2015-05-27 21:51:26 +02:00
Olaf Seibert
8a2ba3adf0 Print flag names. 2015-05-27 01:37:16 +02:00
Olaf Seibert
168340c54c A bit more tweaking of output/listing. 2015-05-21 00:57:52 +02:00
Olaf Seibert
06a780cb94 Suppress spurious error message in RSX format version. 2015-05-19 21:15:24 +02:00
Olaf Seibert
12fdea5b21 Adapt the generating and dumping of object files to what is observed
in RSX-11M+ files. Use conditional compilation so the RT-11 version can
be restored.
2015-05-19 00:56:40 +02:00
Toby Thain
7ab53debb8 Fix some warnings under clang. 2015-02-01 22:11:54 -05:00
Sergey Svishchev
6a2afc3fa7 Import J Hoppe's 20090427 release from http://retrocmp.com/tools/macro-11-on-windows 2013-02-15 23:50:38 +04:00
Sergey Svishchev
3b8e141917 Initial import of 2001 code from http://www.dbit.com/pub/linux/macro11/ 2013-02-15 23:44:59 +04:00