Logged In: NO

You should see at least one difference with the -T text_64k
option: without that option, there should be a message about
the coderes section being full.

Although the coderes section can be increased in size to 64k,
calls within the text section are still limited to 32k.
The "relocation truncated to fit: DISP16" indicates that a
jump or call within the coderes segment exceeds the 32k
limit.

The problem is crt0.o is located at the beginning of the
segment and references the symbols __do_... which are
located near the end of the segment.

I don't know if it is required that crt0.o be located at the
beginning of the coderes segment, but if not, by relocating
crt0.o to just below 32k into the segment, you may be able
to work around the problem. It may be valueable to produce
a map using the -Map<filename> option and the -noinhibit-
exec option to see what object lies before the 32k limit by
looking at the filename used for the map.

bubbarati@yahoo.com