aboutsummaryrefslogtreecommitdiff
path: root/gas/write.h
diff options
context:
space:
mode:
authorMichael Tiemann <tiemann@cygnus>1992-03-01 12:45:17 +0000
committerMichael Tiemann <tiemann@cygnus>1992-03-01 12:45:17 +0000
commit961815e432a36e08f4e599fcc2412a27fc9f1b87 (patch)
tree60a2f831ceddd4e4cfbfa6e311d3277a89ba4bca /gas/write.h
parenta6f40e945349935331feff183af10b80e3796622 (diff)
downloadgdb-961815e432a36e08f4e599fcc2412a27fc9f1b87.zip
gdb-961815e432a36e08f4e599fcc2412a27fc9f1b87.tar.gz
gdb-961815e432a36e08f4e599fcc2412a27fc9f1b87.tar.bz2
Make the declarations of fix_new consistent under __STDC__. It might
be better to #define NEED_FX_R_TYPE in TC_A29K and TC_SPARC instead of having this complicated conditional, but that's not my call.
Diffstat (limited to 'gas/write.h')
-rw-r--r--gas/write.h9
1 files changed, 6 insertions, 3 deletions
diff --git a/gas/write.h b/gas/write.h
index 9ce6529..0b47dcb 100644
--- a/gas/write.h
+++ b/gas/write.h
@@ -54,7 +54,7 @@ struct fix {
char fx_im_disp; /* TRUE: value is a displacement */
bit_fixS *fx_bit_fixP; /* IF NULL no bitfix's to do */
char fx_bsr; /* sequent-hack */
-#if defined(TC_SPARC) || defined(TC_A29K)
+#if defined(TC_SPARC) || defined(TC_A29K) || defined(NEED_FX_R_TYPE)
/* Hacks for machines where the type of reloc can't be
worked out by looking at how big it is */
@@ -90,8 +90,11 @@ fixS *fix_new(fragS *frag,
symbolS *add_symbol,
symbolS *sub_symbol,
long offset,
- int pcrel,
- enum reloc_type r_type);
+ int pcrel
+#if defined(TC_SPARC) || defined(TC_A29K) || defined(NEED_FX_R_TYPE)
+ , int r_type
+#endif
+);
#else /* not __STDC__ */