aboutsummaryrefslogtreecommitdiff
path: root/gas/config
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2005-07-27 14:08:08 +0000
committerH.J. Lu <hjl.tools@gmail.com>2005-07-27 14:08:08 +0000
commit17d4e2a2a84235bd39a6d0405e38a4969d12bfa6 (patch)
treeaee5bbb5eb4170926fe02e15aeb79b1d57ff0cd5 /gas/config
parent2f5028a7c8f6a9c9fb2d32a6962774b6fc87eb21 (diff)
downloadgdb-17d4e2a2a84235bd39a6d0405e38a4969d12bfa6.zip
gdb-17d4e2a2a84235bd39a6d0405e38a4969d12bfa6.tar.gz
gdb-17d4e2a2a84235bd39a6d0405e38a4969d12bfa6.tar.bz2
2007-07-27 H.J. Lu <hongjiu.lu@intel.com>
* config/tc-i386.c (handle_large_common): Declare only for ELF.
Diffstat (limited to 'gas/config')
-rw-r--r--gas/config/tc-i386.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/gas/config/tc-i386.c b/gas/config/tc-i386.c
index 139e403..9482311 100644
--- a/gas/config/tc-i386.c
+++ b/gas/config/tc-i386.c
@@ -111,6 +111,9 @@ static void output_disp PARAMS ((fragS *insn_start_frag,
#ifndef I386COFF
static void s_bss PARAMS ((int));
#endif
+#if defined (OBJ_ELF) || defined (OBJ_MAYBE_ELF)
+static void handle_large_common (int small ATTRIBUTE_UNUSED);
+#endif
static const char *default_arch = DEFAULT_ARCH;
@@ -305,7 +308,6 @@ static int allow_naked_reg = 0;
leave, push, and pop instructions so that gcc has the same stack
frame as in 32 bit mode. */
static char stackop_size = '\0';
-static void handle_large_common (int small ATTRIBUTE_UNUSED);
/* Non-zero to optimize code alignment. */
int optimize_align_code = 1;