Home GnuPG

Fix hwdetect assembler clobbers
19b9efd1f47aUnpublished

Unpublished Commit · Learn More

Not On Permanent Ref: This commit is not an ancestor of any permanent ref.

Description

Fix hwdetect assembler clobbers

* src/hwfeatures.c (detect_x86_64_gnuc): Add missing %ebx assembler
clobbers.
(detect_x86_64_gnuc, detect_ia32_gnuc) [ENABLE_PADLOCK_SUPPORT]: Add
missing %ecx assembler clobbers.

detect_x86_64_gnuc() and detect_ia32_gnuc() have missing clobbers in
assembler statements. "%ebx" is missing in x86-64, probably because
copy-paste error (i386 code saves and restores %ebx to/from stack).
"%ecx" is missing from PadLock detection.

[v2]

  • add GNU style changelog
  • Signed-off-by: Jussi Kivilinna <jussi.kivilinna@mbnet.fi>

Details

Provenance
jukiviliAuthored on Nov 16 2012, 9:44 AM
wernerCommitted on Nov 21 2012, 11:50 AM
Parents
rC6368ed542150: Use configure test for aligned attribute.
Branches
Unknown
Tags
Unknown

Event Timeline

Werner Koch <wk@gnupg.org> committed rC19b9efd1f47a: Fix hwdetect assembler clobbers (authored by Jussi Kivilinna <jussi.kivilinna@mbnet.fi>).Nov 21 2012, 11:50 AM