summaryrefslogtreecommitdiff
path: root/sys/arch/mac68k
diff options
context:
space:
mode:
authorMarc Espie <espie@cvs.openbsd.org>1999-01-31 14:56:02 +0000
committerMarc Espie <espie@cvs.openbsd.org>1999-01-31 14:56:02 +0000
commitc2ae597a496a66466fb1cd1fb02d5d450e3b06a8 (patch)
tree8da2c08f5a970c698efdcaa487d13cea5bc07a05 /sys/arch/mac68k
parentfd89b8127a42f7f1e8364d5b93d3f95a23fe1f59 (diff)
Fix clobbers so that GENERIC may compile with egcs.
Historically, the documentation of extended asm was lacking, namely you should NOT specify the same register as an input, and a clobber. If the register is clobbered, it should be specified as an output as well, e.g., by linking input and output through the "number" notation. (Beware of lvalues, some local variables needed...) In older versions, up-to egcs1.1.1, the compiler did not even warn about it, but it was liable to output bad code. Newer egcs are pickier and simply refuse to swallow such code.
Diffstat (limited to 'sys/arch/mac68k')
0 files changed, 0 insertions, 0 deletions