diff options
author | Ken Raeburn <raeburn@cygnus> | 1992-05-26 03:45:31 +0000 |
---|---|---|
committer | Ken Raeburn <raeburn@cygnus> | 1992-05-26 03:45:31 +0000 |
commit | 8070f29df5b169072265c0a50710f38850d4206c (patch) | |
tree | c216b6384991b67e23b488852bb4638131614519 /bfd/ctor.c | |
parent | 20edaa8e7791b9c33fa1a6abbca7bec3df4564ca (diff) | |
download | gdb-8070f29df5b169072265c0a50710f38850d4206c.zip gdb-8070f29df5b169072265c0a50710f38850d4206c.tar.gz gdb-8070f29df5b169072265c0a50710f38850d4206c.tar.bz2 |
Lots of changes from gas-bfd work. Includes:
* working reloc lookup support
* better support for creation of COFF files from scratch
* misc doc changes, macro tweaks, "const" additions, typo fixes, etc.
* one or two ugly kludges that should get cleaned up (but what's one
or two more, in BFD?)
See ChangeLog for details.
Diffstat (limited to 'bfd/ctor.c')
-rw-r--r-- | bfd/ctor.c | 4 |
1 files changed, 1 insertions, 3 deletions
@@ -140,9 +140,7 @@ void DEFUN(bfd_constructor_entry,(abfd, symbol_ptr_ptr, type), rel_section->constructor_chain = reloc; reloc->relent.address = rel_section->_cooked_size; /* ask the cpu which howto to use */ - reloc->relent.howto = - bfd_reloc_type_lookup(abfd->arch_info, - BFD_RELOC_CTOR); + reloc->relent.howto = bfd_reloc_type_lookup(abfd, BFD_RELOC_CTOR); rel_section->_cooked_size += sizeof(int *); rel_section->reloc_count++; } |