From 6a6a9ee1eb3cd84e994c24424ffee49b0fd69150 Mon Sep 17 00:00:00 2001 From: Olaf Seibert Date: Tue, 19 May 2015 01:00:05 +0200 Subject: [PATCH] Remove two optimizations that RSX Macro-11 apparently does not perform. This is useful for comparing created files with the original assembler. They can be put back later. --- object.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/object.c b/object.c index 4a29bb2..239bd84 100644 --- a/object.c +++ b/object.c @@ -684,8 +684,10 @@ int text_psect_offset_word( { unsigned radtbl[2]; +#if OPTIMIZE_ZERO_OFFSET if (word == 0) return text_psect_word(tr, addr, size, word, name); +#endif if (!text_fit(tr, *addr, size, 8)) return 0; @@ -745,8 +747,10 @@ int text_psect_displaced_offset_word( { unsigned radtbl[2]; +#if OPTIMIZE_ZERO_OFFSET if (word == 0) return text_psect_displaced_word(tr, addr, size, word, name); +#endif if (!text_fit(tr, *addr, size, 8)) return 0;