aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2001-08-24* objcopy.c (use_alt_mach_code): New variable.Alexandre Oliva4-0/+43
(OPTION_ALT_MACH_CODE): Define. (copy_options): Added --alt-machine-code. (copy_main): Handle it. (copy_object): Switch to alternate machine code if requested. * doc/binutils.texi: Document new option. * NEWS: Likewise.
2001-08-24* bfd.c (bfd_alt_mach_code): New function.Alexandre Oliva3-0/+63
* bfd-in2.h: Rebuilt.
2001-08-24* elf-m10300.c (mn10300_elf_relocate_section): Test the rightAlexandre Oliva2-2/+8
`type' field in the hash entry when deciding whether to follow a link.
2001-08-24* config/xm-lynx.h, config/xm-nbsd.h, config/xm-sysv4.h,Mark Kettenis6-15/+6
config/i386/xm-i386aix.h, config/m68k/xm-dpx2.h: Remove redundant inclusion of <limits.h>.
2001-08-24 * elflink.h (elf_link_sort_cmp1): Sort RELATIVE relocs first, notJakub Jelinek3-25/+56
last. (elf_link_sort_relocs): Adjust accordingly. * elf64-alpha.c (struct alpha_elf_link_hash_entry): Add reltext flag. (elf64_alpha_check_relocs): Set it if section this reloc is against is read-only. Set DF_TEXTREL if a RELATIVE reloc is needed against read-only section. (elf64_alpha_calc_dynrel_sizes): Set DF_TEXTREL flag if relocation is is against read-only section. (elf64_alpha_size_dynamic_sections): Use DF_TEXTREL flag, don't check section names. (elf64_alpha_reloc_type_class): New. (elf_backend_reloc_type_class): Define.
2001-08-24* regcache.c (read_register_bytes): When REGISTER_NAME indicatesAndrew Cagney2-5/+18
that a register should be ignored, supply a value for the register from the raw registers[] buffer.
2001-08-24* go32-nat.c (go32_create_inferior): Use xfree instead of free.Andrew Cagney3-1/+9
* config/djgpp/fnchange.lst: Add entries for i386bsd-tdep.c and i386bsd-nat.c.
2001-08-24* gdbtypes.h (builtin_type_ieee_single_big)Andrew Cagney3-0/+112
(builtin_type_ieee_single_little, builtin_type_ieee_double_big) (builtin_type_ieee_double_little) (builtin_type_ieee_double_littlebyte_bigword) (builtin_type_i387_ext, builtin_type_m68881_ext) (builtin_type_i960_ext, builtin_type_m88110_ext) (builtin_type_m88110_harris_ext, builtin_type_arm_ext_big) (builtin_type_arm_ext_littlebyte_bigword) (builtin_type_ia64_spill_big, builtin_type_ia64_spill_little) (builtin_type_ia64_quad_big) (builtin_type_ia64_quad_little): Declare. * gdbtypes.c (builtin_type_ieee_single_big) (builtin_type_ieee_single_little, builtin_type_ieee_double_big) (builtin_type_ieee_double_little) (builtin_type_ieee_double_littlebyte_bigword) (builtin_type_i387_ext, builtin_type_m68881_ext) (builtin_type_i960_ext, builtin_type_m88110_ext) (builtin_type_m88110_harris_ext, builtin_type_arm_ext_big) (builtin_type_arm_ext_littlebyte_bigword) (builtin_type_ia64_spill_big, builtin_type_ia64_spill_little) (builtin_type_ia64_quad_big) (builtin_type_ia64_quad_little): Define. (_initialize_gdbtypes): Initialize builtin floatformat types.
2001-08-24 * linker.c (_bfd_generic_link_add_archive_symbols): Replace alloca()Thiemo Seufer2-1/+10
by bfd_malloc().
2001-08-24 * internal.h (R_JMP2, R_JMPL2, R_MOVL2): Comment spelling fix.Joern Rennecke2-3/+7
2001-08-24*** empty log message ***gdbadmin1-1/+1
2001-08-23 * config/tc-ia64.c (dot_endp): Set function symbol sizes.Jakub Jelinek3-4/+60
* config/obj-elf.c (obj_elf_size): When size is constant, free and clear symbol_get_obj(sym)->size if any.
2001-08-23* tracepoint.c (read_actions): Add FIXME for code depending onMark Kettenis2-0/+10
STOP_SIGNAL.
2001-08-232001-08-23 Martin M. Hunt <hunt@redhat.com>Martin Hunt2-0/+12
* remote-mips.c (pmon_load_fast): Add ui_load_progress_hook to download loop. (mips_load_srec): Ditto.
2001-08-23 * elf64-x86-64.c (elf64_x86_64_check_relocs): Set DF_TEXTREL ifAndreas Jaeger2-27/+34
the reloc is against read-only section. (elf64_x86_64_size_dynamic_sections): Use DF_TEXTREL flag instead of looking up section names for DT_TEXTREL. (elf64_x86_64_reloc_type_class): New. (elf_backend_reloc_type_class): Define.
2001-08-23Add more missing prototypesNick Clifton10-864/+907
2001-08-23merge from gccDJ Delorie2-14/+69
2001-08-232001-08-23 H.J. Lu <hjl@gnu.org>H.J. Lu15-44/+70
* syms.c (bfd_print_symbol_vandf): Add abfd to arg. * bfd-in2.h (bfd_print_symbol_vandf): Regenerated. * aoutx.h (NAME(aout,print_symbol)): Pass abfd to bfd_print_symbol_vandf. * coffgen.c (coff_print_symbol): Likewise. * elf.c (bfd_elf_print_symbol): Likewise. * ieee.c (ieee_print_symbol): Likewise. * nlmcode.h (nlm_print_symbol): Likewise. * oasys.c (oasys_print_symbol): Likewise. * pdp11.c (NAME(aout,print_symbol)): Likewise. * som.c (som_print_symbol): Likewise. * srec.c (srec_print_symbol): Likewise. * tekhex.c (tekhex_print_symbol): Likewise. * versados.c (versados_print_symbol): Likewise. * vms.c (vms_print_symbol): Likewise. * elf.c (_bfd_elf_print_private_bfd_data): Replace fprintf_vma with bfd_fprintf_vma. (bfd_elf_print_symbol): Likewise. * syms.c (bfd_print_symbol_vandf): Likewise.
2001-08-23Add missing prototypes for bout.cNick Clifton5-438/+469
2001-08-23 * elf-bfd.h (enum elf_reloc_type_class): New.Jakub Jelinek20-98/+571
(struct elf_backend_data): Add elf_backend_reloc_type_class. (_bfd_elf_reloc_type_class): New. * elfxx-target.h (elf_backend_reloc_type_class): Define. (elfNN_bed): Add elf_backend_reloc_type_class. * elf.c (_bfd_elf_reloc_type_class): New. * elf32-i386.c (elf_i386_check_relocs): Set DF_TEXTREL if the reloc is against read-only section. (elf_i386_size_dynamic_sections): Use DF_TEXTREL flag instead of looking up section names for DT_TEXTREL. (elf_i386_reloc_type_class): New. (elf_backend_reloc_type_class): Define. * elf32-sparc.c (elf32_sparc_check_relocs): Set DF_TEXTREL if the reloc is against read-only section. (elf32_sparc_size_dynamic_sections): Use DF_TEXTREL flag instead of looking up section names for DT_TEXTREL. (elf32_sparc_reloc_type_class): New. (elf_backend_reloc_type_class): Define. * elf64-sparc.c (sparc64_elf_check_relocs): Set DF_TEXTREL if the reloc is against read-only section. (sparc64_elf_size_dynamic_sections): Use DF_TEXTREL flag instead of looking up section names for DT_TEXTREL. (sparc64_elf_reloc_type_class): New. (elf_backend_reloc_type_class): Define. * elfxx-ia64.c (struct elfNN_ia64_link_hash_table): Add reltext field. (elfNN_ia64_hash_table_create): Clear ia64_info. (get_reloc_section): Set DF_TEXTREL if the reloc is against read-only section. (elfNN_ia64_size_dynamic_sections): Use ia64_info->reltext flag instead of looking up section names for DT_TEXTREL. (elfNN_ia64_reloc_type_class): New. (elf_backend_reloc_type_class): Define. * elflink.h (size_dynamic_sections): Add spare DT_NULL tags. (struct elf_link_sort_rela): New. (elf_link_sort_cmp1, elf_link_sort_cmp2, elf_link_sort_relocs): New. (elf_bfd_final_link): Call elf_link_sort_relocs. Convert one spare DT_NULL into DT_RELCOUNT resp. DT_RELACOUNT if necessary. * bfdlink.h (struct bfd_link_info): Add combreloc and spare_dynamic_tags fields. * emultempl/elf32.em (place_orphan): Place orphan .rel* sections into .rel.dyn resp. .rela.dyn if combreloc. (get_script): If .x linker script is equal to .xn, only put it once into the binary. Add .xc and .xsc scripts. (parse_args): Handle -z combreloc and -z nocombreloc. * scripttempl/elf.sc (.rela.sbss): Fix a typo. For .xc and .xsc scripts put all .rel* or .rela* input sections but .rel*.plt and PLT-like sections into .rel.dyn resp. .rela.dyn. * genscripts.sh (GENERATE_COMBRELOC_SCRIPT): Set if SCRIPT_NAME is elf. Strip trailing whitespace from script. Generate .xc and .xsc scripts if requested. * ldmain.c (main): Initialize link_info.combreloc and link_info.spare_dynamic_tags. * lexsup.c (OPTION_SPARE_DYNAMIC_TAGS): Define. (ld_options): Add --spare-dynamic-tags option. (parse_args): Likewise. * ld.texinfo: Document -z combreloc and -z nocombreloc. * ldint.texinfo: Document .xc and .xsc linker scripts. * NEWS: Add notes about -z combreloc and SHF_MERGE.
2001-08-23merge from gccDJ Delorie6-20/+25
2001-08-23No corefile support for x86-bsdi systemsNick Clifton3-63/+76
2001-08-23 * opcodes/s390-opc.c: Add "low or high" and "not low or high"Andreas Jaeger3-20/+39
branch instructions for gcc 3.0. * opcodes/s390-opc.txt: Likewise.
2001-08-23Add TYPE_FLOATFORMAT().Andrew Cagney3-0/+28
2001-08-23*** empty log message ***gdbadmin1-1/+1
2001-08-22merge from gccDJ Delorie2-44/+16
2001-08-22 * readelf.c (get_machine_flags): Add detection of EF_MIPS_UCODE.Thiemo Seufer2-0/+7
2001-08-222001-08-22 H.J. Lu <hjl@gnu.org>H.J. Lu2-1/+5
* emulparams/elf32fr30.sh: Add a newline.
2001-08-22Add missing commaNick Clifton2-1/+6
2001-08-22merge from gccDJ Delorie7-204/+233
2001-08-22*** empty log message ***gdbadmin1-1/+1
2001-08-21* coff-go32.c: Set the alignment of dwarf2 linkonce sections to 0.DJ Delorie3-1/+6
* coff-stgo32.c: Likewise.
2001-08-21* coff-go32.c: Make DWARF2 sections use an alignment of 0.DJ Delorie3-2/+11
* coff-sto32.c: Likewise.
2001-08-21 * printcmd.c (print_insn): Use the given stream forKeith Seitz2-0/+7
output.
2001-08-21Return if target is `vax-*-ultrix*'.Nick Clifton2-7/+17
Continue with other tests when there is a compilation error.
2001-08-212001-08-21 H.J. Lu <hjl@gnu.org>H.J. Lu3-2/+12
* binutils-all/readelf.r: Updated for the readelf change. * binutils-all/readelf.r-64: New for the readelf change.
2001-08-21merge from gccDJ Delorie5-2/+647
2001-08-212001-08-21 H.J. Lu <hjl@gnu.org>H.J. Lu2-13/+49
* readelf.c (dump_relocations): Support ELF64 on 32bit hosts. (display_debug_info): Cast for 64bit hosts. (display_debug_frames): Likewise. (process_mips_specific): Likewise.
2001-08-21 * deffilep.y: Add missing prototypes.Andreas Jaeger3-5/+36
* pe-dll.c: Likewise.
2001-08-21 * coffgrok.h: Add missing parameter for prototype of coff_grok.Andreas Jaeger8-14/+143
* sysdump.c: Add missing prototypes. * srconv.c: Likewise. * unwind-ia64.c: Likewise. * coffdump.c: Likewise. * sysinfo.y: Print prototypes, include <ansidecl.h>. * coffgrok.c: Add missing prototypes, include libiberty.h instead of declaring xcalloc.
2001-08-21 * mips-dis.c: Add missing prototypes.Andreas Jaeger2-163/+192
* a29k-dis.c: Likewise. * arc-dis.c: Likewise. * ia64-opc.c: Likewise.
2001-08-21 * i960-dis.c: Add parameters for prototypesAndreas Jaeger5-61/+100
(ctrl): Add unused attributes. (cobr): Likewise. (put_abs): Likewise. * mips-dis.c: Add missing prototypes. * a29k-dis.c: Likewise. * arc-dis.c: Likewise. * ia64-opc.c: Likewise. * s390-dis.c: Add missing prototypes. (init_disasm): Remove unused attribute since the parameter is used.
2001-08-21 * coff-sparc.c: Add missing prototypes.Andreas Jaeger5-3/+28
* elf32-s390.c: Likewise. * elf32-i960.c: Likewise. * aout-target.h: Likewise.
2001-08-21* arm-tdep.c (convert_from_extended, convert_to_extended): DeleteAndrew Cagney3-69/+40
assembler version of function. (convert_from_extended, convert_to_extended): Rewrite. Use floatformat_to_doublest, floatformat_from_doublest, floatformat_arm_ext_big, floatformat_arm_ext_littlebyte_bigword. (arm_push_arguments): Use extract_floating and store_floating to perform floating point conversions. (SWAP_TARGET_AND_HOST): Delete macro. * arm-linux-tdep.c (arm_linux_push_arguments): Use extract_floating and store_floating to perform floating point conversions.
2001-08-21 * tc_mips.c (md_begin): Warn about incompatibility between -march=FOOThiemo Seufer2-1/+22
and -mipsN option, continue with default ISA.
2001-08-212001-08-20 H.J. Lu <hjl@gnu.org>H.J. Lu3-1/+14
* elf-bfd.h (elf_obj_tdata): Add num_section_syms. (elf_num_section_syms): New for num_section_syms. * elf.c (elf_map_symbols): Set num_section_syms. (_bfd_elf_symbol_from_bfd_symbol): Check num_section_syms for the section symbol index.
2001-08-21 * config/tc-mips.c (md_parse_option): #ifdef theThiemo Seufer2-3/+12
traditional/non-traditional names as it is done in mips_target_format.
2001-08-21* gdbtypes.h (struct type): Clarify meaning of field ``length''.Andrew Cagney2-6/+14
2001-08-21 * config/tc-alpha.h (MD_APPLY_FIX3): Define.Richard Henderson3-2/+10
* config/tc-alpha.c (md_apply_fix3): Rename from md_apply_fix; use seg parameter instead of now_seg.
2001-08-21* floatformat.h (floatformat_arm_ext): Document as deprecated.Andrew Cagney4-8/+71
(floatformat_arm_ext_big, floatformat_arm_ext_littlebyte_bigword) (floatformat_ia64_spill_little, floatformat_ia64_quad_little) (floatformat_ia64_spill_big, floatformat_ia64_quad_big) (floatformat_m88110_harris_ext): Declare.