Sync from SUSE:ALP:Source:Standard:1.0 uasm revision 7bdfe7607114f306092172a78a1a952a

This commit is contained in:
Adrian Schröter 2023-06-07 10:06:45 +02:00
commit af51915783
5 changed files with 102 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

View File

@ -0,0 +1,24 @@
Index: UASM-2.56.2/invoke.c
===================================================================
--- UASM-2.56.2.orig/invoke.c
+++ UASM-2.56.2/invoke.c
@@ -1588,6 +1588,7 @@ static int sysv_GetNextVEC(struct proc_i
return(sysV64_regsYMM[info->firstVEC++]);
if (size == 64)
return(sysV64_regsZMM[info->firstVEC++]);
+ return -1;
}
/*
Index: UASM-2.56.2/proc.c
===================================================================
--- UASM-2.56.2.orig/proc.c
+++ UASM-2.56.2/proc.c
@@ -4855,6 +4855,7 @@ static ret_code write_generic_prologue(s
AddLineQueueX("push %r", *regist);
}
}
+ return(NOT_ERROR);
}
/* Write out UASM internal prologue */

5
uasm.changes Normal file
View File

@ -0,0 +1,5 @@
-------------------------------------------------------------------
Tue Nov 29 11:12:24 UTC 2022 - Danilo Spinella <danilo.spinella@suse.com>
- Initial packaging of uasm version 2.56.2

47
uasm.spec Normal file
View File

@ -0,0 +1,47 @@
#
# spec file for package uasm
#
# Copyright (c) 2022 SUSE LLC
#
# 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 https://bugs.opensuse.org/
#
Name: uasm
Version: 2.56.2
Release: 0
Summary: MASM-compatible assembler based on JWasm
License: Watcom-1.0
URL: http://www.terraspace.co.uk/%{name}.html
Source: https://github.com/Terraspace/%{name}/archive/refs/tags/v%{version}.tar.gz
Patch0: fix-error-return-type.patch
BuildRequires: glibc-devel
%description
MASM-compatible assembler based on JWasm
%prep
%autosetup -n UASM-%{version} -p1
%build
%make_build -f gccLinux64.mak CFLAGS="%{optflags}"
%install
mkdir -p %{buildroot}%{_bindir}
install GccUnixR/%{name} -t %{buildroot}%{_bindir}
%files
%doc Readme.txt
%doc History.txt
%license License.txt
%{_bindir}/%{name}
%changelog

BIN
v2.56.2.tar.gz (Stored with Git LFS) Normal file

Binary file not shown.