- Update to 210

PR:		178158
Submitted by:	Ports Fury
This commit is contained in:
Martin Wilke 2013-04-29 14:20:19 +00:00
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

View file

@ -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

View file

@ -1,2 +1,2 @@
SHA256 (JWasm209s.zip) = 94eaffdb9a6ae5c78340d05f4407518b32e42e6bb924dd9b8308de90eba1d619
SIZE (JWasm209s.zip) = 880165
SHA256 (JWasm210s.zip) = 8d9a5ac95fa07a8e935423f3d1e44127c79d873e380f04d1ce8e1a65ca7daafd
SIZE (JWasm210s.zip) = 939008

View 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 );

View 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 * );

View 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

View 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