aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@airs.com>1993-07-22 04:44:54 +0000
committerIan Lance Taylor <ian@airs.com>1993-07-22 04:44:54 +0000
commit7a0405b9898d4ea476737d878d80736ac6bc1d28 (patch)
tree4d13baecba9041e87fd65df6730195eb79ab7bc4
parent002c6d17770e23a4c409a697dc51a01b0fc1cc45 (diff)
downloadgdb-7a0405b9898d4ea476737d878d80736ac6bc1d28.zip
gdb-7a0405b9898d4ea476737d878d80736ac6bc1d28.tar.gz
gdb-7a0405b9898d4ea476737d878d80736ac6bc1d28.tar.bz2
Don't use #ifdef inside macro arguments.
-rw-r--r--gas/write.c10
1 files changed, 6 insertions, 4 deletions
diff --git a/gas/write.c b/gas/write.c
index b527708..67db922 100644
--- a/gas/write.c
+++ b/gas/write.c
@@ -58,15 +58,17 @@ int magic_number_for_object_file = DEFAULT_MAGIC_NUMBER_FOR_OBJECT_FILE;
#endif /* BFD_ASSEMBLER */
+#ifdef BFD_ASSEMBLER
static fixS *fix_new_internal PARAMS ((fragS *, int where, short int size,
symbolS *add, symbolS *sub,
offsetT offset, int pcrel,
-#ifdef BFD_ASSEMBLER
- bfd_reloc_code_real_type r_type
+ bfd_reloc_code_real_type r_type));
#else
- int r_type
+static fixS *fix_new_internal PARAMS ((fragS *, int where, short int size,
+ symbolS *add, symbolS *sub,
+ offsetT offset, int pcrel,
+ int r_type));
#endif
- ));
static long fixup_segment PARAMS ((fixS * fixP, segT this_segment_type));
static relax_addressT relax_align PARAMS ((relax_addressT addr, int align));
void relax_segment PARAMS ((struct frag * seg_frag_root, segT seg_type));