aboutsummaryrefslogtreecommitdiff
path: root/gas/config/tc-openrisc.c
diff options
context:
space:
mode:
authorKazu Hirata <kazu@codesourcery.com>2002-05-11 09:53:52 +0000
committerKazu Hirata <kazu@codesourcery.com>2002-05-11 09:53:52 +0000
commit5d6255fea654e42fc10353d52f60cf56970744d5 (patch)
tree55b11d0a3f39b168aea588c3399ede5da1069eaf /gas/config/tc-openrisc.c
parent690cc98be923a111371d20301574c840d628a634 (diff)
downloadgdb-5d6255fea654e42fc10353d52f60cf56970744d5.zip
gdb-5d6255fea654e42fc10353d52f60cf56970744d5.tar.gz
gdb-5d6255fea654e42fc10353d52f60cf56970744d5.tar.bz2
* config/obj-coff.h: Fix formatting.
* config/tc-mcore.c: Likewise. * config/tc-mn10300.c: Likewise. * config/tc-openrisc.c: Likewise. * config/tc-or32.c: Likewise. * config/tc-pdp11.c: Likewise. * config/tc-ppc.c: Likewise. * config/tc-ppc.h: Likewise. * config/tc-sh64.c: Likewise. * config/tc-sh.c: Likewise. * config/tc-tic54x.c: Likewise. * config/tc-xstormy16.c: Likewise. * config/tc-xstormy16.h: Likewise.
Diffstat (limited to 'gas/config/tc-openrisc.c')
-rw-r--r--gas/config/tc-openrisc.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/gas/config/tc-openrisc.c b/gas/config/tc-openrisc.c
index 473ca73..d992ff7 100644
--- a/gas/config/tc-openrisc.c
+++ b/gas/config/tc-openrisc.c
@@ -1,5 +1,5 @@
/* tc-openrisc.c -- Assembler for the OpenRISC family.
- Copyright (C) 2001 Free Software Foundation.
+ Copyright (C) 2001, 2002 Free Software Foundation.
Contributed by Johan Rydberg, jrydberg@opencores.org
This file is part of GAS, the GNU Assembler.
@@ -370,12 +370,12 @@ md_cgen_lookup_reloc (insn, operand, fixP)
switch (operand->type)
{
- case OPENRISC_OPERAND_ABS_26:
- fixP->fx_pcrel = 0;
+ case OPENRISC_OPERAND_ABS_26:
+ fixP->fx_pcrel = 0;
type = BFD_RELOC_OPENRISC_ABS_26;
goto emit;
- case OPENRISC_OPERAND_DISP_26:
- fixP->fx_pcrel = 1;
+ case OPENRISC_OPERAND_DISP_26:
+ fixP->fx_pcrel = 1;
type = BFD_RELOC_OPENRISC_REL_26;
goto emit;
@@ -493,7 +493,7 @@ openrisc_fix_adjustable (fixP)
/* We need the symbol name for the VTABLE entries */
if (fixP->fx_r_type == BFD_RELOC_VTABLE_INHERIT
|| fixP->fx_r_type == BFD_RELOC_VTABLE_ENTRY)
- return 0;
+ return 0;
return 1;
}