summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* * config/tc-mips.c (hilo_interlocks, gpr_interlocks,Thiemo Seufer2004-04-222-6/+5
| | | | cop_interlocks): Remove superfluous CPU entries.
* Move testsuite ChangeLog entry to testsuite/ChangeLogH.J. Lu2004-04-222-4/+4
|
* 2004-04-22 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu2004-04-222-7/+11
| | | | * ld-i386/tlspic.dd: Updated.
* * config/tc-arm.c (mav_parse_offset): Value must be multiple of 4.Paul Brook2004-04-226-941/+961
| | | | | | | | testsuite * maverick.c (off8s): Test full shifted operand range. (MCC2): Define. (MVDSPACC, MVACCDSP): Use it. * maverick.d, maverick.s: Regenerate.
* 2004-04-22 Andrew Cagney <cagney@redhat.com>Andrew Cagney2004-04-222-0/+8
| | | | * cache.c (bfd_cache_close): Check for a previously closed file.
* bfd/Jakub Jelinek2004-04-2225-5/+305
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * bfd.c (bfd_get_synthetic_symtab): Define. * targets.c (BFD_JUMP_TABLE_DYNAMIC): Add NAME##_get_synthetic_symtab. (struct bfd_target): Add _bfd_get_synthetic_symtab. * libbfd-in.h (_bfd_nodynamic_get_synthetic_symtab): Define. * elf-bfd.h (struct elf_backend_data): Add plt_sym_val and relplt_name fields. (_bfd_elf_get_synthetic_symtab): New prototype. * elfcode.h (elf_get_synthetic_symtab): Define. * elf.c (_bfd_elf_get_synthetic_symtab): New function. * elfxx-target.h (bfd_elfNN_get_synthetic_symtab): Define. (elf_backend_plt_sym_val, elf_backend_relplt_name): Define. (elfNN_bed): Add elf_backend_plt_sym_val and elf_backend_relplt_name. * bfd-in2.h: Rebuilt. * libbfd.h: Rebuilt. * elf32-i386.c (elf_i386_plt_sym_val): New function. (elf_backend_plt_sym_val): Define. * elf64-x86-64.c (elf64_x86_64_plt_sym_val): New function. (elf_backend_plt_sym_val): Define. * elf32-s390.c (elf_s390_plt_sym_val): New function. (elf_backend_plt_sym_val): Define. * elf64-s390.c (elf_s390_plt_sym_val): New function. (elf_backend_plt_sym_val): Define. * elf32-sparc (elf32_sparc_plt_sym_val): New function. (elf_backend_plt_sym_val): Define. * elf64-sparc.c (sparc64_elf_plt_sym_val): New function. (elf_backend_plt_sym_val): Define. * elf32-ppc.c (ppc_elf_plt_sym_val): New function. (elf_backend_plt_sym_val): Define. * aout-target.h (MY_get_synthetic_symtab): Define. * aout-tic30.c (MY_get_synthetic_symtab): Define. * coff-rs6000.c (rs6000coff_vec): Add _bfd_nodynamic_get_synthetic_symtab. (pmac_xcoff_vec): Likewise. * coff64-rs6000.c (rs6000coff64_vec): Add _bfd_nodynamic_get_synthetic_symtab. (aix5coff64_vec): Likewise. * sunos.c (MY_get_synthetic_symtab): Define. * vms.c (vms_get_synthetic_symtab): Define. binutils/ * objdump.c (synthsyms, synthcount): New variables. (disassemble_data): Use dynsyms for stripped binaries or libraries. Add synthetized symbols. (dump_bfd): For disassemble, initialize dynsyms always and also synthsyms. Free synthsyms and clear {sym,dynsym,synth}count before returning.
* Have bfd_archive_filename() return NULL on NULL inputNick Clifton2004-04-222-1/+5
|
* Add support for ColdFire MAC instructions and tidy up support for other m68kNick Clifton2004-04-2220-155/+20252
| | | | variants.
* Apply Bruno de Bus's patch to record the ARM mapping symbol state on a per-Nick Clifton2004-04-223-112/+111
| | | | section basis and to switch to the MAP_DATA state when emitting literal pools.
* (forgot to commit this earlier)Chris Demetriou2004-04-221-0/+32
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2004-04-21 Chris Demetriou <cgd@broadcom.com> * gas/mips/elempic.d: File removed as part of -membedded-pic removal. * gas/mips/empic.d: Likewise. * gas/mips/empic.l: Likewise. * gas/mips/empic.s: Likewise. * gas/mips/empic2.d: Likewise. * gas/mips/empic2.s: Likewise. * gas/mips/empic3_e.d: Likewise. * gas/mips/empic3_e.s: Likewise. * gas/mips/empic3_g1.d: Likewise. * gas/mips/empic3_g1.s: Likewise. * gas/mips/empic3_g2.d: Likewise. * gas/mips/empic3_g2.s: Likewise. * gas/mips/jal-empic-elf-2.d: Likewise. * gas/mips/jal-empic-elf-2.s: Likewise. * gas/mips/jal-empic-elf-3.d: Likewise. * gas/mips/jal-empic-elf-3.s: Likewise. * gas/mips/jal-empic-elf.d: Likewise. * gas/mips/jal-empic.d: Likewise. * gas/mips/la-empic.d: Likewise. * gas/mips/la-empic.s: Likewise. * gas/mips/lb-empic.d: Likewise. * gas/mips/ld-empic.d: Likewise. * gas/mips/lif-empic.d: Likewise. * gas/mips/telempic.d: Likewise. * gas/mips/tempic.d: Likewise. * gas/mips/ulh-empic.d: Likewise. * gas/mips/ld-pic.s: Remove code conditional on EMPIC. * gas/mips/lifloat.s: Likewise. * gas/mips/mips.exp: Remove -membedded-pic tests and related comments.
* 2004-04-21 Chris Demetriou <cgd@broadcom.com>Chris Demetriou2004-04-2229-2166/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * gas/mips/elempic.d: File removed as part of -membedded-pic removal. * gas/mips/empic.d: Likewise. * gas/mips/empic.l: Likewise. * gas/mips/empic.s: Likewise. * gas/mips/empic2.d: Likewise. * gas/mips/empic2.s: Likewise. * gas/mips/empic3_e.d: Likewise. * gas/mips/empic3_e.s: Likewise. * gas/mips/empic3_g1.d: Likewise. * gas/mips/empic3_g1.s: Likewise. * gas/mips/empic3_g2.d: Likewise. * gas/mips/empic3_g2.s: Likewise. * gas/mips/jal-empic-elf-2.d: Likewise. * gas/mips/jal-empic-elf-2.s: Likewise. * gas/mips/jal-empic-elf-3.d: Likewise. * gas/mips/jal-empic-elf-3.s: Likewise. * gas/mips/jal-empic-elf.d: Likewise. * gas/mips/jal-empic.d: Likewise. * gas/mips/la-empic.d: Likewise. * gas/mips/la-empic.s: Likewise. * gas/mips/lb-empic.d: Likewise. * gas/mips/ld-empic.d: Likewise. * gas/mips/lif-empic.d: Likewise. * gas/mips/telempic.d: Likewise. * gas/mips/tempic.d: Likewise. * gas/mips/ulh-empic.d: Likewise. * gas/mips/ld-pic.s: Remove code conditional on EMPIC. * gas/mips/lifloat.s: Likewise. * gas/mips/mips.exp: Remove -membedded-pic tests and related comments.
* daily updateAlan Modra2004-04-221-1/+1
|
* [ bfd/ChangeLog ]Chris Demetriou2004-04-2149-1893/+104
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2004-04-21 Chris Demetriou <cgd@broadcom.com> * coff-mips.c (bfd_mips_ecoff_create_embedded_relocs): Remove. * elf32-mips.c (bfd_mips_elf32_create_embedded_relocs): Remove. * bfd-in.h (bfd_mips_ecoff_create_embedded_relocs) (bfd_mips_elf32_create_embedded_relocs): Remove prototypes * bfd-in2.h: Regenerate. [ ld/ChangeLog ] 2004-04-21 Chris Demetriou <cgd@broadcom.com> * ld.texinfo: Remove MIPS --embedded-relocs documentation. * emulparams/elf32bmip.sh (EXTRA_EM_FILE): Remove definition. * emulparams/mipsidt.sh (TEMPLATE_NAME): Use generic.em. (EXTRA_EM_FILE): Use mipsecoff.em * emulparams/mipsidtl.sh (TEMPLATE_NAME): Use generic.em. (EXTRA_EM_FILE): Use mipsecoff.em * emultempl/mipsecoff.em: Restructure to be included as an extra emulation file. (check_sections, gld${EMULATION_NAME}_after_open) (gld${EMULATION_NAME}_after_allocation) (gld${EMULATION_NAME}_get_script) (ld_${EMULATION_NAME}_emulation): Remove (gld${EMULATION_NAME}_before_parse): Rename to... (mipsecoff_before_parse): This. (LDEMUL_BEFORE_PARSE): Define. * emultempl/mipself.em: Remove file. * scripttempl/mips.sc (.rel.sdata): Do not include in output. (__runtime_reloc_start, __runtime_reloc_stop): Stop providing these symbols. * Makefile.am: Remove dependencies on emultempl/mipself.em. * Makefile.in: Regenerate. [ ld/testsuite/ChangeLog ] 2004-04-21 Chris Demetriou <cgd@broadcom.com> * ld-empic/run.c: Removed as part of MIPS --embedded-relocs removal. * ld-empic/empic.exp: Likewise. * ld-empic/relax.t: Likewise. * ld-empic/relax1.c: Likewise. * ld-empic/relax2.c: Likewise. * ld-empic/relax3.c: Likewise. * ld-empic/relax4.c: Likewise. * ld-empic/runtest1.c: Likewise. * ld-empic/runtest2.c: Likewise. * ld-empic/runtesti.s: Likewise. * ld-mips-elf/empic1-ln.d: Likewise. * ld-mips-elf/empic1-lp.d: Likewise. * ld-mips-elf/empic1-mn.d: Likewise. * ld-mips-elf/empic1-mp.d: Likewise. * ld-mips-elf/empic1-ref.s: Likewise. * ld-mips-elf/empic1-sn.d: Likewise. * ld-mips-elf/empic1-sp.d: Likewise. * ld-mips-elf/empic1-space.s: Likewise. * ld-mips-elf/empic1-tgt.s: Likewise. * ld-mips-elf/empic2-fwd-0.d: Likewise. * ld-mips-elf/empic2-fwd-1.d: Likewise. * ld-mips-elf/empic2-fwd-tgt.s: Likewise. * ld-mips-elf/empic2-ref.s: Likewise. * ld-mips-elf/empic2-rev-0.d: Likewise. * ld-mips-elf/empic2-rev-1.d: Likewise. * ld-mips-elf/empic2-rev-tgt.s: Likewise. * ld-mips-elf/empic2-space.s: Likewise. * ld-mips-elf/emrelocs-eb.d: Likewise. * ld-mips-elf/emrelocs-el.d: Likewise. * ld-mips-elf/emrelocs.ld: Likewise. * ld-mips-elf/emrelocs1.s: Likewise. * ld-mips-elf/emrelocs2.s: Likewise. * ld-mips-elf/mips-elf.exp: Don't run now-removed tests.
* * elf32-xtensa.c (is_same_value): Add final_static_link argument andBob Wilson2004-04-212-17/+39
| | | | | | | require relocations against a weak symbol to reference the same symbol hash entry if not a final, static link. (get_cached_value, add_value_map): Add final_static_link argument. (remove_literals): Pass final_static_link argument as needed.
* 2004-04-21 Andrew Cagney <cagney@redhat.com>Andrew Cagney2004-04-217-80/+388
| | | | | | | | | | | | | | | | | | | | | * opncls.c (_bfd_new_bfd_contained_in): Copy "iovec". (struct opncls, opncls_btell, opncls_bseek, opncls_bread) (opncls_bwrite, opncls_bclose, opncls_bflush) (opncls_bstat, opncls_iovec, bfd_openr_iovec): Implement a bfd iovec that uses function callbacks. (bfd_close): Use the iovec's bclose. * cache.c (cache_btell, cache_bseek, cache_bread, cache_bwrite) (cache_bclose, cache_bflush, cache_bstat) (cache_iovec): New functions and global variable, implement a cache "iovec", where applicable set bfd_error. (bfd_cache_init, bfd_cache_close): Set/test the bfd's iovec. * bfdio.c (struct bfd_iovec): Define. (real_read): Delete function. (bfd_bread, bfd_bread, bfd_bwrite, bfd_tell, bfd_flush, bfd_stat) (bfd_seek, bfd_get_mtime, bfd_get_size): Use the bfd's "iovec", assume that bread and bwrite set bfd_error. * bfd.c (struct bfd): Add "iovec", update comments. * bfd-in2.h, libbfd.h: Re-generate.
* 2004-04-21 Andrew Cagney <cagney@redhat.com>Andrew Cagney2004-04-212-0/+5
| | | | * libaout.h (enum machine_type): Add M_POWERPC_NETBSD.
* Add more documentation about h8300 relaxation.Nick Clifton2004-04-212-0/+23
|
* * NEWS: Mention change in DEFINED semantics.Hans-Peter Nilsson2004-04-212-0/+7
|
* * scripttempl/elf.sc (.text): Add KEEP for .text.*personality*.Eric Botcazou2004-04-212-1/+9
| | | | | (.data): Add KEEP for .gnu.linkonce.d.*personality*. (.gcc_except_table): Add KEEP for self and accept .gcc_except_table.*.
* * elflink.c (elf_gc_mark_dynamic_ref_symbol): New function.Eric Botcazou2004-04-212-5/+46
| | | | | | | | (bfd_elf_gc_sections): Fail if a shared object is being created. Do not fail if dynamic sections have been created. Instead call elf_gc_mark_dynamic_ref_symbol to mark sections that contain dynamically referenced symbols. Do not mark the whole graph rooted at .eh_frame, only the section proper.
* * ld.texinfo (Simple Example): Add missing punctuation.Ben Elliston2004-04-212-1/+5
|
* [ gas/ChangeLog ]Chris Demetriou2004-04-214-0/+14
| | | | | | | | | | | 2004-04-20 Chris Demetriou <cgd@broadcom.com> * NEWS: Note that MIPS -membedded-pic option is deprecated. [ ld/ChangeLog ] 2004-04-20 Chris Demetriou <cgd@broadcom.com> * NEWS: Note that MIPS --embedded-relocs option is deprecated.
* daily updateAlan Modra2004-04-211-1/+1
|
* 2004-04-20 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu2004-04-206-1/+69
| | | | | | | | | | * ld-elfweak/elfweak.exp: Add an undefined weak size change test. * ld-elfweak/size.dat: New file. * ld-elfweak/size_bar.c: Likewise. * ld-elfweak/size_foo.c: Likewise. * ld-elfweak/size_main.c: Likewise.
* Add support for a .secrel32 x86 reloc to allow DWARF" debug information to usedNick Clifton2004-04-2019-0/+426
| | | | with COFF based x86 ports.
* * sparc-opc.c (fmoviccx, fmovfccx, fmovccx): Define.Jakub Jelinek2004-04-202-101/+70
| | | | | | (fmovicc, fmovfcc, fmovcc): Remove fpsize argument, change opcode to suffix. Use fmov*x macros, create all 3 fpsize variants in one macro. Adjust all users.
* daily updateAlan Modra2004-04-201-1/+1
|
* 2004-04-19 Eric Christopher <echristo@redhat.com>Eric Christopher2004-04-192-4/+5
| | | | | * config/tc-mips.c (mips_dwarf2_addr_size): Revert part of previous patch for fix in gcc.
* * configure.in (mips*-*-irix5*): Enable ld.Rainer Orth2004-04-193-53/+56
| | | | * configure: Regenerate.
* bfd/Jakub Jelinek2004-04-198-7/+50
| | | | | | | | | | | * elf32-sparc.c (elf32_sparc_relocate_section): Handle relocs against hidden/protected undefweak symbols properly. * elf64-sparc.c (sparc64_elf_relocate_section): Likewise. gas/testsuite/ * gas/cfi/cfi-sparc64-1.d: Update. ld/testsuite/ * ld-elfvsb/elfvsb.exp: XFAIL some tests on sparc64. * ld-shared/shared.exp: Likewise.
* * config/tc-xtensa.c (xg_assembler_literal): Fix a typo.Jakub Jelinek2004-04-192-1/+5
|
* * read.c (do_align): Call md_flush_pending_output, if defined.Nathan Sidwell2004-04-192-0/+7
|
* * ldlang.c (lang_do_assignments_1): Handle .tbss output sectionJakub Jelinek2004-04-192-3/+10
| | | | specially.
* daily updateAlan Modra2004-04-191-1/+1
|
* * libaout.h (enum machine_type): Add M_POWERPC_NETBSD.Mark Kettenis2004-04-182-0/+10
| | | | | * netbsd-core.c (netbsd_core_file_p): Set architecture for PowerPC core files.
* daily updateAlan Modra2004-04-181-1/+1
|
* * scriptempl/pe.sc: Put numbered .ctors.* after .ctorsDanny Smith2004-04-172-2/+7
| | | | with default priority. Likewise for dtors.
* * peXXigen.c (_bfd_XXi_swap_aouthdr_out): Use the first non-zeroAlan Modra2004-04-172-8/+19
| | | | | | | filepos for the SizeOfHeaders field. (_bfd_XXi_swap_scnhdr_out): Correct section flags lossage on reloc overflow. (_bfd_XXi_swap_sym_in): Remove redundant section flags assignment.
* daily updateAlan Modra2004-04-171-1/+1
|
* Restore 2002 ChangeLog history.Brian Ford2004-04-161-1/+1936
|
* Fix LDFLAGS related configure errors.Jim Wilson2004-04-163-0/+80
| | | | | | | * Makefile.tpl (configure-[+module+], configure-gcc, configure-stage1-gcc, configure-stage2-gcc, configure-stage3-gcc): Set and export LDFLAGS. * Makefile.in: Regenerate.
* * simple.c (bfd_simple_get_relocated_section_contents): Don'tAlan Modra2004-04-162-27/+19
| | | | | change reloc_done. Set and restore _cooked_size. (RETURN): Delete.
* * expr.c (operand): Correct checks for ++ and --.Alan Modra2004-04-162-2/+6
|
* * netbsd-core.c (netbsd_core_file_p): Set architecture for VAXMark Kettenis2004-04-152-1/+11
| | | | core files.
* Treat adds and subs as a special caseNick Clifton2004-04-152-0/+16
|
* Catch NULL bfd pointers passed to bfd_archive_filenameNick Clifton2004-04-152-0/+7
|
* * elf64-sparc.c (sparc64_elf_check_relocs): Fix thinko last change.Alan Modra2004-04-152-2/+7
|
* * elflink.c (_bfd_elf_merge_symbol): Treat weak as strong onlyAlan Modra2004-04-152-9/+18
| | | | when it is a definition.
* gas/H.J. Lu2004-04-155-0/+33
| | | | | | | | | | | | | 2004-04-14 H.J. Lu <hongjiu.lu@intel.com> * config/tc-generic.c: Add some comments. ld/testsuite/ 2004-04-14 H.J. Lu <hongjiu.lu@intel.com> * ld-scripts/assert.s: Add a newline. * ld-scripts/data.s: Likewise.
* daily updateAlan Modra2004-04-151-1/+1
|