aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2002-06-07 * elf-bfd.h (struct bfd_elf_section_data <group_name>): Replace withAlan Modra4-26/+62
"group" union. (elf_group_name): Update. (elf_group_id): Define. (bfd_elf_set_group_contents): Declare. * elf.c (elf_fake_sections): Qualify use of elf_group_name. (set_group_contents): Rename to bfd_elf_set_group_contents. Remove ATTRIBUTE_UNUSED from failedptrarg. If elf_group_id is set, use that sym for the signature. (_bfd_elf_compute_section_file_positions): Don't call set_group_contents for "ld -r" case. (swap_out_syms): Use bfd_zalloc. * elflink.h (elf_link_add_archive_symbols): Likewise. (NAME(bfd_elf,size_dynamic_sections)): Likewise. (elf_bfd_final_link): Call bfd_elf_set_group_contents.
2002-06-07Enable pei386_auto_import by default. Only print a info message about autoNick Clifton5-21/+44
imports being resilved if this feature was not requested via a command line switch.
2002-06-07When computing size of symbols for an ELF target use the internal size field.Nick Clifton2-6/+14
2002-06-07Fix phdrs2 testNick Clifton3-11/+18
2002-06-07Add comment for last change.Joern Rennecke1-0/+15
2002-06-07 * elf64-ppc.c (ppc64_elf_relocate_section): Allow unresolvedAlan Modra2-10/+20
relocs in opd for non-shared too.
2002-06-07 * scripttempl/elf.sc (.tbss): Fix mismatched parentheses/braces.Alan Modra2-1/+5
2002-06-07 * Makefile.am (libbfd.h): Don't use "echo -n".Alan Modra3-18/+18
(libcoff.h, bfd.h): Likewise. * Makefile.in: Regenerate.
2002-06-072002-06-06 Chris Demetriou <cgd@broadcom.com>Chris Demetriou5-311/+464
Ed Satterthwaite <ehs@broadcom.com> * cp1.h: New file. * sim-main.h: Include cp1.h. (SETFCC, GETFCC, IR, UF, OF, DX, IO, UO, FP_FLAGS, FP_ENABLE) (FP_CAUSE, GETFS, FP_RM_NEAREST, FP_RM_TOZERO, FP_RM_TOPINF) (FP_RM_TOMINF, GETRM): Remove. Moved to cp1.h. (FP_FS, FP_MASK_RM, FP_SH_RM, Nan, Less, Equal): Remove. (value_fcr, store_fcr, test_fcsr, fp_cmp): New prototypes. (ValueFCR, StoreFCR, TestFCSR, Compare): New macros. * cp1.c: Don't include sim-fpu.h; already included by sim-main.h. Clean up formatting of some comments. (NaN, Equal, Less): Remove. (test_fcsr, value_fcr, store_fcr, update_fcsr, fp_test) (fp_cmp): New functions. * mips.igen (do_c_cond_fmt): Remove. (C.cond.fmta, C.cond.fmtb): Replace uses of do_c_cond_fmt_a with Compare. Add result tracing. (CxC1): Remove, replace with... (CFC1a, CFC1b, CFC1c, CTC1a, CTC1b, CTC1c): New instructions. (DMxC1): Remove, replace with... (DMFC1a, DMFC1b, DMTC1a, DMTC1b): New instructions. (MxC1): Remove, replace with... (MFC1a, MFC1b, MTC1a, MTC1b): New instructions.
2002-06-07daily updateAlan Modra1-1/+1
2002-06-07*** empty log message ***gdbadmin1-1/+1
2002-06-06 * elf32-h8300.c (elf32_h8_relax_section): Ignore uninterestingJeff Law2-4/+13
relocations.
2002-06-062002-06-06 Michael Snyder <msnyder@redhat.com>Michael Snyder2-22/+43
* gdb.base/overlays.exp: Record addresses of overlay functions in TCL variables rather than in GDB variables, to avoid having GDB convert them to pointers (with loss of information).
2002-06-062002-06-06 Michael Snyder <msnyder@redhat.com>Michael Snyder2-75/+115
* gdb.base/d10v.ld: Merge in several years worth of default linker script changes.
2002-06-062002-06-06 Michael Snyder <msnyder@redhat.com>Michael Snyder2-6/+17
* gdb.base/long_long.exp: Add check for sizeof (long double).
2002-06-062002-06-06 Michael Snyder <msnyder@redhat.com>Michael Snyder2-26/+36
* d10v-tdep.c (d10v_push_arguments): Handle struct_return. Delete extra braces and re-indent.
2002-06-062002-06-06 Michael Snyder <msnyder@redhat.com>Michael Snyder2-21/+44
* d10v-tdep.c (d10v_store_return_value): Char return values must be shifted over by one byte in R0. (d10v_extract_return_value): Delete extra braces, re-indent.
2002-06-06 * config/tc-sh.c (parse_at): @(symbol,pc) is A_DISP_PC again,Joern Rennecke5-15/+39
but warn about it. * testsuite/gas/sh/pcrel.s: Also test @(symbol,pc). * testsuite/gas/sh/pcrel.d: Update. * testsuite/gas/sh/pcrel.l: New file.
2002-06-062002-06-06 Daniel Jacobowitz <drow@mvista.com>Daniel Jacobowitz2-4/+9
* tc-mips.c (mips_after_parse_args): Always set mips_opts.ase_mips3d and mips_opts.ase_mdmx if they are uninitialized.
2002-06-062002-06-06 Elena Zannoni <ezannoni@redhat.com>Elena Zannoni2-11/+22
* d10v-tdep.c (d10v_read_sp, d10v_read_fp): Add prototype. (d10v_register_virtual_type): Make $fp and $sp be pointer to data. (d10v_integer_to_address): Rewrite. (d10v_frame_init_saved_regs): When reading fp and sp registers use the d10v specific functions which take care of converting to the correct space.
2002-06-06* Makefile.in (ChangeLog): New makefile variable.Andrew Cagney3-5/+19
* README-HACKING: Mention the ChangeLog makefile variable.
2002-06-062002-06-06 Elena Zannoni <ezannoni@redhat.com>Elena Zannoni2-0/+9
* config/djgpp/fnchange.lst: Add testsuite files altivec-abi.c, altivec-abi.exp, altivec-regs.c, altivec-regs.exp.
2002-06-06* writecode.c (lookup_inst): Generate inverse table on-the-fly.Andrew Cagney4-11368/+39
(z8k_inv_list): Delete global. (DIRTY_HACK): Delete macro. (makelist): Delete global. (main): Delete code making a list. Delete dirty hack code. Use lookup_inst instead of z8k_inv_list. * list.c: Delete file. * Makefile.in (writecode): Do not link in list.o. (list.o): Delete target.
2002-06-062002-06-06 Michal Ludvig <mludvig@suse.cz>Michal Ludvig3-0/+48
* gdb.asm/asm-source.exp: Add x86-64 target. * gdb.asm/x86_64.inc: New.
2002-06-06merge from gccDJ Delorie6-57/+116
2002-06-06Include libiberty.hNick Clifton3-28/+36
2002-06-06 * peXXigen.c (pe_print_idata): Remove unused variable.Alan Modra2-1/+4
2002-06-06Do not include empty sections in loadable segments.Nick Clifton6-3/+142
2002-06-06 * common.h: Change registry@sco.com to registry@caldera.com.Alan Modra2-2/+9
(EM_PDP10, EM_PDP11): Define.
2002-06-06 * bfdint.texi: Change registry@sco.com to registry@caldera.com.Alan Modra2-2/+6
2002-06-06 * stabs.c (_bfd_link_section_stabs): Check that the symbol offsetRichard Sandiford2-3/+18
is within the .stabstr section.
2002-06-06 * gas/config/tc-hppa.c (pa_ip): Replace "L$0\001" with FAKE_LABEL_NAME.Jeff Law2-12/+31
(hppa_force_relocation): Check if a stub just before the start symbol of the last call_info is reachable before forcing relocation. Fix typo.
2002-06-06 * gas/testsuite/gas/hppa/basic/add.s: Set code level to 1.1.Jeff Law9-1/+22
* gas/testsuite/gas/hppa/basic/branch.s: Likewise. * gas/testsuite/gas/hppa/basic/dcor.s: Likewise. * gas/testsuite/gas/hppa/basic/logical.s: Likewise. * gas/testsuite/gas/hppa/basic/shladd.s: Likewise. * gas/testsuite/gas/hppa/basic/sub.s: Likewise. * gas/testsuite/gas/hppa/basic/unit.s: Likewise. * gas/testsuite/gas/hppa/unsorted/unsorted.exp: Return if target "*-*-linux*".
2002-06-06 * configure.host (hppa*64*-*-hpux11*): Define NATIVE_LIB_DIRS,Jeff Law2-0/+12
HOSTING_CRT0 and HOSTING_LIBS.
2002-06-06 * testsuite/binutils-all/objcopy.exp: clear xfail forJeff Law3-2/+9
"hppa*64*-*-hpux*". * testsuite/binutils-all/hppa/objdump.exp: Return if "*64*-*-*".
2002-06-06elf_swap_symbol_in args should be "const PTR", not "const PTR *".Alan Modra19-72/+116
2002-06-06daily updateAlan Modra1-1/+1
2002-06-06*** empty log message ***gdbadmin1-1/+1
2002-06-05gcc:Joern Rennecke4-0/+30
* config.gcc (sh-*-elf*, sh64*-*-elf*): Unify. (shl*-*-elf*): Add. * config/sh/t-be (MULTILIB_ENDIAN): Set. * config/sh/t-le (MULTILIB_ENDIAN): Likewise. * t-sh (MULTILIB_ENDIAN): Set. (MULTILIB_OPTIONS): Use it. * t-sh64 (MULTILIB_OPTIONS): Likewise. (MULTILIB_DIRNAMES): Likewise. bfd: * config.bfd (sh64l*-*-elf*, shl*-*-elf*): New configurations. ld: configure.tgt (shle*-*-elf*, sh64le-*-elf*): New configurations.
2002-06-05* config/alpha/nm-linux.h: Add "config/" prefix to tm, nm and xmAndrew Cagney78-81/+125
includes. * config/tm-linux.h: Ditto. * config/alpha/tm-alphalinux.h: Ditto. * config/arm/nm-linux.h, config/arm/tm-linux.h: Ditto. * config/arm/xm-nbsd.h, config/i386/nm-gnu.h: Ditto. * config/i386/nm-i386lynx.h, config/i386/nm-i386sol2.h: Ditto. * config/i386/nm-i386v4.h, config/i386/nm-i386v42mp.h: Ditto. * config/i386/nm-linux.h, config/i386/nm-m3.h: Ditto. * config/i386/nm-ptx4.h, config/i386/nm-x86-64.h: Ditto. * config/i386/tm-i386gnu.h, config/i386/tm-i386lynx.h: Ditto. * config/i386/tm-i386m3.h, config/i386/tm-i386sco5.h: Ditto. * config/i386/tm-i386v4.h, config/i386/tm-linux.h: Ditto. * config/i386/tm-ptx4.h, config/i386/tm-vxworks.h: Ditto. * config/i386/xm-i386v4.h, config/i386/xm-nbsd.h: Ditto. * config/i386/xm-ptx.h, config/i386/xm-ptx4.h: Ditto. * config/i960/tm-vx960.h, config/ia64/nm-aix.h: Ditto. * config/ia64/nm-linux.h, config/ia64/tm-aix.h: Ditto. * config/ia64/tm-linux.h, config/ia64/xm-aix.h: Ditto. * config/m68k/nm-linux.h, config/m68k/nm-m68klynx.h: Ditto. * config/m68k/nm-sysv4.h, config/m68k/tm-linux.h: Ditto. * config/m68k/tm-m68klynx.h, config/m68k/tm-m68kv4.h: Ditto. * config/m68k/tm-sun2os4.h, config/m68k/tm-sun3os4.h: Ditto. * config/m68k/tm-vx68.h, config/m68k/xm-m68kv4.h: Ditto. * config/m68k/xm-nbsd.h, config/m88k/nm-delta88v4.h: Ditto. * config/m88k/tm-delta88v4.h, config/m88k/xm-delta88v4.h: Ditto. * config/mips/nm-irix5.h, config/mips/nm-linux.h: Ditto. * config/mips/tm-linux.h, config/mips/tm-mips64.h: Ditto. * config/mips/tm-mipsm3.h, config/mips/tm-mipsv4.h: Ditto. * config/mips/tm-vxmips.h, config/mips/xm-irix5.h: Ditto. * config/mips/xm-mipsv4.h, config/ns32k/xm-nbsd.h: Ditto. * config/pa/nm-hppao.h, config/powerpc/nm-linux.h: Ditto. * config/powerpc/tm-linux.h, config/powerpc/tm-vxworks.h: Ditto. * config/powerpc/xm-aix.h, config/rs6000/nm-rs6000ly.h: Ditto. * config/rs6000/tm-rs6000ly.h, config/rs6000/xm-aix4.h: Ditto. * config/sh/tm-linux.h, config/sparc/nm-linux.h: Ditto. * config/sparc/nm-sparclynx.h, config/sparc/nm-sun4sol2.h: Ditto. * config/sparc/tm-linux.h, config/sparc/tm-sp64linux.h: Ditto. * config/sparc/tm-sp64sim.h, config/sparc/tm-sparclynx.h: Ditto. * config/sparc/tm-sun4os4.h, config/sparc/tm-sun4sol2.h: Ditto. * config/sparc/tm-vxsparc.h, config/sparc/xm-sun4sol2.h: Ditto.
2002-06-05* emulparams/ns32knbsd.sh (EXECUTABLE_SYMBOLS): Set _DYNAMIC to 0.Jason Thorpe2-0/+7
(NONPAGED_TEXT_START_ADDR): Set to 0x1000.
2002-06-05 * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): PlaceAlan Modra2-1/+6
SEC_EXCLUDE sections when doing a relocatable link.
2002-06-05 * objcopy.c (copy_section): Don't copy SEC_GROUP sections.Alan Modra2-2/+11
2002-06-05 * elf.c (group_signature): Swap in the whole symbol, and handleAlan Modra2-18/+89
extracting section symbol names. (setup_group): Add comment. (set_group_contents): When called from objcopy or ld, arrange for section contents to be written. Write group member output section indices to allow objcopy to reorganize sections. (_bfd_elf_copy_private_section_data): Copy group info.
2002-06-05 * elf-bfd.h (struct elf_size_info): Add swap_symbol_in field.Alan Modra21-51/+146
(bfd_elf32_swap_symbol_in): Update prototype. (bfd_elf64_swap_symbol_in): Likewise. * elfcode.h (elf_swap_symbol_in): Change input args to const PTR *. (elf_slurp_symbol_table): Adjust call to elf_swap_symbol_in. * elflink.h (elf_link_is_defined_archive_symbol): Likewise. (elf_link_add_object_symbols): Likewise. (elf_link_record_local_dynamic_symbol): Likewise. (elf_link_input_bfd): Likewise. (elf_gc_mark): Likewise. (elf_reloc_symbol_deleted_p): Likewise. * elf-m10200.c (mn10200_elf_relax_section): Likewise. (mn10200_elf_relax_delete_bytes): Likewise. (mn10200_elf_symbol_address_p): Likewise. (mn10200_elf_get_relocated_section_contents): Likewise. * elf-m10300.c (mn10300_elf_relax_section): Likewise. (mn10300_elf_relax_section): Likewise. (mn10300_elf_relax_delete_bytes): Likewise. (mn10300_elf_symbol_address_p): Likewise. (mn10300_elf_get_relocated_section_contents): Likewise. * elf32-h8300.c (elf32_h8_relax_section): Likewise. (elf32_h8_relax_delete_bytes): Likewise. (elf32_h8_symbol_address_p): Likewise. (elf32_h8_get_relocated_section_contents): Likewise. * elf32-hppa.c (get_local_syms): Likewise. * elf32-m68k.c (bfd_m68k_elf32_create_embedded_relocs): Likewise. * elf32-mips.c (bfd_mips_elf32_create_embedded_relocs): Likewise. * elf32-sh.c (sh_elf_relax_section): Likewise. (sh_elf_relax_delete_bytes): Likewise. (sh_elf_get_relocated_section_contents): Likewise. * elf32-xstormy16.c (xstormy16_elf_relax_section): Likewise. * elf64-alpha.c (elf64_alpha_relax_section): Likewise. * elf64-hppa.c (elf64_hppa_check_relocs): Likewise. * elf64-mmix.c (mmix_elf_relax_section): Likewise. * elf64-ppc.c (get_local_syms): Likewise. * elf64-sh64.c (sh_elf64_get_relocated_section_contents): Likewise. * elfxx-ia64.c (elfNN_ia64_relax_section): Likewise. * elfcode.h (NAME(_bfd_elf,size_info)): Update initialiser. * elf64-alpha.c (alpha_elf_size_info): Likewise. * elf64-hppa.c (hppa64_elf_size_info): Likewise. * elf64-mips.c (mips_elf64_size_info): Likewise. * elf64-s390.c (s390_elf64_size_info): Likewise. * elf64-sparc.c (sparc64_elf_size_info): Likewise.
2002-06-05* elf32-mips.c (elf32_mips_ignore_discarded_relocs): Move to...Maciej W. Rozycki5-12/+22
elfxx-mips.c (_bfd_mips_elf_ignore_discarded_relocs): ... here. elf64-mips.c (elf_backend_ignore_discarded_relocs): Use _bfd_mips_elf_ignore_discarded_relocs. elfxx-mips.h (_bfd_mips_elf_ignore_discarded_relocs): Declare.
2002-06-052002-06-05 H.J. Lu <hjl@gnu.org>H.J. Lu2-1/+15
* elfxx-mips.c (mips_elf_calculate_relocation): Call _bfd_elf_rel_local_sym for STT_SECTION relocations against the SEC_MERGE section.
2002-06-05 * coff-alpha.c: Update copyright date.Alan Modra4-3/+7
* coff-mips.c: Likewise. * xcoff-target.h: Likewise.
2002-06-05 * bfd-in.h: Remove "taken from the source" comment.Alan Modra37-29/+139
* libbfd-in.h: Likewise. * libcoff-in.h: Likewise. * bfd-in2.h: Regenerate. * libbfd.h: Regenerate. * libcoff.h: Regenerate. * elf.c (bfd_elf_discard_group): Return true. * elf-bfd.h (bfd_elf_discard_group): Declare. * bfd-in.h (bfd_elf_discard_group): Don't declare here. * section.c (bfd_discard_group): Rename to bfd_generic_discard_group. * bfd.c (bfd_discard_group): Define. * targets.c (struct bfd_target): Add _bfd_discard_group. (BFD_JUMP_TABLE_LINK): Here too. * libbfd-in.h (_bfd_nolink_bfd_discard_group): Define. * aout-adobe.c (aout_32_bfd_discard_group): Define. * aout-target.h (MY_bfd_discard_group): Define. * aout-tic30.c (MY_bfd_discard_group): Define. * binary.c (binary_bfd_discard_group): Define. * bout.c (b_out_bfd_discard_group): Define. * coff-alpha.c (_bfd_ecoff_bfd_discard_group): Define. * coffcode.h (coff_bfd_discard_group): Define. * coff-mips.c (_bfd_ecoff_bfd_discard_group): Define. * elfxx-target.h (bfd_elfNN_bfd_discard_group): Define. * i386msdos.c (msdos_bfd_discard_group): Define. * i386os9k.c (os9k_bfd_discard_group): Define. * ieee.c (ieee_bfd_discard_group): Define. * ihex.c (ihex_bfd_discard_group): Define. * mmo.c (mmo_bfd_discard_group): Define. * nlm-target.h (nlm_bfd_discard_group): Define. * oasys.c (oasys_bfd_discard_group): Define. * ppcboot.c (ppcboot_bfd_discard_group): Define. * som.c (som_bfd_discard_group): Define. * srec.c (srec_bfd_discard_group): Define. * tekhex.c (tekhex_bfd_discard_group): Define. * versados.c (versados_bfd_discard_group): Define. * vms.c (vms_bfd_discard_group): Define. * xcoff-target.h (_bfd_xcoff_bfd_discard_group): Define. * coff64-rs6000.c (rs6000coff64_vec): Update initialiser. (aix5coff64_vec): Likewise. * coff-rs6000.c (rs6000coff_vec, pmac_xcoff_vec): Likewise.
2002-06-05 * Makefile.am (libbfd.h): Add "Extracted from.." comment.Alan Modra3-7/+31
(libcoff.h, bfd.h): Likewise. * Makefile.in: Regenerate.