mbox series

[kvm-unit-tests,0/7] Add support for generic ELF cross-compiler

Message ID 20200810130618.16066-1-r.bolshakov@yadro.com (mailing list archive)
Headers show
Series Add support for generic ELF cross-compiler | expand

Message

Roman Bolshakov Aug. 10, 2020, 1:06 p.m. UTC
The series introduces a way to build the tests with generic i686-pc-elf
and x86_64-pc-elf GCC target. It also fixes build on macOS and
introduces a way to specify enhanced getopt. Build instructions for macOS
have been updated to reflect the changes.

Roman Bolshakov (7):
  x86: Makefile: Allow division on x86_64-elf binutils
  x86: Replace instruction prefixes with spaces
  x86: Makefile: Fix linkage of realmode on x86_64-elf binutils
  lib: Bundle debugreg.h from the kernel
  lib: x86: Use portable format macros for uint32_t
  configure: Add an option to specify getopt
  README: Update build instructions for macOS

 README.macOS.md        | 71 +++++++++++++++++++++++++-----------
 configure              | 13 +++++++
 lib/pci.c              |  2 +-
 lib/x86/asm/debugreg.h | 81 ++++++++++++++++++++++++++++++++++++++++++
 run_tests.sh           |  2 +-
 x86/Makefile           |  2 ++
 x86/Makefile.common    |  3 +-
 x86/asyncpf.c          |  2 +-
 x86/cstart.S           |  4 +--
 x86/cstart64.S         |  4 +--
 x86/emulator.c         | 38 ++++++++++----------
 x86/msr.c              |  3 +-
 x86/s3.c               |  2 +-
 13 files changed, 178 insertions(+), 49 deletions(-)
 create mode 100644 lib/x86/asm/debugreg.h

Comments

Roman Bolshakov Aug. 26, 2020, 4:52 p.m. UTC | #1
On Mon, Aug 10, 2020 at 04:06:11PM +0300, Roman Bolshakov wrote:
> The series introduces a way to build the tests with generic i686-pc-elf
> and x86_64-pc-elf GCC target. It also fixes build on macOS and
> introduces a way to specify enhanced getopt. Build instructions for macOS
> have been updated to reflect the changes.
> 
> Roman Bolshakov (7):
>   x86: Makefile: Allow division on x86_64-elf binutils
>   x86: Replace instruction prefixes with spaces
>   x86: Makefile: Fix linkage of realmode on x86_64-elf binutils
>   lib: Bundle debugreg.h from the kernel
>   lib: x86: Use portable format macros for uint32_t
>   configure: Add an option to specify getopt
>   README: Update build instructions for macOS
> 
>  README.macOS.md        | 71 +++++++++++++++++++++++++-----------
>  configure              | 13 +++++++
>  lib/pci.c              |  2 +-
>  lib/x86/asm/debugreg.h | 81 ++++++++++++++++++++++++++++++++++++++++++
>  run_tests.sh           |  2 +-
>  x86/Makefile           |  2 ++
>  x86/Makefile.common    |  3 +-
>  x86/asyncpf.c          |  2 +-
>  x86/cstart.S           |  4 +--
>  x86/cstart64.S         |  4 +--
>  x86/emulator.c         | 38 ++++++++++----------
>  x86/msr.c              |  3 +-
>  x86/s3.c               |  2 +-
>  13 files changed, 178 insertions(+), 49 deletions(-)
>  create mode 100644 lib/x86/asm/debugreg.h
> 
> -- 
> 2.26.1
> 

Hi Paolo,

could you please take a look?

Best Regards,
Roman