Commit graph

2593 commits

Author SHA1 Message Date
Ian Lance Taylor
5ee8d9327b * elflink.h (elf_link_input_bfd): Handle a relocateable link in
which a relocation refers to an indirect or warning symbol.
1997-12-11 04:38:44 +00:00
Nick Clifton
5b6f4b31fc Fixed overflow from a LO16 reloc into a HI16_S reloc. 1997-12-10 19:20:31 +00:00
Michael Meissner
de7483285a Switch to using RELA relocations for the d30v. 1997-12-10 19:08:51 +00:00
Andrew Cagney
c02ed6a8a3 For bfd, add vr5400 and vr5000 mips machine variants to list of machines.
For sim/mips, enable multi-sim support when mips64vr5400-elf is target.
For sim/igen, allow specification of a default machine (will need
more work later).
1997-12-09 04:01:06 +00:00
Nick Clifton
0a5875fc63 Fix HI16 and HI16_S relocations for PR14258 1997-12-06 00:57:20 +00:00
Nick Clifton
22a9f052de Fix PR14180 and 14181 (patch from branch) 1997-12-05 19:37:35 +00:00
Nick Clifton
09888f155f Add support for Thumb target
Restore underscore at the start of user labels.
1997-12-02 18:30:35 +00:00
Joern Rennecke
6fdb746d44 bfd:
* coff-sh.c (sh_coff_howtos): Add R_SH_SWITCH8 entry.
        (get_symbol_value): Handle R_SH_SWITCH8.
        (sh_relax_delete_bytes): Likewise.

include:
        * coff/sh.h (R_SH_SWITCH8): New.

gas:
        * config/tc-sh.c (SWITCH_TABLE_CONS): Handle (fix)->fx_size == 1.
        (SWITCH_TABLE): Handle BFD_RELOC_8.
        (md_apply_fix): #ifndef BFD_ASSEMBLER code: Handle fixP->fx_size == 1.
        (coff_reloc_map): Add BFD_RELOC_8_PCREL entry.
        (sh_coff_reloc_mangle): SWITCH_TABLE case: Handle BFD_RELOC_8.
PR 14155
1997-12-01 20:45:03 +00:00
Nick Clifton
f5ddda0fc7 Removed leading underscore..... 1997-11-27 01:44:10 +00:00
Nick Clifton
0fa555ea62 Add C_THUMBEXT etc. 1997-11-26 22:14:52 +00:00
Andrew Cagney
4ccd975a92 FreeBSD has (at least for the i386) a little-endian magic number. 1997-11-26 21:34:05 +00:00
Nick Clifton
803fea795a Do no set private flags if building a PE port. 1997-11-26 17:31:53 +00:00
Nick Clifton
4936eb9abe Do not complain when trying to merge private data from different formats. 1997-11-25 18:57:03 +00:00
Ian Lance Taylor
90d74939df * Makefile.am (BFD32_BACKENDS): Remove tekhex.lo.
(BFD32_BACKENDS_CFILES): Remove tekhex.c.
	* Makefile.in: Rebuild.
	* aclocal.m4, configure, src/Makefile.in: Rebuild with current
	automake and autoconf.
1997-11-25 17:14:09 +00:00
Ian Lance Taylor
cc37e39a14 * coff-arm.c (arm_allocate_interworking_sections): Fix typo
(COFF_WITH_PR to COFF_WITH_PE).
1997-11-25 16:27:55 +00:00
Nick Clifton
33d5d35156 Cut out unused code for PE build. 1997-11-25 02:09:19 +00:00
Nick Clifton
f76d3101e8 Fix for PE build 1997-11-24 23:51:15 +00:00
Nick Clifton
e1aeb28538 Add support for PIC and APCS-FLOAT type binaries. 1997-11-22 23:17:39 +00:00
Ian Lance Taylor
be462f88b4 * sunos.c (sunos_add_one_symbol): When overriding a defined
symbol, set it to undefined, not new.
1997-11-22 22:08:43 +00:00
Ian Lance Taylor
f3fb08f6c5 Sat Nov 22 16:06:56 1997 Klaus Kaempf <kkaempf@progis.de>
* evax-emh.c (_bfd_evax_write_emh): Use alloca instead of strdup.
1997-11-22 21:08:09 +00:00
Ian Lance Taylor
fbf760a8ab * elf32-sh.c (sh_elf_relax_delete_bytes): Don't kill LABEL
relocs.
1997-11-22 17:31:57 +00:00
Richard Henderson
d627a67430 * coff-sh.c (sh_relax_section): Force sign extention of USES r_offset.
(sh_relax_delete_bytes): Don't kill LABEL relocs.

Second bit for PR 14069.
1997-11-21 22:18:09 +00:00
Jeff Law
bf39c4900e * elf-m10300.c (elf32_mn10300_finish_hash_table_entry): Fix typo.
(mn10300_elf_relax_section): Likewise.
1997-11-17 22:06:48 +00:00
Fred Fish
469e5960b1 * peicode.h (coff_swap_aouthdr_in): Cast second arg of
bfd_h_get_* calls to "bfd_byte *".
1997-11-17 00:26:46 +00:00
Ian Lance Taylor
9793236cc3 Mon Nov 10 14:32:40 1997 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
* elflink.h (NAME(bfd_elf,size_dynamic_sections)): Don't crash if
	a version dependency could not be found.
1997-11-10 19:33:59 +00:00
Ian Lance Taylor
d481c877e4 Tue Nov 4 12:05:56 1997 Klaus K"ampf <kkaempf@progis.de>
* configure.com: Get version info from configure.in
1997-11-04 17:06:49 +00:00
Richard Henderson
aa9aa96fac * elf32-sparc.c (elf32_sparc_relocate_section): Give a helpful error
message instead of merely aborting.
        * elf64-sparc.c (sparc64_elf_relocate_section): Likewise.

        * elf64-sparc.c (sparc64_elf_check_relocs): Use SEC_ALLOC to control
        whether we output dynamic relocs instead of SEC_DEBUGGING.
        (sparc64_elf_relocate_section): Likewise.
1997-10-31 23:53:51 +00:00
Richard Henderson
ccbab31db1 Fri Oct 24 11:15:58 1997 Jakub Jelinek <jj@sunsite.mff.cuni.cz>
* elf64-sparc.c (sparc64_elf_merge_private_bfd_data):
        New function. Avoid mixing US1 and HAL R1 code.
        Set resulting memory ordering to the strongest one used.
        (sparc64_elf_object_p): Set bfd_mach correctly.
1997-10-24 18:14:52 +00:00
Richard Henderson
d87ad0dc2f * elf64-sparc.c (sparc64_elf_howto_table): Add UA64 & UA16.
(sparc64_elf_check_relocs): Handle them.
        (sparc64_elf_relocate_section): Likewise.  Before emitting a dyn reloc,
        check alignment and transmute R_SPARC_x<->R_SPARC_UAx.
1997-10-23 21:16:43 +00:00
Richard Henderson
5e0c6aada0 * configure.in (sparc*-*-linux*): Use trad-core and ...
* hosts/sparclinux.h: New file.
1997-10-23 07:51:48 +00:00
Richard Henderson
65c2dd6ec7 * config.bfd (sparc64-*-linux*): New target.
* elf-bfd.h (struct elf_backend_data): Add plt_alignment member.
        * elflink.c (_bfd_elf_create_got_section): Set .got alignment based
        on arch_size.
        (_bfd_elf_create_dynamic_sections): Likewise for .rel* sections.
        Set .plt alignment from new plt_alignment.
        * elflink.h (elf_link_create_dynamic_sections): Set version section
        alignment to LOG_FILE_ALIGN.
        * elfxx-target.h (elf_backend_plt_alignment): Provide default.
        (elfXX_bed): Init plt_alignment.

        * elf64-sparc.c (sparc64_elf_check_relocs,
        sparc64_elf_adjust_dynamic_symbol, sparc64_elf_size_dynamic_sections,
        sparc64_elf_adjust_dynindx, sparc64_elf_finish_dynamic_symbol,
        sparc64_elf_finish_dynamic_sections): New functions.
        (sparc64_elf_howto_table): Fix a few name strings.
        (ELF_DYNAMIC_INTERPRETER): New definition.
        (sparc64_elf_relocate_section): Handle shared libraries.

        * elf64-sparc.c (struct plt_template, plt_*_header, plt_*_entry,
        sparc64_elf_build_plt_entry, sparc64_elf_finish_dynamic_symbol):
        PLT definitions sparc64-linux originally choose.  These will go
        away soon in favour of the official abi definitions.
1997-10-23 07:37:25 +00:00
Ian Lance Taylor
18ed85fd7a * coff-sh.c (coff_small_object_p): New static function.
(coff_small_new_section_hook): New static function.
	(bfd_coff_small_swap_table): New static const structure.
	(coff_small_close_and_cleanup): Define.
	(coff_small_bfd_free_cached_info): Define.
	(coff_small_get_section_contents): Define.
	(coff_small_get_section_contents_in_window): Define.
	(shcoff_small_vec): New static structure.
	(shlcoff_small_vec): New static structure.
	* targets.c (bfd_target_vector): Add shcoff_small_vec and
	shlcoff_small_vec.
	* config.bfd (sh-*-elf*): Add shcoff_small_vec and
	shlcoff_small_vec to targ_selvecs.
	(sh-*-*): Likewise.
	* configure.in: Add shcoff_small_vec and shlcoff_small_vec cases.
	* configure: Rebuild.
PR 13580.
1997-10-22 20:12:02 +00:00
Ian Lance Taylor
412222d910 various evax patches 1997-10-20 19:23:09 +00:00
Ian Lance Taylor
d5241511db Mon Oct 20 15:01:27 1997 Klaus K"ampf <kkaempf@progis.de>
* evax-egsd.c: make section flags dec c compatible
1997-10-20 19:08:15 +00:00
Jeff Law
5efcd35925 * som.c (normalize): Delete function.
(som_bfd_ar_write_symbol_stuff): New parameter elength.  All callers
        changed.  Use passed in elength to determine size of the extended
        name table instead of computing it again.
1997-10-20 15:37:44 +00:00
Ian Lance Taylor
263378e763 fix ChangeLog entry 1997-10-20 14:56:55 +00:00
Ian Lance Taylor
e232f1aaf3 * peicode.h (coff_swap_scnhdr_out): Don't clobber other flag
settings when setting IMAGE_SCN_MEM_READ.  From Jim Wilson
	<wilson@cygnus.com>.
1997-10-20 14:55:58 +00:00
Jeff Law
27637913f0 * som.c (som_bfd_ar_write_symbol_stuff): Account for trailing
'/' in the extended name table.
1997-10-20 03:01:55 +00:00
Richard Henderson
bccab6306f * elflink.h (elf_link_assign_sym_version): For explicitly versioned
symbols, check globals list before matching on locals.
1997-10-17 07:04:28 +00:00
Michael Meissner
3cd99cc646 fix typo 1997-10-16 12:22:05 +00:00
Michael Meissner
04e4681226 Fix mangled patch 1997-10-16 12:19:16 +00:00
Ian Lance Taylor
fc1213aa0b * peicode.h (pe_mkobject_hook): Set DLL flag.
(pe_bfd_copy_private_bfd_data): Copy DLL flag.
1997-10-15 20:34:26 +00:00
Ian Lance Taylor
c086885a66 * peicode.h (coff_swap_scnhdr_out): Set IMAGE_SCN_MEM_DISCARDABLE
for .stab* sections.  Replace strlen of constant strings with
	number.
1997-10-15 18:17:40 +00:00
Richard Henderson
d980a81fbd * elf64-alpha.c (elf64_alpha_merge_ind_symbols): New function to
merge got and reloc entries from ind syms to their target.
        (elf64_alpha_always_size_sections): Call it.
        (elf64_alpha_check_relocs): Operate on the target of indirect symbols.
        (elf64_alpha_can_merge_gots): Likewise.
        (elf64_alpha_merge_gots): Likewise.

        * elf64-alpha.c (elf64_alpha_relocate_section): Back out HJ's change,
        as it is insufficient to handle the relocation changes as well.
1997-10-14 22:46:33 +00:00
Richard Henderson
6a587c4aae * elf64-alpha.c (elf64_alpha_calc_dynrel_sizes): Allow for RELATIVE
relocs for symbols in shlibs that have been forced local.
        (elf64_alpha_relocate_section): Output RELATIVEs in .got for same.
1997-10-14 06:12:50 +00:00
Richard Henderson
3a13dd8f03 * bfd/elf64-alpha.c (elf64_alpha_relocate_section): Use the
got_enties of the default symbol for the default versioned
        symbol.  Patch from hjl@gnu.ai.mit.edu, modified not to use
        alloca in the loop.
1997-10-14 04:24:59 +00:00
Nick Clifton
c7eece073a RELOC_22_PCREL only uses bottom 24 bits of PC. 1997-10-14 00:34:46 +00:00
Nick Clifton
676d3f022c Fixed bugs exposed by compiling NEC sample sources. 1997-10-10 23:01:17 +00:00
David Edelsohn
70e818d423 * elf64-sparc.c (sparc_elf_{hix22,lox10}_reloc): New functions.
(sparc64_elf_howto_table): Use them for HIX22,LOX10 relocs.
1997-10-09 23:46:24 +00:00
Richard Henderson
b0632d61e0 * elfcore.h (bfd_prstatus): Pedanticly, alignment_power should
be LOG_FILE_ALIGN.
1997-10-08 18:41:19 +00:00
Richard Henderson
ba2934ce9b * config.bfd: Missed one alpha* change. 1997-10-08 18:39:23 +00:00
Ian Lance Taylor
758b6765b8 * som.c (som_construct_extended_name_table): Remove static
function, and define as macro instead.
1997-10-07 15:41:40 +00:00
Stan Shebs
6d11ae7b63 Remove sanitized-out Magic Cap support, will never be released 1997-10-06 23:57:21 +00:00
Richard Henderson
6b5f5d6107 * config.bfd: Change alpha-*-* to alpha*-*-*; config.guess now
recognizes alphaev5 etc.
        * configure.host: Likewise.
1997-10-03 21:06:27 +00:00
Ian Lance Taylor
927e3a3094 Make ld -s work on AIX:
* xcofflink.c (xcoff_link_add_symbols): Don't create the .debug
	section if we are stripping.
	(bfd_xcoff_size_dynamic_sections): Don't set the .debug section
	size if we are stripping.
	(_bfd_xcoff_bfd_final_link): Don't set SEC_RELOC or rel_filepos,
	and don't write out relocs, if we are stripping.
	(xcoff_link_input_bfd): Don't set up reloc if we are stripping.
	(xcoff_write_global_symbol): Don't write out symbol or reloc if we
	are stripping.
1997-10-03 18:22:35 +00:00
Ian Lance Taylor
d9eff006a5 * configure.in: Don't include elf.lo again for ELF targets; it's
always in the library anyhow.
	* configure: Rebuild.
1997-10-03 16:53:51 +00:00
Ian Lance Taylor
9b5ec8b1e0 * elf32-sparc.c (sparc_elf_wdisp16_reloc): Cast to bfd_byte *, not
char *, when calling bfd_get_32 and bfd_put_32.
	* sunos.c (sunos_scan_dynamic_symbol): Cast contents to char *
	when calling strcpy.
1997-10-03 15:25:10 +00:00
David Edelsohn
22b23d7deb * reloc.c (bfd_check_overflow): New function.
(bfd_perform_relocation, bfd_install_relocation): Use it.
	(BFD_RELOC_SPARC_{DISP64,PLT64}): New relocs.
	(BFD_RELOC_SPARC_{HIX22,LOX10,H44,M44,L44,REGISTER}): New relocs.
	* bfd-in2.h: Regenerate.
	* libbfd.h: Regenerate.
1997-10-02 23:55:22 +00:00
David Edelsohn
a446b86dec * elf32-sparc.c (_bfd_sparc_elf_howto_table): R_SPARC_GLOB_JMP
renamed to R_SPARC_UNUSED_42.
	(sparc_reloc_map): Delete R_SPARC_GLOB_JMP entry.
	* elf64-sparc.c (_bfd_sparc_elf_howto_table): R_SPARC_GLOB_JMP
	renamed to R_SPARC_UNUSED_42.
	(sparc_reloc_map): Delete R_SPARC_GLOB_JMP entry.
	* reloc.c (BFD_RELOC_SPARC_GLOB_JMP): Delete.
	* bfd-in2.h: Regenerated.
	* libbfd.h: Regenerated.
1997-10-02 20:51:12 +00:00
Ian Lance Taylor
2fb4c89fb4 * peicode.h (coff_swap_scnhdr_out): Set IMAGE_SCN_MEM_READ for an
unrecognized section.  From Jon Thackray <jont@harlequin.co.uk>.
1997-10-02 17:22:35 +00:00
Ian Lance Taylor
9347808dd9 * Makefile.am ($(BFD_H)): Change stmp-bfd.h to stmp-bfd-h.
(stmp-bfd-h): Rename from stmp-bfd.h.
 	(BFD_H_FILES, LIBBFD_H_FILES, LIBCOFF_H_FILES): New variables.
	($(srcdir)/bfd-in2.h): Just depend upon stmp-bin2-h.
	(stmp-bin2-h): New target.
	($(srcdir)/libbfd.h): Just depend upon stmp-lbfd-h.
	(stmp-lbfd-h): New target.
	($(srcdir)/libcoff.h): Just depend upon stmp-lcoff-h.
	(stmp-lcoff-h): New target.
	(CLEANFILES): Change stmp-bfd.h to stmp-bfd-h.  Add stmp-bin2.h,
	stmp-lbfd-h, and stmp-lcoff-h.
	* Makefile.in: Rebuild.
1997-10-01 18:45:44 +00:00
Ian Lance Taylor
7810074c29 * configure.in: Use a diversion to set enable_shared before the
arguments are parsed.
	* configure: Rebuild.
1997-10-01 18:05:52 +00:00
Ian Lance Taylor
780a00c9f3 Wed Sep 24 16:52:28 1997 Joel Sherrill <joel@oarcorp.com>
* config.bfd (sh*-*-rtems*): New target, like sh-*-*elf*.
1997-09-24 20:53:25 +00:00
Ian Lance Taylor
0035c8a009 * Makefile.am (libbfd_a_SOURCES): Define.
* Makefile.in: Rebuild.
1997-09-24 16:22:13 +00:00
Ian Lance Taylor
805c3d70bd * configure.in: Call AC_CHECK_TOOL before AM_PROG_LIBTOOL.
* aclocal.m4: Rebuild with new libtool.
	* configure: Rebuild.
1997-09-24 15:30:03 +00:00
Ian Lance Taylor
3099ef787a * elf.c (map_sections_to_segments): Even if we are not demand
paged, don't put a loadable section after a nonloadable section.
	(assign_file_positions_for_segments): Increment the file offset
	for a section with contents, even if it is not loadable.
PR 13139.
1997-09-23 23:04:37 +00:00
Nick Clifton
15d82b260c Removed v850eq sanitization.
Changed mismatch architecture message to a warning.
1997-09-20 23:59:31 +00:00
Nick Clifton
55e6f0bf32 Improved error message to include symbol's name. 1997-09-18 22:02:06 +00:00
Nick Clifton
9420c20ac4 Added support for the call table relocations. 1997-09-17 23:50:21 +00:00
Nick Clifton
db1fa6ab26 Catch relocations against non-existant symbols. 1997-09-17 16:52:23 +00:00
Nick Clifton
5bb2876408 Add support for a 16 bit reloc against the TDA pointer! 1997-09-16 21:21:30 +00:00
Ken Raeburn
2199f848c0 merge from d30v-970225-branch 1997-09-15 16:43:43 +00:00
Nick Clifton
43898c918f Removed spurious error return. 1997-09-10 22:15:31 +00:00
Andrew Cagney
eaa9c2e7ac New function: bfd_arch_list cf bfd_target_list.
Make bfd_default_scan (arch) more flexable in its match of name to arch,
remove some of the dead code.
1997-09-10 05:55:15 +00:00
Nick Clifton
5ddf2a9e6c Do not complain if an R_V850_LO16 reloc has bit 15 set. 1997-09-09 23:52:39 +00:00
Nick Clifton
98ab32a58a Fixed buglet displaying machine architecture. 1997-09-09 17:20:41 +00:00
Richard Henderson
60b570d17a Sun Sep 7 12:25:22 1997 H.J. Lu (hjl@gnu.ai.mit.edu)
* bfd/elf64-alpha.c (reloc_howto_type): Fix the howto table.
1997-09-07 21:34:32 +00:00
Ian Lance Taylor
1732b93b48 * Makefile.am: Rebuild dependencies.
(ALL_MACHINES_CFILES): Add cpu-v850.c.
	(ALL_MACHINES_CFILES): Add elf32-v850.c.
	* Makefile.in: Rebuild.
1997-09-04 18:02:56 +00:00
Ian Lance Taylor
4878fa5b57 * reloc.c: Remove extraneous commas from relocation entries.
Remove BFD_RELOC_V850_16_PCREL.
	* bfd-in2.h: Rebuild.
1997-09-04 17:51:12 +00:00
Ian Lance Taylor
679bf0a2a4 * xcofflink.c (xcoff_link_add_symbols): Put XTY_CM/XMC_TD symbols
in sections named .tocbss rather than .bss.
For AIX 4.2 support (PR 12597).
1997-09-04 16:44:52 +00:00
Nick Clifton
2cf9a0d043 Removed v850 sanitization.
Fixed v850e sanitization.
1997-09-03 22:50:06 +00:00
Nick Clifton
93f1885739 Removed BFD_RELOC_V850_PCREL. 1997-09-03 18:22:00 +00:00
Fred Fish
c2d708261f * cofflink.c (coff_link_check_ar_symbols): Handle C_SYSTEM syms
the same as C_EXT syms.
        (coff_link_add_symbols): Ditto.
        (_bfd_coff_link_input_bfd): Ditto.
        (_bfd_coff_write_task_globals): Add save_global_to_static.  Use
        it to preserve and restore state of global_to_static flag.
PR 13202
1997-09-03 04:14:29 +00:00
Nick Clifton
8bef8c3071 Set machine number based in bits in e_flags field rather than magic number. 1997-09-03 00:44:56 +00:00
David Edelsohn
1c0e698e2f * cpu-arc.c (arc_get_mach): Properly scan defined mach entries. 1997-09-03 00:36:19 +00:00
Jeff Law
a9d67a8857 * elf-m10200.c (mn10200_elf_final_link_relocate): PC relative
instructions are relative to the next instruction, not the
        current instruction.
        (mn10200_elf_relax_section): Similarly.

pr13171
1997-09-03 00:31:34 +00:00
Nick Clifton
def31039ac Switched over to using new reloc types. 1997-09-02 22:53:31 +00:00
Andrew Cagney
f40d28bfc0 Add sh3 et.al. to SH arch table.
Improve machine name parsing for v850 and SH.
1997-08-28 10:01:33 +00:00
Andrew Cagney
2f88c3244e * archures.c (bfd_archures_list): Always NULL terminate the list. 1997-08-27 07:40:23 +00:00
Ian Lance Taylor
099ddbf117 * Makefile.am: Rebuild dependencies.
(ALL_MACHINES_CFILES): Add cpu-arc.c.
	(ALL_MACHINES_CFILES): Add elf32-arc.c.
	(elf32-arc.lo): Remove explicit dependency.
	* Makefile.in: Rebuild.
1997-08-26 22:26:20 +00:00
Ian Lance Taylor
2c66160cfb * acinclude.m4 (BFD_CC_FOR_BUILD): Set EXEEXT_FOR_BUILD.
* doc/Makefile.am (MKDOC): Use EXEEXT_FOR_BUILD, not EXEEXT.
	* aclocal.m4, configure, Makefile.in, doc/Makefile.in: Rebuild.
1997-08-26 21:30:19 +00:00
Chris Provenzano
70e8e5854f Rebuild with latest devo autoconf for NT support 1997-08-25 23:16:51 +00:00
Nick Clifton
04f295b648 Fixed minor buglet in compatible. 1997-08-25 23:08:49 +00:00
Nick Clifton
8988d935a3 Switched over to using machine numbers to distinguish v850 architecture variants. 1997-08-25 23:00:29 +00:00
Ian Lance Taylor
591ebe4255 * syms.c (_bfd_stab_section_find_nearest_line): Clear the
cached_stab field if the offset prevents us from using the cache.
1997-08-25 18:10:15 +00:00
Nick Clifton
845c40d529 Added rules to build cpu-v850e.lo and cpu-v850eq.lo object files. 1997-08-25 17:04:46 +00:00
Ian Lance Taylor
a068267798 * aout-target.h (MY(vec)): Add SEC_CODE and SEC_DATA to section
flags.
	* aout-arm.c (aout_arm_little_vec): Likewise.
	(aout_arm_big_vec): Likewise.
	* bout.c (b_out_vec_big_host): Likewise.
	(b_out_vec_little_host): Likewise.
	* mipsbsd.c (aout_mips_little_vec): Likewise.
	(aout_mips_big_vec): Likewise.
1997-08-25 16:10:56 +00:00
Fred Fish
c4188c2a6a * coff-i960.c (COFF_ALIGN_IN_SECTION_HEADER): Define to 1.
(GET_SCNHDR_ALIGN, PUT_SCNHDR_ALIGN): Define.
	* coff-m88k.c (GET_SCNHDR_NRELOC, GET_SCNHDR_NLNNO): Define.
	* coffcode.h (coff_set_alignment_hook): Conditionally compile in if
	COFF_ALIGN_IN_SECTION_HEADER is defined.  Convert alignment to power
	of two for I960 only.
	* coffswap.h (GET_SCNHDR_NRELOC, PUT_SCNHDR_NRELOC, GET_SCNDHR_NLNNO,
	PUT_SCNHDR_NLNNO, GET_SCNHDR_FLAGS, PUT_SCNHDR_FLAGS): Provide
	default definitions.
	(coff_swap_scnhdr_in): Use GET_SCNHDR_FLAGS, GET_SCNHDR_NRELOC,
	GET_SCNHDR_NLNNO, and GET_SCNHDR_ALIGN.
	(coff_swap_scnhdr_out): Use PUT_SCNHDR_FLAGS, PUT_SCNHDR_ALIGN.
start-sanitize-tic80
	* Makefile.in (coff-tic80.o): Depends upon coffswap.h.
	* coff-tic80.c (COFF_ALIGN_IN_SECTION_HEADER): Define to 1.
	(GET_SCNHDR_FLAGS, PUT_SCNHDR_FLAGS): Define
	*coffcode.h (coff_write_object_contents): Set alignment field in
 	section header for TIC80COFF files.
end-sanitize-tic80
PR 12215 and PR 13061
1997-08-19 16:44:00 +00:00
Nick Clifton
def47b537e Add support for v850e and v850eq targets.
Add support for BFD_RELOC_V850_PCREL relocation.
1997-08-18 18:42:35 +00:00
Ian Lance Taylor
00c7247bce * coffgen.c (coff_find_nearest_line): Correctly handle the offset
argument as section relative, rather than an absolute address.
	From Jan Hoogenraad <hoogenrd@natlab.research.philips.com>.
1997-08-15 16:02:53 +00:00