- Update to 210
PR: 178158 Submitted by: Ports Fury
This commit is contained in:
parent
93f7714e2b
commit
393a30af07
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=316818
6 changed files with 61 additions and 3 deletions
|
@ -2,7 +2,7 @@
|
|||
# $FreeBSD$
|
||||
|
||||
PORTNAME= jwasm
|
||||
PORTVERSION= 209
|
||||
PORTVERSION= 210
|
||||
CATEGORIES= devel
|
||||
MASTER_SITES= http://www.japheth.de/Download/JWasm/
|
||||
DISTNAME= JWasm${PORTVERSION}s
|
||||
|
|
|
@ -1,2 +1,2 @@
|
|||
SHA256 (JWasm209s.zip) = 94eaffdb9a6ae5c78340d05f4407518b32e42e6bb924dd9b8308de90eba1d619
|
||||
SIZE (JWasm209s.zip) = 880165
|
||||
SHA256 (JWasm210s.zip) = 8d9a5ac95fa07a8e935423f3d1e44127c79d873e380f04d1ce8e1a65ca7daafd
|
||||
SIZE (JWasm210s.zip) = 939008
|
||||
|
|
10
devel/jwasm/files/patch-H__expreval.h
Normal file
10
devel/jwasm/files/patch-H__expreval.h
Normal file
|
@ -0,0 +1,10 @@
|
|||
--- H/expreval.h.orig
|
||||
+++ H/expreval.h
|
||||
@@ -130,6 +130,7 @@
|
||||
EXPF_IN_SQBR = 8 /* private flag, used inside expreval.c only */
|
||||
};
|
||||
|
||||
+extern void EmitConstError( const struct expr * );
|
||||
extern ret_code EvalOperand( int *, struct asm_tok[], int, struct expr *, uint_8 );
|
||||
extern void ExprEvalInit( void );
|
||||
|
10
devel/jwasm/files/patch-H__parser.h
Normal file
10
devel/jwasm/files/patch-H__parser.h
Normal file
|
@ -0,0 +1,10 @@
|
|||
--- H/parser.h.orig
|
||||
+++ H/parser.h
|
||||
@@ -302,7 +302,6 @@
|
||||
extern ret_code MemtypeFromSize( int, enum memtype * );
|
||||
extern int SizeFromRegister( int );
|
||||
extern ret_code GetLangType( int *, struct asm_tok[], enum lang_type * );
|
||||
-extern void EmitConstError( const struct expr * );
|
||||
|
||||
extern void sym_add_table( struct symbol_queue *, struct dsym * );
|
||||
extern void sym_remove_table( struct symbol_queue *, struct dsym * );
|
19
devel/jwasm/files/patch-exprval.c
Normal file
19
devel/jwasm/files/patch-exprval.c
Normal file
|
@ -0,0 +1,19 @@
|
|||
--- expreval.c.orig
|
||||
+++ expreval.c
|
||||
@@ -79,6 +79,16 @@
|
||||
LS_FAR32 = 0xFF06,
|
||||
};
|
||||
|
||||
+void EmitConstError( const struct expr *opnd )
|
||||
+/********************************************/
|
||||
+{
|
||||
+ if ( opnd->hlvalue != 0 )
|
||||
+ EmitErr( CONSTANT_VALUE_TOO_LARGE_EX, opnd->hlvalue, opnd->value64 );
|
||||
+ else
|
||||
+ EmitErr( CONSTANT_VALUE_TOO_LARGE, opnd->value64 );
|
||||
+ return;
|
||||
+}
|
||||
+
|
||||
static const uint_16 tbaseptr[] = { T_BP, T_EBP
|
||||
#if AMD64_SUPPORT
|
||||
, T_RBP
|
19
devel/jwasm/files/patch-parser.c
Normal file
19
devel/jwasm/files/patch-parser.c
Normal file
|
@ -0,0 +1,19 @@
|
|||
--- parser.c.orig
|
||||
+++ parser.c
|
||||
@@ -787,16 +787,6 @@
|
||||
return( NOT_ERROR );
|
||||
}
|
||||
|
||||
-void EmitConstError( const struct expr *opnd )
|
||||
-/********************************************/
|
||||
-{
|
||||
- if ( opnd->hlvalue != 0 )
|
||||
- EmitErr( CONSTANT_VALUE_TOO_LARGE_EX, opnd->hlvalue, opnd->value64 );
|
||||
- else
|
||||
- EmitErr( CONSTANT_VALUE_TOO_LARGE, opnd->value64 );
|
||||
- return;
|
||||
-}
|
||||
-
|
||||
/* get an immediate operand without a fixup.
|
||||
* output:
|
||||
* - ERROR: error
|
Loading…
Reference in a new issue