aboutsummaryrefslogtreecommitdiff
path: root/bfd/coff-h8300.c
AgeCommit message (Collapse)AuthorFilesLines
1997-02-03 * coff-h8300.c (h8300_reloc16_extra_cases): Correct off by oneIan Lance Taylor1-2/+2
error in overflow check for R_RELBYTE. PR 11591.
1996-07-05No longer need to sanitize away h8/s stuff.Jeff Law1-6/+11
1996-06-18 * coff-h8300.c (h8300_reloc16_extra_cases): Make name a constIan Lance Taylor1-3/+118
pointer. (h8300_bfd_link_add_symbols): Likewise.
1996-06-09 * coff-h8300.c (h8300_reloc16_estimate): Fix many minor spacingJeff Law1-324/+412
problems. (h8300_reloc16_estimate, cases R_JMP1, R_JMP2): Adjust "dot" correctly for the two variants. Allow relaxing if the target is 128 bytes away since after relaxation it'll be 126 bytes away. (h8300_reloc16_estimate, case R_PCRWORD): Correctly adjust "dot" and "value". Allow relaxing if the target is 128 bytes away since after relaxation it'll be 126 bytes away. * reloc16.c (bfd_coff_reloc16_relax_section): Keep relaxing the given section until nothing changes. Improving corner case relaxing for jmp:16->bra:8, jmp:24->bra:8 and bCC:16->bCC:8. Re-relax a section if something changes; more relaxing opportunities may be available.
1996-05-03 * coff-h8300.c (reloc_howto_type): Add howto entry forJeff Law1-3/+88
R_PCRWORD_B. (rtype2howto): Handle R_PCRWORD_B. (h8300_reloc16_extra_cases): Handle R_PCRWORD_B. (h8300_reloc_16_estimate): Likewise. Try to turn a 16bit pc-relative branch (R_PCRWORD) into an 8bit pc-relative branch (R_PCWORD_B). So we can turn 16bit pcrel branches into 8bit pcrel branches on the H8/300H. HMSE.
1996-03-29 * libbfd-in.h (generic_link_hash_newfunc): Add declaration.Jeff Law1-2/+443
* libbfd.h: Rebuilt. * linker.c (generic_link_hash_newfunc): No longer static. * coffcode.h (coff_bfd_link_hash_create): Allow specific targets to override. * coff-h8300.c: Add two derived hash tables and their associated funtions and #defines for use by the h8300 linker. (h8300_reloc16_extra_cases, case R_MEM_INDIRECT): Create entries in the function vector as needed. Place the address of the function vector entry in the location specified by the R_MEM_INDIRECT reloc. Rewrite the vectors section contents as necessary. (h8300_bfd_link_add_symbols): New function for the h8300 linker. (coff_bfd_link_add_symbols): Define to use h8300 specific version. (coff_bfd_link_hash_table_create): Likewise. Linker changes for function vectors. HMSE.
1996-03-27update copyrightsIan Lance Taylor1-4/+14
1995-09-19 * targets.c (bfd_target): Remove unused align_power_min field.Ian Lance Taylor1-2/+1
* bfd-in2.h: Rebuild. * All backends: Remove initialization of align_power_min.
1995-06-30 * coff-h8300.c (COFF_LONG_FILENAMES): Define.Steve Chamberlain1-3/+2
1994-12-20 * coff-h8300.c (howto_table): All relocs get a special function.Steve Chamberlain1-23/+60
(special): Never do anything when linking -r.
1994-06-20 * Many files: change all bfd_target vectors to be const. ChangeIan Lance Taylor1-3/+4
all uses of bfd_target * to be const bfd_target *. Change bfd_target_vector and bfd_default_vector arrays to be const bfd_target * const *.
1994-04-06 * targets.c (bfd_target): Rearranged fields in target vector.Ian Lance Taylor1-1/+9
Removed _bfd_debug_info_start, _bfd_debug_info_end and _bfd_debug_info_accumulate, which were never used. (BFD_JUMP_TABLE_GENERIC, BFD_JUMP_TABLE_COPY): Defined. (BFD_JUMP_TABLE_CORE, BFD_JUMP_TABLE_ARCHIVE): Defined. (BFD_JUMP_TABLE_SYMBOLS, BFD_JUMP_TABLE_RELOCS): Defined. (BFD_JUMP_TABLE_WRITE, BFD_JUMP_TABLE_LINK): Defined. * All backends: Changed to use the new BFD_JUMP_TABLE_* macros rather than the single JUMP_TABLE macro. Removed many of the weird macro definitions needed to support the monolithic JUMP_TABLE. * bfd-in.h (JUMP_TABLE): Removed. * libbfd-in.h: Define a bunch of macros, and declare a few functions, for use with the new BFD_JUMP_TABLE_* macros. * libbfd.c (_bfd_dummy_new_section_hook): Removed. (bfd_false): Set bfd_error_invalid_operation. (bfd_nullvoidptr): Likewise. (bfd_n1): New function. (_bfd_nocore_core_file_matches_executable_p): Renamed from _bfd_dummy_core_file_matches_executable_p. (_bfd_nocore_core_file_failing_command): Similar rename. Set bfd_error_invalid_operation. (_bfd_nocore_core_file_failing_signal): Likewise. (_bfd_generic_get_section_contents): Renamed from bfd_generic_get_section_contents. Changed all callers. (_bfd_generic_set_section_contents): Similar rename. * ieee.c: #if 0 out ieee_bfd_debug_info_start, ieee_bfd_debug_info_end, ieee_bfd_debug_info_accumulate. They were never called. * bfd-in2.h: Rebuilt. * libbfd.h: Rebuilt.
1994-03-24Thu Mar 24 11:33:46 1994 Steve Chamberlain (sac@jonny.cygnus.com)Steve Chamberlain1-13/+35
* coff-h8300.c (h8300_reloc16_extra_cases): Add relaxing info for 16bit relative branches. * coff-h8500.c (r_high8, r_low16, r_high16): Don't complain on overflow.
1994-01-24 * bfd/aoutx.h (aout_link_input_section_std,Ian Lance Taylor1-29/+48
aout_link_input_section_ext): Pass additional arguments to reloc_overflow callback. * coff-alpha.c (alpha_ecoff_get_relocated_section_contents, alpha_relocat_section): Likewise. * coff-h8300.c (h8300_reloc16_extra_cases): Likewise. * coff-h8500.c (extra_case): Likewise. * coff-mips.c (mips_relocate_section): Likewise. * coff-z8k.c (extra_case): Likewise. * elf32-hppa.c (hppa_elf_stub_finish): Likewise. * reloc.c (bfd_generic_get_relocated_section_contents): Likewise.
1993-10-28 gcc -Wall lint:Ian Lance Taylor1-76/+446
* coff-h8300.c (h8300_reloc16_estimate): Declare return type. Remove useless statement probably left by code copy. * cpu-i960.c (compatible): Fully bracket matrix initializer. * elf32-hppa.c (hppa_elf_build_arg_reloc_stub): Use bfd_xmalloc rather than xmalloc. Use realloc and check the return value rather than xrealloc. (hppa_elf_get_section_contents): Add some casts. * elf32-i386.c (elf_i386_reloc_type_lookup): Remove unused variable. Add default case to switch. * hp300hpux.c: Declare aout_32_write_syms. * i386bsd.c, i386linux.c, netbsd386.c (N_SHARED_LIB): Define as 0 (definition from aout/aout64.h is always 0 anyhow). * i386lynx.c (swap_std_reloc_in): Remove unused variable. * ieee.c (ieee_write_id): length can never be negative. (read_id): Likewise. (ieee_archive_p): Remove unused variable. * libcoff-in.h (bfd_perform_slip): Declare. * libcoff.h: Rebuilt. * oasys.c (oasys_write_sections): Remove zero initialization of static structure. * reloc16.c: Indentation change.
1992-10-08Some of these are guesses, if you know different, just yell.Steve Chamberlain1-5/+6
Thu Oct 8 08:52:48 1992 Steve Chamberlain (sac@thepub.cygnus.com) Now a bfd knows whether underscores are normally prepended to symbols in its file format. Helps with error messages. * aout-adobe.c, aout-target.h, bout.c, coff-a29k.c, coff-h8300.c, coff-z8k.c: targets set so they have leading underscore * coff-i386.c, coff-i960.c, coff-m68k.c, coff-mips.c, coff-m88k.c, coff-rs6000.c, coff-we32k.c, elf.c, ieee.c, srec.c: targets set without leading underscore flag * targets.c: add symbol leading char to xvec description * bfd-in.h (bfd_get_symbol_leading_char): new macro.
1992-01-24Uses the new small reloc type now.Steve Chamberlain1-10/+91
Currently self hosts on sun4 and sun3
1991-11-27Initial revisionSteve Chamberlain1-0/+103