SourceForge.net Logo

[Release b]
<t4m_bug_switchjump>
jue feb  2 09:49:31 WET 2006

In source file src/installers/80x86/minix/assembler.c, in function
out_switch_jump, the "jmp" instruction lacks the segment override prefix
"cseg", since the switch jump table is emitted in the code segment (by the
function out_switch_table). We must change

  outs("jmp ");

for

  outs("cseg jmp ");

This bug causes Memory Faults (Segmentation Faults) in separate I&D
executables, but it does not affect common I&D executables, since for them
CS = DS.