aboutsummaryrefslogtreecommitdiff
path: root/gas
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@airs.com>1995-01-21 23:19:17 +0000
committerIan Lance Taylor <ian@airs.com>1995-01-21 23:19:17 +0000
commitb04bc42379167aee61d0ffdaa98737b277f6a35a (patch)
treefce84c2df1b73c9ab6dad8a662542384c6927900 /gas
parent456f6de6ade5c6f052c5164238f2a8c7d8598a65 (diff)
downloadgdb-b04bc42379167aee61d0ffdaa98737b277f6a35a.zip
gdb-b04bc42379167aee61d0ffdaa98737b277f6a35a.tar.gz
gdb-b04bc42379167aee61d0ffdaa98737b277f6a35a.tar.bz2
tipo
Diffstat (limited to 'gas')
-rw-r--r--gas/write.c10
1 files changed, 7 insertions, 3 deletions
diff --git a/gas/write.c b/gas/write.c
index 92a9e08..efc363b 100644
--- a/gas/write.c
+++ b/gas/write.c
@@ -146,7 +146,7 @@ fix_new_internal (frag, where, size, add_symbol, sub_symbol, offset, pcrel,
fixP->fx_tcbit = 0;
fixP->fx_done = 0;
-#if defined (TC_I960) || defined (TC_NS32k)
+#if defined (TC_I960) || defined (TC_NS32K)
fixP->fx_bsr = 0;
#endif
@@ -340,7 +340,10 @@ chain_frchains_together_1 (section, frchp)
struct frchain *frchp;
{
fragS dummy, *prev_frag = &dummy;
- fixS fix_dummy, *prev_fix = &fix_dummy;
+ fixS fix_dummy;
+#ifdef BFD_ASSEMBLER
+ fixS *prev_fix = &fix_dummy;
+#endif
for (; frchp && frchp->frch_seg == section; frchp = frchp->frch_next)
{
@@ -942,7 +945,7 @@ write_contents (abfd, sec, xxx)
* often as necessary. This saves on the overhead of potentially
* lots of bfd_set_section_contents calls.
*/
- int n_per_buf, bytes, i;
+ int n_per_buf, i;
if (fill_size == 1)
{
n_per_buf = sizeof (buf);
@@ -2416,6 +2419,7 @@ number_to_chars_littleendian (buf, val, n)
/* for debugging */
extern int indent_level;
+extern void print_symbol_value_1 ();
void
print_fixup (fixp)