mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-24 20:28:28 +08:00
* config/tc-i386.c (x86_cons): Define even for non-ELF targets.
* config/tc-i386.h (x86_cons): Always prototype.
This commit is contained in:
@ -1,5 +1,8 @@
|
|||||||
2011-04-11 Nick Clifton <nickc@redhat.com>
|
2011-04-11 Nick Clifton <nickc@redhat.com>
|
||||||
|
|
||||||
|
* config/tc-i386.c (x86_cons): Define even for non-ELF targets.
|
||||||
|
* config/tc-i386.h (x86_cons): Always prototype.
|
||||||
|
|
||||||
* config/tc-cr16.c (getprocregp_image): Fix type of 'r' parameter
|
* config/tc-cr16.c (getprocregp_image): Fix type of 'r' parameter
|
||||||
in order to avoid a compile time warning.
|
in order to avoid a compile time warning.
|
||||||
(getprocreg_image): Likewise.
|
(getprocreg_image): Likewise.
|
||||||
|
@ -6559,6 +6559,7 @@ lex_got (enum bfd_reloc_code_real *rel,
|
|||||||
/* Might be a symbol version string. Don't as_bad here. */
|
/* Might be a symbol version string. Don't as_bad here. */
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
void
|
void
|
||||||
x86_cons (expressionS *exp, int size)
|
x86_cons (expressionS *exp, int size)
|
||||||
@ -6610,7 +6611,6 @@ x86_cons (expressionS *exp, int size)
|
|||||||
if (intel_syntax)
|
if (intel_syntax)
|
||||||
i386_intel_simplify (exp);
|
i386_intel_simplify (exp);
|
||||||
}
|
}
|
||||||
#endif
|
|
||||||
|
|
||||||
static void
|
static void
|
||||||
signed_cons (int size)
|
signed_cons (int size)
|
||||||
|
@ -125,8 +125,8 @@ extern const char *i386_comment_chars;
|
|||||||
|
|
||||||
#if (defined (OBJ_ELF) || defined (OBJ_MAYBE_ELF)) && !defined (LEX_AT)
|
#if (defined (OBJ_ELF) || defined (OBJ_MAYBE_ELF)) && !defined (LEX_AT)
|
||||||
#define TC_PARSE_CONS_EXPRESSION(EXP, NBYTES) x86_cons (EXP, NBYTES)
|
#define TC_PARSE_CONS_EXPRESSION(EXP, NBYTES) x86_cons (EXP, NBYTES)
|
||||||
extern void x86_cons (expressionS *, int);
|
|
||||||
#endif
|
#endif
|
||||||
|
extern void x86_cons (expressionS *, int);
|
||||||
|
|
||||||
#define TC_CONS_FIX_NEW(FRAG,OFF,LEN,EXP) x86_cons_fix_new(FRAG, OFF, LEN, EXP)
|
#define TC_CONS_FIX_NEW(FRAG,OFF,LEN,EXP) x86_cons_fix_new(FRAG, OFF, LEN, EXP)
|
||||||
extern void x86_cons_fix_new
|
extern void x86_cons_fix_new
|
||||||
|
@ -9,6 +9,10 @@ proc gas_64_check { } {
|
|||||||
return [regexp "targets:.*x86-64" [lindex $status 1]];
|
return [regexp "targets:.*x86-64" [lindex $status 1]];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if [istarget "x86_64-*-solaris*"] then {
|
||||||
|
return
|
||||||
|
}
|
||||||
|
|
||||||
if [expr ([istarget "i*86-*-*"] || [istarget "x86_64-*-*"]) && [gas_64_check] && [is_elf_format]] then {
|
if [expr ([istarget "i*86-*-*"] || [istarget "x86_64-*-*"]) && [gas_64_check] && [is_elf_format]] then {
|
||||||
|
|
||||||
global ASFLAGS
|
global ASFLAGS
|
||||||
|
@ -205,6 +205,7 @@ if [istarget sh*-*-elf] then {
|
|||||||
close $outfile
|
close $outfile
|
||||||
}
|
}
|
||||||
|
|
||||||
|
return
|
||||||
|
|
||||||
#########################################################################
|
#########################################################################
|
||||||
# Generate one sh*.s file for each architecture defined in sh-opc.h
|
# Generate one sh*.s file for each architecture defined in sh-opc.h
|
||||||
|
Reference in New Issue
Block a user