summaryrefslogtreecommitdiffstats
path: root/lib/libc
diff options
context:
space:
mode:
authorespie <espie@openbsd.org>1999-01-31 14:56:01 +0000
committerespie <espie@openbsd.org>1999-01-31 14:56:01 +0000
commite623a594df4980376ee4123bc96bafacb446d30d (patch)
tree7719a4841325c4d5019ea46577352a6d44842e26 /lib/libc
parentMention the error when we fail to connect(). (diff)
downloadwireguard-openbsd-e623a594df4980376ee4123bc96bafacb446d30d.tar.xz
wireguard-openbsd-e623a594df4980376ee4123bc96bafacb446d30d.zip
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 'lib/libc')
0 files changed, 0 insertions, 0 deletions