aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2001-08-26* doublest.h (HOST_FLOAT_FORMAT): Delete macro.Andrew Cagney2-16/+5
(HOST_DOUBLE_FORMAT): Delete macro.
2001-08-26 * elf32-cris.c (cris_elf_check_relocs): Set DF_TEXTREL if theAndreas Jaeger4-113/+130
reloc is against read-only section. (elf_cris_size_dynamic_sections): Use DF_TEXTREL flag instead of looking up section names for DT_TEXTREL. (elf_cris_reloc_type_class): New. (elf_backend_reloc_type_class): Define. * elf32-sh.c (sh_elf_check_relocs): Set DF_TEXTREL if the reloc is against read-only section. (elf_backend_reloc_type_class): Define. (sh_elf_reloc_type_class): New. (sh_elf_size_dynamic_sections): Use DF_TEXTREL flag instead of looking up section names for DT_TEXTREL. * elf32-arm.h (elf32_arm_check_relocs): Set DF_TEXTREL if the reloc is against read-only section. (elf32_arm_size_dynamic_sections): Use DF_TEXTREL flag instead of looking up section names for DT_TEXTREL. (elf32_arm_reloc_type_class): New.
2001-08-26 * h8500-opc.h: Add default initializers to h8500_table to shut upAndreas Jaeger2-534/+539
GCC warnings.
2001-08-26 * readelf.c (get_machine_flags): Add detection of EF_MIPS_32BITMODE.Thiemo Seufer2-0/+7
2001-08-26For include/opcode:Andreas Jaeger18-101/+219
* d30v.h: Fix declaration of reg_name_cnt. * d10v.h: Fix declaration of d10v_reg_name_cnt. * arc.h: Add prototypes from opcodes/arc-opc.c. For opcodes: * tic54x-dis.c: Add unused attributes where needed. * z8k-dis.c (output_instr): Add unused attribute. * h8300-dis.c: Add missing prototypes. (bfd_h8_disassemble): Make static. * cris-dis.c: Add missing prototype. * h8500-dis.c: Likewise. * m68hc11-dis.c: Likewise. * pj-dis.c: Likewise. * tic54x-dis.c: Likewise. * v850-dis.c: Likewise. * vax-dis.c: Likewise. * w65-dis.c: Likewise. * z8k-dis.c: Likewise. * d10v-dis.c: Add missing prototype. (dis_long): Remove unused variable. (dis_2_short): Likewise. * sh-dis.c: Add missing prototypes. * v850-opc.c: Likewise. Add unused attributes where needed. * ns32k-dis.c: Add missing prototypes. (bit_extract_simple): Remove unused variable.
2001-08-26 * oasys.c: Add missing prototypes.Andreas Jaeger5-8/+62
* elf64-alpha.c (elf64_alpha_size_dynamic_sections): Add unused attribute for parameter. * elf.c (_bfd_elf_reloc_type_class): Likewise. * versados.c (get_4): Make static. (get_10): Make static. Add missing prototypes. (process_esd): Fix call to versados_new_symbol.
2001-08-26 * config/tc-s390.c: Add missing prototypesAndreas Jaeger2-1/+22
(md_gather_operands): Make static.
2001-08-26 * tc_mips.h (MAX_GPREL_OFFSET): Change it to the maximum allowedThiemo Seufer3-17/+24
value, not the word beyond maximum. * tc_mips.c (macro_build_lui): Code cleanup. (macro): Reflect change to MAX_GPREL_OFFSET. (mips_ip): Check explicitly against S_EX_NONE. (my_get_SmallExpression): parse for %gp_rel, not %gprel. (md_apply_fix): Code cleanup.
2001-08-26*** empty log message ***gdbadmin1-1/+1
2001-08-252001-08-25 H.J. Lu <hjl@gnu.org>H.J. Lu2-3/+18
* nm.c (print_width): New. (display_rel_file): Set `print_width' according to bfd_sprintf_vma. (print_symbol_info_bsd): Check `print_width' instead of BFD64.
2001-08-25Add missing prototypesNick Clifton19-999/+1140
2001-08-25fix compile time warning messageNick Clifton2-1/+6
2001-08-25 * elf32-mips.c (elf_mips_abi_name): Return the right ABI string forThiemo Seufer2-6/+11
E_MIPS_ABI_O64 and E_MIPS_ABI_EABI64
2001-08-25 * binutils-all/readelf.exp: Don't regard mips*el-*-* as traditionalThiemo Seufer9-6/+249
mips. * gas/mips/mips.exp: Likewise. Use traditional testcases for mips${el}16-f if needed. * gas/mips/elempic.d: New file, testcase for little endian empic. * gas/mips/elfel-rel2.d: Don't test trailing zeroes in dump. * gas/mips/mips16-f.d: Use non-traditional symbol sorting. * gas/mips/mipsel16-f.d: Likewise. * gas/mips/mipsel16-e.d: New file, testcase for little endian MIPS16 relocations. * gas/mips/tmipsel16-f.d: New file, testcase for little endian MIPS16 relocations, traditional variant.
2001-08-25*** empty log message ***gdbadmin1-1/+1
2001-08-242001-08-24 H.J. Lu <hjl@gnu.org>H.J. Lu2-8/+8
* elf.c (_bfd_elf_merge_sections): Fail if not using an ELF hash structure.
2001-08-24 * config/tc-ppc.h: Fix prototype declaration.Andreas Jaeger2-9/+13
2001-08-24Apply H.J.'s patch to revert change to elfxx-target.hNick Clifton8-34/+140
Apply my patch to allow SREC as output format.
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.