aboutsummaryrefslogtreecommitdiff
path: root/bfd/coff-apollo.c
diff options
context:
space:
mode:
authorKazu Hirata <kazu@codesourcery.com>2000-11-09 01:37:44 +0000
committerKazu Hirata <kazu@codesourcery.com>2000-11-09 01:37:44 +0000
commit346ceb11ed10bac316805210a6310a5821130a4e (patch)
treeee469c409e0683fc64c77473283b9c6736fe08f7 /bfd/coff-apollo.c
parentf44c642f36a04395d9ed51829f0c44c68dd27a6b (diff)
downloadgdb-346ceb11ed10bac316805210a6310a5821130a4e.zip
gdb-346ceb11ed10bac316805210a6310a5821130a4e.tar.gz
gdb-346ceb11ed10bac316805210a6310a5821130a4e.tar.bz2
2000-11-08 Kazu Hirata <kazu@hxi.com>
* coff-a29k.c: Fix formatting. * coff-alpha.c: Likewise. * coff-apollo.c: Likewise. * coff-aux.c: Likewise.
Diffstat (limited to 'bfd/coff-apollo.c')
-rw-r--r--bfd/coff-apollo.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/bfd/coff-apollo.c b/bfd/coff-apollo.c
index 6075d52..7a28efa 100644
--- a/bfd/coff-apollo.c
+++ b/bfd/coff-apollo.c
@@ -31,7 +31,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
#ifdef ONLY_DECLARE_RELOCS
extern reloc_howto_type apollocoff_howto_table[];
#else
-reloc_howto_type apollocoff_howto_table[] =
+reloc_howto_type apollocoff_howto_table[] =
{
HOWTO(R_RELBYTE, 0, 0, 8, false, 0, complain_overflow_bitfield, 0, "8", true, 0x000000ff,0x000000ff, false),
HOWTO(R_RELWORD, 0, 1, 16, false, 0, complain_overflow_bitfield, 0, "16", true, 0x0000ffff,0x0000ffff, false),
@@ -59,7 +59,7 @@ apollo_rtype2howto(internal, relocentry)
arelent *internal;
int relocentry;
{
- switch (relocentry)
+ switch (relocentry)
{
case R_RELBYTE: internal->howto = apollocoff_howto_table + 0; break;
case R_RELWORD: internal->howto = apollocoff_howto_table + 1; break;
@@ -71,13 +71,13 @@ apollo_rtype2howto(internal, relocentry)
}
}
-int
+int
apollo_howto2rtype (internal)
reloc_howto_type *internal;
{
- if (internal->pc_relative)
+ if (internal->pc_relative)
{
- switch (internal->bitsize)
+ switch (internal->bitsize)
{
case 32: return R_PCRLONG;
case 16: return R_PCRWORD;
@@ -93,7 +93,7 @@ apollo_howto2rtype (internal)
case 8: return R_RELBYTE;
}
}
- return R_RELLONG;
+ return R_RELLONG;
}
#endif /* not ONLY_DECLARE_RELOCS */