mirror of
https://github.com/open-simh/simtools.git
synced 2026-01-14 15:45:23 +00:00
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.
This commit is contained in:
parent
12fdea5b21
commit
6a6a9ee1eb
4
object.c
4
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;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user