aboutsummaryrefslogtreecommitdiff
path: root/bfd
AgeCommit message (Collapse)AuthorFilesLines
2000-04-21IA-64 ELF support.Jim Wilson16-0/+4657
2000-04-21 * elf32-d30v.c (bfd_elf_d30v_reloc): Don't modify sectionRichard Henderson2-35/+24
contents when performing a partial link. (bfd_elf_d30v_reloc_21): Likewise.
2000-04-20H.J's x86 fix for "nm -l" on shared libraries, applied to ppc too.Alan Modra3-2/+12
2000-04-19Properly regenerate bfd-in2.h.Timothy Wall1-3/+3
2000-04-19K&R compiler fixesAlan Modra3-4/+19
2000-04-18Bfd support for generating IA-64 EFI binaries.Jim Wilson13-55/+526
* Makefile.am (BFD64_BACKENDS): Mention coff-ia64.lo. (BFD64_BACKENDS_CFILES): Mention coff-ia64.c (coff-ia64.lo): Add dependency. * Makefile.in: Regenerate. * coff-ia64.c: New file. * efi-app-ia32.c: Ditto. * efi-app-ia64.c: Ditto. ...
2000-04-18Clean up load page support for tic54x.Timothy Wall5-12/+105
2000-04-17Fix typo.Alan Modra2-1/+5
2000-04-13Remove U suffix from constants for K&R compilers.Alan Modra7-25/+37
Fix a couple of 64 bit nits.
2000-04-11Fix auto-dependency bug.Alan Modra4-21/+24
2000-04-11Allow address wrap for bitfields again.Alan Modra2-9/+17
2000-04-11Fit 64-bit nits.Alan Modra4-7/+16
2000-04-11Mods to allow compilation of BFD all targets.Timothy Wall5-11/+22
2000-04-09Remove ``-W -Wall'' from top-level Makefile/configure.Andrew Cagney7-369/+408
Add ``-W -Wall'' to sub-directories bfd, binutils, gas gprof, ld and opcodes by the addition of WARN_CFLAGS to Makefile.am and configury to set it. Add configure option --enable-build-warnings. Re-generate all and sundry using auto*-000227.
2000-04-08Fix copyright comments and file comments.Timothy Wall2-3/+3
2000-04-08Fix dependency for elfarm-oabi.cNick Clifton3-2/+24
2000-04-08Add support for R_ARM_XPC25 and R_ARM_THM_XPC22 relocsNick Clifton6-51/+118
2000-04-072000-04-06 Michael Snyder <msnyder@seadog.cygnus.com>Michael Snyder2-12/+27
* elfcore.h (elf_core_file_p): preserve value of tdata at entry, and restore it on failure. Release newly allocated tdata on failure.
2000-04-07Fix linker segfault that occured when linking ia64-linux kernel.Jim Wilson2-4/+23
* dwarf2.c (struct dwarf2_debug): New field dwarf_line_size. (decode_line_info): Set it. Report error if unit->line_offset is equal to or larger than it.
2000-04-07BFD and include/coff support for tic54x target.Timothy Wall14-7/+932
2000-04-072000-04-06 Michael Snyder <msnyder@seadog.cygnus.com>Michael Snyder2-0/+13
* elfcore.h (elf_core_file_p): call backend_object_p which thereby gets an opportunity to update the arch/machine type.
2000-04-07SEC_BLOCK, SEC_CLINK, and C_STATLAB added (TI COFF support).Timothy Wall5-3/+57
2000-04-06Update copyright noticeNick Clifton1-2/+5
2000-04-06Only check EF_xxx flags if the EABI version number is unknown.Nick Clifton2-30/+103
2000-04-05sh-dsp REPEAT support:Joern Rennecke5-21/+202
opcodes: * sh-opc.h (sh_nibble_type): Remove DISP_8 and DISP_4. Split IMM_[48]{,BY[24]} into IMM[01]_[48]{,BY[24]}. Add REPEAT. (sh_arg_type): Add A_PC. (sh_table): Update entries using immediates. Add repeat. * sh-dis.c (print_insn_shx): Remove DISP_8 and DISP_4. Split IMM_[48]{,BY[24]} into IMM[01]_[48]{,BY[24]}. Add REPEAT. gas: * config/tc-sh.c (immediate): Delete. (sh_operand_info): Add immediate member. (parse_reg): Use A_PC for pc. (parse_exp): Add second argument 'op'. All callers changed. (parse_at): Expect pc to be coded as A_PC. Use immediate field in *op. (insert): Add fourth argument 'op'. All callers changed. (build_relax): Add second argument 'op'. All callers changed. (insert_loop_bounds): New function. (build_Mytes): Remove DISP_4. Split IMM_[48]{,BY[24]} into IMM[01]_[48]{,BY[24]}. Add REPEAT. (assemble_ppi): Use immediate field in *operand. (sh_force_relocation): Handle BFD_RELOC_SH_LOOP_{START,END}. (md_apply_fix): Likewise. (tc_gen_reloc): Likewise. Check for a pcrel BFD_RELOC_SH_LABEL. include/coff: * sh.h (R_SH_LOOP_START, R_SH_LOOP_END): Define. include/elf: * sh.h (R_SH_LOOP_START, R_SH_LOOP_END): New RELOC_NUMBERs. bfd: * reloc.c (_bfd_relocate_contents): Add BFD_RELOC_SH_LOOP_START and BFD_RELOC_SH_LOOP_END. * elf32-sh.c (sh_elf_howto_tab): Change special_func to sh_elf_ignore_reloc for all entries that sh_elf_reloc used to ignore. Add entries for R_SH_LOOP_START and R_SH_LOOP_END. (sh_elf_reloc_loop): New function. (sh_elf_reloc): No need to test for always-to-be-ignored relocs any more. (sh_rel): Add entries for BFD_RELOC_SH_LOOP_{START,END}. (sh_elf_relocate_section): Handle BFD_RELOC_SH_LOOP_{START,END}. * bfd-in2.h, libbfd.h: Regenerate.
2000-04-04Move translated part of bug report string back into .c files soAlan Modra2-130/+165
xgettext can find it. Regnerate .pot files.
2000-04-04Use "gcc -MM" for dependencies, and update them.Alan Modra4-174/+196
2000-04-03AIX 4.3 changesKevin Buettner3-523/+446
2000-04-032000-04-03 H.J. Lu <hjl@gnu.org>Ian Lance Taylor2-4/+24
* cache.c (bfd_open_file): Unlink the output file only if it has none zero size.
2000-04-03Don't emit relative relocations for non-loaded sections in shared objects.Alan Modra2-6/+13
Fix for DWARF-2 sections .debug_info and .debug_line.
2000-04-03 * aoutx.h (NAME(aout,reloc_type_lookup)): Add BFD_RELOC_8 andHans-Peter Nilsson2-3/+31
BFD_RELOC_16 to switch for extended relocs. (MY_swap_ext_reloc_in): New. (MY_swap_ext_reloc_out): New. (NAME(aout,slurp_reloc_table)): Use MY_swap_ext_reloc_in rather than NAME(aout,swap_ext_reloc_in) for extended relocs. (NAME(aout,squirt_out_relocs)): Similarly use MY_swap_ext_reloc_out. (aout_link_reloc_link_order): Use MY_put_ext_reloc if defined.
2000-04-03 * coff-h8300.c (h8300_reloc16_extra_cases): Add bsr:16 -> bsr:8 toJeff Law2-0/+9
the R_PCRWORD_B case.
2000-04-01Fix long-standing mis-comments. Words and addresses are 32-bits long.Alexandre Oliva1-5/+5
2000-03-31Adjust whitespace.Alexandre Oliva1-2/+2
2000-03-30Set CHUNK size to 16 bytes to prevent download failures on lame targets.Alan Modra3-2/+8
2000-03-30 * elf32-m32r.c (m32r_elf_generic_reloc): new function. AllDoug Evans2-11/+79
HOWTO references to bfd_elf_generic_reloc, that have partial_inplace == true, now use the new function. The function is based on the recent rewrite of m32r_elf_lo16_reloc(), and extends its fixes to the R_M32R_{16,24,32} relocs. The new logic in m32r_elf_lo16_reloc() has been removed, and it instead calls the new routine to obtain that functionality.
2000-03-27ATMEL AVR microcontroller support.Alan Modra14-441/+1821
2000-03-242000-03-24 H.J. Lu <hjl@gnu.org>H.J. Lu2-0/+9
* elf64-alpha.c (elf64_alpha_merge_ind_symbols): Add prototype. (elf64_alpha_find_reloc_at_ofs): Likewise.
2000-03-23Add missing parts of ChangeLog entry for my change of 2000/02/19 00:59:26 to ↵Geoffrey Keating1-0/+24
coff-rs6000.c.
2000-03-17Extend the allowed bitfield range (ie. that for whichAlan Modra2-63/+39
complain_overflow_bitfield doesn't complain) from -2**(n-1)..2**n-1 to -2**n..2**n. This might mean that some reloc overflows are no longer caught, but it solves the address wrap problem for 16-bit relocs nicely. In any case, ports that rely on complain_overflow_bitfield for reloc overflow checking were not getting a very good check previously. A bitfield range in a machine instruction is typically either the signed or unsigned n bit numbers, not the overlap of these two ranges.
2000-03-14 * elf32-m32r.c (m32r_elf_lo16_reloc): Rewrite.Catherine Moore2-8/+62
2000-03-14 * reloc16.c (bfd_coff_reloc16_relax_section): Count the total numberJeff Law2-4/+11
of shrinks properly, including the last reloc.
2000-03-13 * coff-h8300.c (h8300_reloc16_extra_cases): Fix the sanityJeff Law2-1/+6
check for R_MOVL2.
2000-03-11Return bfd_error_wrong_format on a format mismatch.Alan Modra2-2/+10
2000-03-11* elf32-mips.c (_bfd_mips_elf_relocate_section): Do properGeoffrey Keating2-4/+51
sign-extension and big-endian compensation for R_MIPS_64 even in ld -r.
2000-03-11In bfd/:Geoffrey Keating2-15/+167
* elf32-mips.c (mips_elf_next_relocation): Rename from mips_elf_next_lo16_relocation, and generalize to look for any relocation type. (elf_mips_howto_table): Make R_MIPS_PC16 pcrel_offset. (elf_mips_gnu_rel_hi16): Howto for R_MIPS_GNU_REL_HI16. (elf_mips_gnu_rel_lo16): Howto for R_MIPS_GNU_REL_LO16. (elf_mips_gnu_rel16_s2): Howto for R_MIPS_GNU_REL16_S2. (elf_mips_gnu_pcrel64): Howto for R_MIPS_PC64. (elf_mips_gnu_pcrel32): Howto for R_MIPS_PC32. (bfd_elf32_bfd_reloc_type_lookup): Add new relocs. (mips_rtype_to_howto): Likewise. (mips_elf_calculate_relocation): Handle new relocs. (_bfd_mips_elf_relocate_section): REL_HI16/REL_LO16 relocs are paired. The addend for R_MIPS_GNU_REL16_S2 is shifted right two bits. In gas/: * config/tc-mips.c (mips_ip): Don't put stuff in .rodata when embedded-pic. * config/tc-mips.c (SWITCH_TABLE): The ELF embedded-pic implementation doesn't have special handling for switch statements. (macro_build): Allow for code in sections other than .text. (macro): Likewise. (mips_ip): Likewise. (md_apply_fix): Do pc-relative relocation madness for MIPS ELF. Don't perform relocs if we will be outputting them. (tc_gen_reloc): For ELF, just use fx_addnumber for pc-relative relocations. Allow BFD_RELOC_16_PCREL_S2 relocs when embedded-pic. In gas/testsuite/: * gas/mips/empic.d: New file. * gas/mips/empic.s: New file. * gas/mips/mips16-e.d: New file. * gas/mips/mips16-e.s: New file. * gas/mips/mips16-f.d: New file. * gas/mips/mips16-f.s: New file. * gas/mips/mips.exp: Add empic, mips16-e. Add mips16-f as an expected failure. In include/elf: * mips.h: Add R_MIPS_GNU_REL_HI16, R_MIPS_GNU_REL_LO16, R_MIPS_GNU_REL16_S2, R_MIPS_PC64 and R_MIPS_PC32 relocation numbers.
2000-03-11Fix typos in comments, and restore comment formatting destroyed by emacs atAlan Modra2-47/+56
some stage.
2000-03-07 * reloc.c (reloc_howto_struct): Fix partial_inplace comment.Doug Evans3-4/+35
* bfd-in2.h: Rebuild.
2000-03-06Further LINK6 bug fix.Nick Clifton1-7/+5
2000-03-06fix LINK6 code.Nick Clifton2-47/+103