summaryrefslogtreecommitdiff
path: root/bfd
Commit message (Collapse)AuthorAgeFilesLines
* 2002-01-08 Klee Dienes <kdienes@apple.com>Klee Dienes2003-01-093-4/+10
| | | | | | * Makefile.am (ALL_MACHINES): Use cpu-msp430.lo, not cpu-msp430.c. (BFD32_BACKENDS): Use elf32-msp430.lo, not elf32-msp430.c. * Makefile.in: Regenerate.
* daily updateAlan Modra2003-01-081-1/+1
|
* * elfn32-mips.c (prev_reloc_section): New.Alexandre Oliva2003-01-082-12/+21
| | | | | (GET_RELOC_ADDEND): Use it. Parenthesize macro arguments. (SET_RELOC_ADDEND): Parenthesize macro argument.
* * elf32-hppa.c (final_link_relocate): For all DP relative relocations,Dave Anglin2003-01-082-7/+11
| | | | adjust addil instructions if the symbol has no section.
* daily updateAlan Modra2003-01-071-1/+1
|
* * elf32-xstormy16.c (xstormy16_elf_howto_table): Make REL_12 notDJ Delorie2003-01-072-1/+6
| | | | partial_inplace.
* * elf32-m68k.c (elf_m68k_check_relocs): Don't set DF_TEXTREL forAndreas Schwab2003-01-072-6/+34
| | | | | PC relative relocations. (elf_m68k_discard_copies): Set it here instead.
* daily updateAlan Modra2003-01-061-1/+1
|
* daily updateAlan Modra2003-01-051-1/+1
|
* daily updateAlan Modra2003-01-041-1/+1
|
* daily updateAlan Modra2003-01-031-1/+1
|
* * Makefile.am (ALL_MACHINES): Add cpu-iq2000.lo.Stan Cox2003-01-0313-3/+1109
| | | | | | | | | | | | | | | | | | | | | | (ALL_MACHINES_CFILES): Add cpu-iq2000.c. (BFD32_BACKENDS): Add elf32-iq2000.lo. (BFD32_BACKENDS_CFILES): Add elf32-iq2000.c. (cpu-iq2000.lo): New target. * Makefile.in: Regenerate. * config.bfd: Handle iq2000-*-elf. * archures.c (bfd_architecture): Add bfd_{arch,mach}_iq2000. (bfd_archures_list): Add bfd_iq2000_arch. * configure.in: Handle bfd_elf32_iq2000_vec. * configure: Regenerate. * reloc.c: Add BFD_RELOC_IQ2000_OFFSET_16, BFD_RELOC_IQ2000_OFFSET_21, and BFD_RELOC_IQ2000_UHI16. * targets.c (bfd_elf32_iq2000_vec): Declare. (bfd_target_vector): Add bfd_elf32_iq2000_vec. * elf.c (prep_headers): Set e_machine to EM_IQ2000. * cpu-iq2000.c: New file. * elf32-iq2000.c: Likewise. * libbfd.h: Regenerate. * bfd-in2.h: Likewise.
* oops - omitted from previous delta - a reworking of the linker relaxation code.Nick Clifton2003-01-031-740/+717
|
* daily updateAlan Modra2003-01-021-1/+1
|
* bfd/Richard Sandiford2003-01-022-110/+167
| | | | | | | | | | | | | | | | | | * elfxx-mips.c: Include libiberty.h. (elf_mips_isa, _bfd_mips_elf_mach_extends_p): Remove. (mips_set_isa_flags): New function, split out from... (_bfd_mips_elf_final_write_processing): ...here. Only call mips_set_isa_flags if the EF_MIPS_MACH bits are clear. (mips_mach_extensions): New array. (mips_32bit_flags_p): New function. (_bfd_mips_elf_merge_private_bfd_data): Rework architecture checks. Use mips_32bit_flags_p to check if one binary is 32-bit and the other is 64-bit. When adopting IBFD's architecture, adopt the bfd_mach as well as the flags. ld/testsuite/ * ld-mips-elf/jr.s: New file. * ld-mips-elf/mips-elf-flags.exp: New test.
* Rework IP2k linker relxation.Nick Clifton2003-01-021-0/+8
|
* daily updateAlan Modra2003-01-011-1/+1
|
* daily updateAlan Modra2002-12-311-1/+1
|
* [ bfd/ChangeLog ]Chris Demetriou2002-12-316-2/+36
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2002-12-30 Chris Demetriou <cgd@broadcom.com> * aoutx.h (NAME(aout,machine_type)): Add bfd_mach_mipsisa32r2 case. * archures.c (bfd_mach_mipsisa32r2): New define. * bfd-in2.h: Regenerate. * cpu-mips.c (I_mipsisa32r2): New enum value. (arch_info_struct): Add entry for I_mipsisa32r2. * elfxx-mips.c (elf_mips_isa, _bfd_elf_mips_mach) (_bfd_mips_elf_print_private_bfd_data): Handle E_MIPS_ARCH_32R2. (_bfd_mips_elf_final_write_processing): Add bfd_mach_mipsisa32r2 case. (_bfd_mips_elf_merge_private_bfd_data): Handle merging of binaries marked as using MIPS32 Release 2. [ binutils/ChangeLog ] 2002-12-30 Chris Demetriou <cgd@broadcom.com> * doc/binutils.texi (objdump): Note MIPS HWR (Hardware Register) changes in MIPS -M options. [ gas/ChangeLog ] 2002-12-30 Chris Demetriou <cgd@broadcom.com> * configure.in: Recognize mipsisa32r2, mipsisa32r2el, and CPU variants. * configure: Regenerate. * config/tc-mips.c (ISA_HAS_DROR, ISA_HAS_ROR): New defines. (macro_build): Handle "K" operand. (macro2): Use ISA_HAS_DROR and ISA_HAS_ROR in the places where CPU_HAS_DROR and CPU_HAS_ROR are currently used. (mips_ip): New variable "lastpos", and implement "+A", "+B", and "+C" operands for MIPS32 Release 2 ins/ext instructions. Implement "K" operand for MIPS32 Release 2 rdhwr instruction. (validate_mips_insn): Implement "+" as a way to extend the allowed operands, and implement "K", "+A", "+B", and "+C" operands. (OPTION_MIPS32R2): New define. (md_longopts): Add entry for OPTION_MIPS32R2. (OPTION_ELF_BASE): Adjust to accomodate OPTIONS_MIPS32R2. (md_parse_option): Handle OPTION_MIPS32R2. (s_mipsset): Reimplement handling of ".set mipsN" options and add support for ".set mips32r2". (mips_cpu_info_table): Add entry for "mips32r2" (MIPS32 Release 2). (md_show_usage): Document "-mips32r2" option. * doc/as.texinfo: Document "-mips32r2" option. * doc/c-mips.texi: Likewise. [ gas/testsuite/ChangeLog ] 2002-12-30 Chris Demetriou <cgd@broadcom.com> * gas/mips/cp0-names-mips32r2.d: New test. * gas/mips/hwr-names-mips32r2.d: New test. * gas/mips/hwr-names-numeric.d: New test. * gas/mips/hwr-names.s: New test source file. * gas/mips/mips32r2.d: New test. * gas/mips/mips32r2.s: New test source file. * gas/mips/mips32r2-ill.l: New test. * gas/mips/mips32r2-ill.s: New test source file. * gas/mips/mips.exp: Add mips32r2 architecture data array entry. Run new tests mentioned above. [ include/elf/ChangeLog ] 2002-12-30 Chris Demetriou <cgd@broadcom.com> * mips.h (E_MIPS_ARCH_32R2): New define. [ include/opcode/ChangeLog ] 2002-12-30 Chris Demetriou <cgd@broadcom.com> * mips.h: Document "+" as the start of two-character operand type names, and add new "K", "+A", "+B", and "+C" operand types. (OP_MASK_INSMSB, OP_SH_INSMSB, OP_MASK_EXTMSB) (OP_SH_EXTMSB, INSN_ISA32R2, ISA_MIPS32R2, CPU_MIPS32R2): New defines. [ opcodes/ChangeLog ] 2002-12-30 Chris Demetriou <cgd@broadcom.com> * mips-dis.c (mips_cp0_names_mips3264r2, mips_hwr_names_numeric) (mips_hwr_names_mips3264r2): New arrays. (mips_arch_choice): New "hwr_names" member. (mips_arch_choices): Adjust for structure change, and add a new entry for "mips32r2" ISA. (mips_hwr_names): New variable. (set_default_mips_dis_options): Set mips_hwr_names. (parse_mips_dis_option): New "hwr-names" option which sets mips_hwr_names, and adjust "reg-names=ARCH" to set mips_hwr_names. (print_insn_arg): Change return type to "int" and use that to indicate number of characters consumed. Add support for "+" operand extension character, "+A", "+B", "+C", and "K" operands. (print_insn_mips): Adjust for changes to print_insn_arg. (print_mips_disassembler_options): Adjust for "hwr-names" addition and "reg-names" change. * mips-opc (I33): New define (shorthand for INSN_ISA32R2). (mips_builtin_opcodes): Note that "nop" and "ssnop" are special forms of "sll". Add new MIPS32 Release 2 instructions: ehb, di, ei, ext, ins, jr.hb, jalr.hb, mfhc1, mfhc2, mthc1, mthc2, rdhwr, rdpgpr, seb, seh, synci, wrpgpr, wsbh. Note that hardware rotate instructions (ror, rorv) can be used on MIPS32 Release 2, and add the official mnemonics for them (rotr, rotrv) and the similar "rotl" mnemonic for left-rotate.
* daily updateAlan Modra2002-12-301-1/+1
|
* Add support for msp430.Nick Clifton2002-12-3013-14/+937
|
* daily updateAlan Modra2002-12-291-1/+1
|
* daily updateAlan Modra2002-12-281-1/+1
|
* * elf.c (elf_sort_sections): Don't reorder .tbss.Jakub Jelinek2002-12-283-12/+55
| | | | | | | | | | | | | | | (assign_file_positions_for_segments): Only adjust off/voff for increased alignment in PT_LOAD or PT_NOTE segment, but adjust p_filesz for .tbss too. in PT_LOAD consider .tbss to have zero memory size. (copy_private_bfd_data) [SECTION_SIZE]: Define. [IS_CONTAINED_BY_VMA, IS_CONTAINED_BY_LMA]: Use it. [INCLUDE_SECTION_IN_SEGMENT]: Only put SHF_TLS sections into PT_TLS segment. Never put SHF_TLS sections in segments other than PT_TLS or PT_LOAD. * elf64-alpha.c (elf64_alpha_finish_dynamic_sections): Clear .plt sh_entsize.
* daily updateAlan Modra2002-12-271-1/+1
|
* daily updateAlan Modra2002-12-261-1/+1
|
* daily updateAlan Modra2002-12-251-1/+1
|
* daily updateAlan Modra2002-12-241-1/+1
|
* * coff64-rs6000.c (xcoff64_ppc_relocate_section): Fix logic reversal.DJ Delorie2002-12-242-1/+5
|
* daily updateAlan Modra2002-12-231-1/+1
|
* * elflink.h (elf_link_output_extsym): Heed strip_discarded.Alan Modra2002-12-232-5/+14
|
* Change linker's default behaviour - it will now reject binary files whoesNick Clifton2002-12-234-15/+35
| | | | | architecture it does not recognise, unless it has explicitly told to accept them.
* daily updateAlan Modra2002-12-221-1/+1
|
* daily updateAlan Modra2002-12-211-1/+1
|
* Disable WINCE workaround that subtracted 8 from pc relative relocations.Nick Clifton2002-12-212-0/+8
|
* daily updateAlan Modra2002-12-201-1/+1
|
* * coff-h8300.c: Fix comment typos.Kazu Hirata2002-12-2010-12/+24
| | | | | | | | | | | * coffcode.h: Likewise. * cpu-cris.c: Likewise. * elf32-vax.c: Likewise. * genlink.h: Likewise. * linker.c: Likewise. * som.c: Likewise. * tekhex.c: Likewise. * vms-misc.c: Likewise.
* * reloc.c: Add BFD_RELOC_XSTORMY16_12.DJ Delorie2002-12-205-1/+29
| | | | | | | * libbfd.h: Regenerate. * bfd-in2.h: Regenerate. * elf32-xstormy16.c (xstormy16_elf_howto): Add R_XSTORMY16_12. (xstormy16_reloc_map): Add R_XSTORMY16_12.
* * doc/bfdint.texi: Fix typos.Kazu Hirata2002-12-202-2/+6
|
* * acinclude.m4 (AM_INSTALL_LIBBFD): Do not rely on "test -o".Alan Modra2002-12-206-517/+490
| | | | | | | | * configure.in (build-warnings): Likewise. (Horrible hacks to build DLLs on Windows): Do not rely on "tail -1". * aclocal.m4: Regenerate. * config.in: Regenerate. * configure: Regenerate.
* daily updateAlan Modra2002-12-191-1/+1
|
* * coff-h8300.c: Include libiberty.h.Alan Modra2002-12-192-34/+62
| | | | | | | (h8300_reloc16_extra_cases): Check the hash table creator before referencing h8300 specific fields. Stash the hash table pointer in a local var. Comment typo fixes. (h8300_bfd_link_add_symbols): Likewise.
* daily updateAlan Modra2002-12-181-1/+1
|
* * bfd/reloc.c (struct reloc_howto_struct): Revise src_mask andAlan Modra2002-12-183-22/+26
| | | | | dst_mask comments. * bfd-in2.h: Regenerate.
* * elf32-ppc.c (ppc_elf_relocate_section): Reorganize dynamic relocAlan Modra2002-12-182-6/+15
| | | | code a little. Comment on dynamic relocs against section symbols.
* daily updateAlan Modra2002-12-171-1/+1
|
* * configure.host (ia64-*-hpux*): Support 64 bit targets usingAlan Modra2002-12-172-1/+10
| | | | the HP compiler's "long long".
* * elf32-xstormy16.c (xstormy16_elf_howto): Add R_XSTORMY16_LO16DJ Delorie2002-12-172-1/+41
| | | | | | | and R_XSTORMY16_HI16) howto entries. (xstormy16_reloc_map): Map R_XSTORMY16_{LO,HI}16 to BFD_RELOC_{LO,HI}16. (xstormy16_info_to_howto_rela): Use R_XSTORMY16_GNU_VTINHERIT to determine the start of the second reloc table.
* daily updateAlan Modra2002-12-161-1/+1
|
* Fix the reading of the debugging information of Tru64/Alpha binaries thatNick Clifton2002-12-162-42/+169
| | | | are produced by recent Compaq compilers.