Re: [AD] dat2s bug

[ Thread Index | Date Index | More lists.liballeg.org/allegro-developers Archives ]


On Wed, 2002-08-07 at 23:25, Eric Botcazou wrote:
..
> 
> Only the tip of the iceberg I think. I tried with the setup program: after
> manually editing setup.s produced by dat2s from setup.dat, I was able to
> link the program. However it consistently segfaults at runtime on the first
> occurence of a DLL symbol in setup.s (namely font_vtable_color).
> 
> Does anyone know what happens ? At this point, my wild guess is that the
> dynamic linker doesn't set the runtime address of a DLL symbol that belongs
> to the .data section.
> 

It shouldn't be a big problem anyway. We could just change dat2s to be a
"dat2c", i assume this would only mean changing a few output strings. Or
alternatively, maybe dat2s/fixup_datafile could be extended with an
option to fill in all DLL symbols at runtime.

--
Elias Pschernig



Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/