aboutsummaryrefslogtreecommitdiff
path: root/bfd/oasys.c
diff options
context:
space:
mode:
authorSteve Chamberlain <steve@cygnus>1991-04-24 20:51:27 +0000
committerSteve Chamberlain <steve@cygnus>1991-04-24 20:51:27 +0000
commit4cddd1c9048abf7852e9faa4e46a9ce96d7f9436 (patch)
treeecfd460dcc357d90d1e917805f77494104b76dd7 /bfd/oasys.c
parenta36f604047f7006445325a8e3d962c7f2c115a09 (diff)
downloadfsf-binutils-gdb-4cddd1c9048abf7852e9faa4e46a9ce96d7f9436.zip
fsf-binutils-gdb-4cddd1c9048abf7852e9faa4e46a9ce96d7f9436.tar.gz
fsf-binutils-gdb-4cddd1c9048abf7852e9faa4e46a9ce96d7f9436.tar.bz2
Changed the shape of the howto type yet again.
Now m88kbcs support can self host.
Diffstat (limited to 'bfd/oasys.c')
-rw-r--r--bfd/oasys.c9
1 files changed, 4 insertions, 5 deletions
diff --git a/bfd/oasys.c b/bfd/oasys.c
index 4bce3cc..9f3c916 100644
--- a/bfd/oasys.c
+++ b/bfd/oasys.c
@@ -421,12 +421,11 @@ CONST char *section_name = symbol->section == (asection *)NULL ?
*/
static reloc_howto_type howto_table[]=
{
-/* T rs size bsz pcrel bitpos abs ovr sf name partial inplace mask */
-{ 0, 0, 1, 16, false,0, true,true,0,"abs16",true,0x0000ffff, 0x0000ffff},
-{ 0, 0, 2, 32, false,0, true,true,0,"abs32",true,0xffffffff, 0xffffffff},
-{ 0, 0, 1, 16, true,0, true,true,0,"pcrel16",true,0x0000ffff, 0x0000ffff},
-{ 0, 0, 2, 32, true,0, true,true,0,"pcrel32",true,0xffffffff, 0xffffffff}
+HOWTO( 0, 0, 1, 16, false,0, true,true,0,"abs16",true,0x0000ffff, 0x0000ffff,false),
+HOWTO( 0, 0, 2, 32, false,0, true,true,0,"abs32",true,0xffffffff, 0xffffffff,false),
+HOWTO( 0, 0, 1, 16, true,0, true,true,0,"pcrel16",true,0x0000ffff, 0x0000ffff,false),
+HOWTO( 0, 0, 2, 32, true,0, true,true,0,"pcrel32",true,0xffffffff, 0xffffffff,false)
};
/* Read in all the section data and relocation stuff too */