Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
descrambler: re-add %ebx saving
The %ebx saving is necessary when the compiler is generating position-indepent code. Signed-off-by: Sven Wegener <sven.wegener@stealer.net>
- Loading branch information
4f18ff1There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I am getting this error now when trying to compile
src/descrambler/ffdecsa/ffdecsa_interface.c: In function 'native_cpuid':
src/descrambler/ffdecsa/ffdecsa_interface.c:122:24: error: expected ':' or ')' before 'REG_b'
asm volatile("mov %%"REG_b", %%"REG_S"\n\t"
4f18ff1There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Reverting back to previous version of this file
{
asm volatile("cpuid"
: "=a" (_eax),
"=b" (_ebx),
"=c" (_ecx),
"=d" (_edx)
: "0" (_eax), "2" (_ecx));
}
https://github.com/tvheadend/tvheadend/blob/9a7c9688e71839ceccce28815b597a4858c5ff05/src/descrambler/ffdecsa/ffdecsa_interface.c
fixed compilation error