Sync from SUSE:SLFO:Main libx86emu revision 350ecba2330d17aa3b2bbd38c02f06e6

This commit is contained in:
Adrian Schröter 2024-05-03 16:08:46 +02:00
commit ae58e3f4ed
4 changed files with 356 additions and 0 deletions

23
.gitattributes vendored Normal file
View File

@ -0,0 +1,23 @@
## Default LFS
*.7z filter=lfs diff=lfs merge=lfs -text
*.bsp filter=lfs diff=lfs merge=lfs -text
*.bz2 filter=lfs diff=lfs merge=lfs -text
*.gem filter=lfs diff=lfs merge=lfs -text
*.gz filter=lfs diff=lfs merge=lfs -text
*.jar filter=lfs diff=lfs merge=lfs -text
*.lz filter=lfs diff=lfs merge=lfs -text
*.lzma filter=lfs diff=lfs merge=lfs -text
*.obscpio filter=lfs diff=lfs merge=lfs -text
*.oxt filter=lfs diff=lfs merge=lfs -text
*.pdf filter=lfs diff=lfs merge=lfs -text
*.png filter=lfs diff=lfs merge=lfs -text
*.rpm filter=lfs diff=lfs merge=lfs -text
*.tbz filter=lfs diff=lfs merge=lfs -text
*.tbz2 filter=lfs diff=lfs merge=lfs -text
*.tgz filter=lfs diff=lfs merge=lfs -text
*.ttf filter=lfs diff=lfs merge=lfs -text
*.txz filter=lfs diff=lfs merge=lfs -text
*.whl filter=lfs diff=lfs merge=lfs -text
*.xz filter=lfs diff=lfs merge=lfs -text
*.zip filter=lfs diff=lfs merge=lfs -text
*.zst filter=lfs diff=lfs merge=lfs -text

BIN
libx86emu-3.5.tar.xz (Stored with Git LFS) Normal file

Binary file not shown.

247
libx86emu.changes Normal file
View File

@ -0,0 +1,247 @@
--------------------------------------------------------------------
Thu Nov 18 17:14:15 UTC 2021 - wfeldt@opensuse.org
- merge gh#wfeldt/libx86emu#40
- decode extended nop instructions
- 3.5
--------------------------------------------------------------------
Wed Oct 20 12:13:20 UTC 2021 - wfeldt@opensuse.org
- merge gh#wfeldt/libx86emu#39
- fix test suite for 32-bit architectures
- 3.4
--------------------------------------------------------------------
Fri Oct 1 13:16:19 UTC 2021 - wfeldt@opensuse.org
- merge gh#wfeldt/libx86emu#34
- Migrate CI to GitHub Actions
- 3.3
--------------------------------------------------------------------
Wed Aug 18 16:30:18 UTC 2021 - wfeldt@opensuse.org
- merge gh#wfeldt/libx86emu#35
- Fix x86test on musl
- 3.2
--------------------------------------------------------------------
Tue Jan 28 14:19:00 UTC 2020 - wfeldt@opensuse.org
- merge gh#wfeldt/libx86emu#28
- update README to explain about library versions
- adjust code to compile with older C standards
- 3.1
--------------------------------------------------------------------
Mon Jan 27 17:38:19 UTC 2020 - wfeldt@opensuse.org
- merge gh#wfeldt/libx86emu#27
- rework (i)div and (i)mul instructions
- fix typo
- add (i)div opcode tests
- rework (i)mul instructions to set flags correctly
- add (i)mul tests
- 3.0
--------------------------------------------------------------------
Fri Jan 17 12:32:27 UTC 2020 - wfeldt@opensuse.org
- merge gh#wfeldt/libx86emu#17
- Introduce LDFLAGS variable in Makefiles
- test: Link with the development version of the library
- test: Sort tests by name
- Add Travis CI configuration file and a badge in the README
- Travis CI integration
- 2.6
--------------------------------------------------------------------
Fri Jan 17 12:28:09 UTC 2020 - wfeldt@opensuse.org
- merge gh#wfeldt/libx86emu#22
- decode: Prepare for SSE support
- ops2: Add SSE instructions
- ops2: Add packed SSE ops
- Minimal SSE support
--------------------------------------------------------------------
Fri Jan 17 12:26:51 UTC 2020 - wfeldt@opensuse.org
- merge gh#wfeldt/libx86emu#21
- prim_ops: Fix compiler warning
--------------------------------------------------------------------
Fri Jan 17 12:24:59 UTC 2020 - wfeldt@opensuse.org
- merge gh#wfeldt/libx86emu#24
- ops2: Add cpuid support using a new handler
- ops2: Introduce a callback function for MSR access
- Push cpuid msr callback
--------------------------------------------------------------------
Thu Jan 16 15:45:23 UTC 2020 - wfeldt@opensuse.org
- merge gh#wfeldt/libx86emu#26
- add '--32' option to demo program to start in 32-bit mode
- 2.5
--------------------------------------------------------------------
Tue Aug 20 14:23:47 UTC 2019 - wfeldt@opensuse.org
- merge gh#wfeldt/libx86emu#19
- decode: Fix compiler warning
- 2.4
--------------------------------------------------------------------
Wed Apr 24 06:37:42 UTC 2019 - snwint@suse.de
- merge gh#wfeldt/libx86emu#15
- include: Fix GCC strict-prototypes warning
- include: Fix 'multiple definition of' linker errors
- Small fixes
- 2.3
--------------------------------------------------------------------
Thu Mar 21 11:45:15 UTC 2019 - snwint@suse.de
- merge gh#wfeldt/libx86emu#14
- ops2: Add support for conditional move
- ops2: Implement bswap
- Add additional ops2 instructions
- 2.2
-------------------------------------------------------------------
Mon Jan 14 16:00:52 CET 2019 - kukuk@suse.de
- Use %license instead of %doc [bsc#1082318]
--------------------------------------------------------------------
Thu Aug 30 13:31:45 UTC 2018 - snwint@suse.de
- merge gh#wfeldt/libx86emu#13
- Fix README.md header typos
- 2.1
-------------------------------------------------------------------
Thu Jul 26 10:54:27 UTC 2018 - jengelh@inai.de
- Fix RPM groups. Trim bias from descriptions.
--------------------------------------------------------------------
Wed Jul 25 08:42:44 UTC 2018 - wfeldt@opensuse.org
- merge gh#wfeldt/libx86emu#12
- fstirlitz: make libx86emu re-entrant
- 2.0
--------------------------------------------------------------------
Fri Apr 27 12:22:24 UTC 2018 - wfeldt@opensuse.org
- merge gh#wfeldt/libx86emu#11
- enhance documentation
- update git2log script
- add better description
- 1.14
--------------------------------------------------------------------
Fri Apr 27 11:49:32 UTC 2018 - wfeldt@opensuse.org
- merge gh#wfeldt/libx86emu#7
- add a small demo program
- 1.13
--------------------------------------------------------------------
Tue Sep 12 11:49:46 UTC 2017 - wfeldt@opensuse.org
- merge gh#wfeldt/libx86emu#9
- add proper LICENSE file (containing the actual license) and add
it consistently to all source files
- 1.12
-------------------------------------------------------------------
Wed Jun 22 12:18:16 UTC 2016 - snwint@suse.com
- Add tests for retn/retf instructions
- Small compatibility fixes for msvc compiler
- 1.11
-------------------------------------------------------------------
Tue Apr 5 15:36:24 UTC 2016 - snwint@suse.com
- add tests for rol/ror instructions
- rewrite rol/ror implementation to be more readable and to fix overflow flag setting
- 1.10
-------------------------------------------------------------------
Tue Apr 5 15:33:12 UTC 2016 - snwint@suse.com
- build on more archs
- 1.9
-------------------------------------------------------------------
Tue Apr 5 15:23:16 UTC 2016 - snwint@suse.com
- Fixed some small bugs
- Fixed "RET imm" instructions
- 1.8
-------------------------------------------------------------------
Wed Mar 16 15:57:17 CET 2016 - snwint@suse.com
- build on more archs
- 1.7
-------------------------------------------------------------------
Tue Oct 13 09:18:23 UTC 2015 - snwint@suse.com
- Add what's libx86emu useful for
- Add documentation about how the project is sent to the distribution
- Convert README to Markdown
- 1.6
-------------------------------------------------------------------
Mon Mar 2 11:46:08 CET 2015 - snwint@suse.com
- avoid using reserved c++ words
- fix typo in Makefile
- fix some compiler warnings
- prepare for obs auto-submission
- add VERSION file back
- 1.5
-------------------------------------------------------------------
Mon Jan 31 14:47:04 CET 2011 - snwint@suse.de
- better invalid code detection
- fix instruction log for some instructions
-------------------------------------------------------------------
Thu Sep 23 18:07:14 CEST 2010 - snwint@suse.de
- create VERSION and changelog from git repo
- log message
- don't use 'i386'
- properly decode all descriptor types
-------------------------------------------------------------------
Wed Jun 10 10:20:17 CEST 2009 - snwint@suse.de
- avoid that error in future
-------------------------------------------------------------------
Tue Jun 9 20:44:08 CEST 2009 - coolo@novell.com
- fix typo
-------------------------------------------------------------------
Tue Jun 9 17:26:49 CEST 2009 - snwint@suse.de
- export only API functions in shared lib
-------------------------------------------------------------------
Wed Apr 8 12:46:50 CEST 2009 - snwint@suse.de
- upgraded to version 1.0
- align to package conventions

83
libx86emu.spec Normal file
View File

@ -0,0 +1,83 @@
#
# spec file for package libx86emu
#
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2008 Steffen Winterfeldt
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
Name: libx86emu
BuildRequires: xz
Summary: An x86 emulation library
License: BSD-3-Clause
Group: Development/Libraries/C and C++
Version: 3.5
Release: 0
Source: %{name}-%{version}.tar.xz
Url: https://github.com/wfeldt/libx86emu
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
An x86 emulation library with focus on usage and
execution logging functions.
%package -n libx86emu3
Summary: An x86 emulation library
Group: System/Libraries
%description -n libx86emu3
An x86 emulation library with focus on usage and
execution logging functions.
%package -n libx86emu-devel
Summary: Development files for libx86emu
Group: Development/Libraries/C and C++
Requires: libx86emu3 = %version
%description -n libx86emu-devel
An x86 emulation library with focus on usage and
execution logging functions.
This package contains the header files for the library API.
%prep
%setup -n libx86emu-%{version}
%build
make LIBDIR=%{_libdir}
%install
install -d -m 755 %{buildroot}%{_libdir}
%make_install LIBDIR=%{_libdir}
%post -n libx86emu3 -p /sbin/ldconfig
%postun -n libx86emu3 -p /sbin/ldconfig
%files -n libx86emu3
%defattr(-,root,root)
%{_libdir}/*.so.*
%doc README.md
%if %suse_version >= 1500
%license LICENSE*
%else
%doc LICENSE*
%endif
%files -n libx86emu-devel
%defattr(-,root,root)
%{_libdir}/*.so
%{_includedir}/x86emu.h
%changelog