emul-handler: place the second tag into .text.romtag section
commitef10fdb9647e49e6bf69bd00c24cf5f944692d1a
authordeadwood <deadwood@fb15a70f-31f2-0310-bbcc-cdcc74a49acc>
Sat, 3 Dec 2016 20:09:33 +0000 (3 20:09 +0000)
committerdeadwood <deadwood@fb15a70f-31f2-0310-bbcc-cdcc74a49acc>
Sat, 3 Dec 2016 20:09:33 +0000 (3 20:09 +0000)
treefc3df9514bf032e573c1b8b366f79e5edc489387
parent94ca23ebe3a2bc07e6f574b35dd509d646da8c1a
emul-handler: place the second tag into .text.romtag section

The rt_EndSkip field of the auto generated tag for emul-handler is set
to address of this second, manual tag. The ROMTag scanner has code that
uses the rt_EndSkip to move to next possible address where to look for
tag. If the second tag is in different section, ROMTag scanner skips over
other resident objects.

This was visible with mingw32-i386 port where emul-handler was in
kickstart image. Certain other modules of that image were not detected
and not loaded.

git-svn-id: https://svn.aros.org/svn/aros/trunk/AROS@53072 fb15a70f-31f2-0310-bbcc-cdcc74a49acc
arch/all-hosted/filesys/emul_handler/boot.c