mirror of
https://github.com/netwide-assembler/nasm.git
synced 2025-07-24 10:25:42 -04:00
Merge remote-tracking branch 'github/nasm-2.15.xx'
This commit is contained in:
commit
1939b69fdf
@ -409,7 +409,7 @@ MKDEP=0
|
|||||||
#-- Magic hints to mkdep.pl --#
|
#-- Magic hints to mkdep.pl --#
|
||||||
# @object-ending: ".$(O)"
|
# @object-ending: ".$(O)"
|
||||||
# @path-separator: "\"
|
# @path-separator: "\"
|
||||||
# @exclude: "config\config.h"
|
# @exclude: "config/config.h"
|
||||||
# @external: "msvc.dep"
|
# @external: "msvc.dep"
|
||||||
# @selfrule: "1"
|
# @selfrule: "1"
|
||||||
#-- Everything below is generated by mkdep.pl - do not edit --#
|
#-- Everything below is generated by mkdep.pl - do not edit --#
|
||||||
|
@ -13,7 +13,5 @@ This means its development is open to even wider society of programmers
|
|||||||
wishing to improve their lovely assembler.
|
wishing to improve their lovely assembler.
|
||||||
|
|
||||||
Visit our [nasm.us](https://www.nasm.us/) website for more details.
|
Visit our [nasm.us](https://www.nasm.us/) website for more details.
|
||||||
We are gradually moving services away from Sourceforge. For our remaining
|
|
||||||
Sourceforge services see [here](https://sourceforge.net/projects/nasm/).
|
|
||||||
|
|
||||||
With best regards, the NASM crew.
|
With best regards, the NASM crew.
|
||||||
|
@ -234,7 +234,7 @@ static bool parse_braces(decoflags_t *decoflags)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
static inline unused
|
static inline unused_func
|
||||||
const expr *next_expr(const expr *e, const expr **next_list)
|
const expr *next_expr(const expr *e, const expr **next_list)
|
||||||
{
|
{
|
||||||
e++;
|
e++;
|
||||||
|
@ -345,7 +345,7 @@ static inline bool tok_text_match(const struct Token *a, const struct Token *b)
|
|||||||
return a->len == b->len && !memcmp(tok_text(a), tok_text(b), a->len);
|
return a->len == b->len && !memcmp(tok_text(a), tok_text(b), a->len);
|
||||||
}
|
}
|
||||||
|
|
||||||
static inline unused bool
|
static inline unused_func bool
|
||||||
tok_match(const struct Token *a, const struct Token *b)
|
tok_match(const struct Token *a, const struct Token *b)
|
||||||
{
|
{
|
||||||
return a->type == b->type && tok_text_match(a, b);
|
return a->type == b->type && tok_text_match(a, b);
|
||||||
@ -764,7 +764,7 @@ static const char *unquote_token_cstr(Token *t)
|
|||||||
* TOK_STRING tokens.
|
* TOK_STRING tokens.
|
||||||
*/
|
*/
|
||||||
static Token *quote_any_token(Token *t);
|
static Token *quote_any_token(Token *t);
|
||||||
static inline unused
|
static inline unused_func
|
||||||
Token *quote_token(Token *t)
|
Token *quote_token(Token *t)
|
||||||
{
|
{
|
||||||
if (likely(!tok_is(t, TOK_INTERNAL_STRING)))
|
if (likely(!tok_is(t, TOK_INTERNAL_STRING)))
|
||||||
|
@ -13,6 +13,8 @@ since 2007.
|
|||||||
|
|
||||||
\b Add \c{db-empty} warning class, see \k{opt-w}.
|
\b Add \c{db-empty} warning class, see \k{opt-w}.
|
||||||
|
|
||||||
|
\b Fix the dependencies in the MSVC NMAKE makefile (\c{Mkfiles/msvc.mak}).
|
||||||
|
|
||||||
\b Some documentation improvements and cleanups.
|
\b Some documentation improvements and cleanups.
|
||||||
|
|
||||||
\b Fix the handling of macro parameter ranges (\c{%\{:\}}), including
|
\b Fix the handling of macro parameter ranges (\c{%\{:\}}), including
|
||||||
|
@ -310,27 +310,6 @@ static inline void *mempcpy(void *dst, const void *src, size_t n)
|
|||||||
#define printf_func(fmt, list) format_func3(printf,fmt,list)
|
#define printf_func(fmt, list) format_func3(printf,fmt,list)
|
||||||
#define printf_func_ptr(fmt, list) format_func3_ptr(printf,fmt,list)
|
#define printf_func_ptr(fmt, list) format_func3_ptr(printf,fmt,list)
|
||||||
|
|
||||||
/*
|
|
||||||
* A static [inline] function which either is currently unused but
|
|
||||||
* likely to be used in the future, or used only under some #if
|
|
||||||
* combinations. Mark with this option to suppress compiler
|
|
||||||
* warnings.
|
|
||||||
*
|
|
||||||
* This is better than #if(def) because it still lets the compiler
|
|
||||||
* analyze the function for validity, and it works even for the
|
|
||||||
* conditional use case.
|
|
||||||
*
|
|
||||||
* The macro UNUSED is set to 1 if the unused macro is meaningful,
|
|
||||||
* otherwise 0; this may be useful in some #if statements.
|
|
||||||
*/
|
|
||||||
#ifdef HAVE_FUNC_ATTRIBUTE_UNUSED
|
|
||||||
# define unused __attribute__((unused))
|
|
||||||
# define UNUSED 1
|
|
||||||
#else
|
|
||||||
# define unused
|
|
||||||
# define UNUSED 0
|
|
||||||
#endif
|
|
||||||
|
|
||||||
/* Determine probabilistically if something is a compile-time constant */
|
/* Determine probabilistically if something is a compile-time constant */
|
||||||
#ifdef HAVE___BUILTIN_CONSTANT_P
|
#ifdef HAVE___BUILTIN_CONSTANT_P
|
||||||
# if defined(__GNUC__) && (__GNUC__ >= 5)
|
# if defined(__GNUC__) && (__GNUC__ >= 5)
|
||||||
|
@ -77,7 +77,7 @@ static inline size_t strlist_size(const struct strlist *list)
|
|||||||
return list ? list->size : 0;
|
return list ? list->size : 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
struct strlist safe_alloc *strlist_alloc(bool uniq);
|
struct strlist * safe_alloc strlist_alloc(bool uniq);
|
||||||
const struct strlist_entry *strlist_add(struct strlist *list, const char *str);
|
const struct strlist_entry *strlist_add(struct strlist *list, const char *str);
|
||||||
const struct strlist_entry * printf_func(2, 3)
|
const struct strlist_entry * printf_func(2, 3)
|
||||||
strlist_printf(struct strlist *list, const char *fmt, ...);
|
strlist_printf(struct strlist *list, const char *fmt, ...);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user