On 9-ago-10, at 22:34, Walter Bright wrote:
Fawzi Mohamed wrote:
ok good, I just know that gdc (actually the underlying asm backend)
did not allow any change to the EBX, which I found surprising,
becuase if one doesn't perform any call or access globals I though
safe to clobber the global offset table...
As gcc/gdc did not allow it I wondered if there were hidden
pitfalls into it...
I believe the older gcc did require EBX to be dedicated to being the
base register, but sometime in the last 10 years it was fixed.
ok, then I am basing my knowledge on very old behaviour... I was
afraid that signals might need the GOT from that register at any time...
By the way excluding the bug with the cast of the enum the compiler
seems to work well...
_______________________________________________
dmd-beta mailing list
[email protected]
http://lists.puremagic.com/mailman/listinfo/dmd-beta