aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2001-09-18 * external.h (GET_LINENO_LNNO): Use H_GET_32/16.Alan Modra5-88/+119
(PUT_LINENO_LNNO): Use H_PUT_32/16. * m88k.h (GET_LNSZ_SIZE, GET_LNSZ_LNNO, GET_SCN_NRELOC, GET_SCN_NLINNO): Use H_GET_32. (PUT_LNSZ_LNNO, PUT_LNSZ_SIZE, PUT_SCN_NRELOC, PUT_SCN_NLINNO): Use H_PUT_32. * ti.h: Formatting fixes. Make use of H_GET_* and H_PUT_* throughout. * xcoff.h: White space changes.
2001-09-18 * aout64.h: Formatting fixes.Alan Modra3-42/+55
(N_TXTADDR): Evaluate to a bfd_vma. (N_DATADDR): Avoid negative unsigned warning. * hp300hpux.h: Formatting fixes. (N_DATADDR): As above.
2001-09-18 * objalloc.h (OBJALLOC_ALIGN): Define using offsetof.Alan Modra2-6/+9
2001-09-18Touches most files in bfd/, so likely will be blamed for everything..Alan Modra183-12305/+13588
o bfd_read and bfd_write lose an unnecessary param and become bfd_bread and bfd_bwrite. o bfd_*alloc now all take a bfd_size_type arg, and will error if size_t is too small. eg. 32 bit host, 64 bit bfd, verrry big files or bugs in linker scripts etc. o file_ptr becomes a bfd_signed_vma. Besides matching sizes with various other types involved in handling sections, this should make it easier for bfd to support a 64 bit off_t on 32 bit hosts that provide it. o I've made the H_GET_* and H_PUT_* macros (which invoke bfd_h_{get,put}_*) generally available. They now cast their args to bfd_vma and bfd_byte * as appropriate, which removes a swag of casts from the source. o Bug fixes to bfd_get8, aix386_core_vec, elf32_h8_relax_section, and aout-encap.c. o Zillions of formatting and -Wconversion fixes.
2001-09-18Fix typoNick Clifton2-1/+5
2001-09-18Add ui_out parameter to libgdb functions.Andrew Cagney7-19/+46
2001-09-18*** empty log message ***gdbadmin1-1/+1
2001-09-17merge from gccDJ Delorie5-19/+152
2001-09-17 * gdb.base/display.c (do_loops): Add float variable `f'.Corinna Vinschen3-7/+24
Increment f in loop. * gdb.base/display.exp: Increment timeout by 60 seconds. Change float display test to use variable `f'.
2001-09-17* gdb.base/restore.exp: Use temporary breakpoints, to avoidJim Blandy2-11/+14
overflowing the limited breakpoint tables on some ROM monitors (like the ROM68K).
2001-09-172001-09-17 H.J. Lu <hjl@gnu.org>H.J. Lu2-5/+17
* dwarf1.c (parse_die): Take a new arg for the end of the section. Return false if die is beyond the section. (parse_functions_in_unit): Pass the end of the section to parse_die (). (_bfd_dwarf1_find_nearest_line): Likewise.
2001-09-17*** empty log message ***gdbadmin1-1/+1
2001-09-16 * ldmain.c (main): Rename BufferSize to ld_bufsz because HPUXAlan Modra2-3/+8
defines BufferSize. Increase buffer size by one.
2001-09-16*** empty log message ***gdbadmin1-1/+1
2001-09-152001-09-15 Frank Ch. Eigler <fche@redhat.com>Frank Ch. Eigler2-1/+6
* lib/insight-support.exp (_gdbtk_xvfb_init): Start Xvfb with the "-ac" (disable access control) flag.
2001-09-15 * config/tc-sh.h (sh_force_relocation): Prototype.Hans-Peter Nilsson3-34/+44
(struct fix): Forward declare. * config/tc-sh.c (type sh_operand_info): Move to top of file. (cons, s_align_bytes): Remove old-type declarations. (sh_elf_suffix, parse_reg, dot, parse_exp, parse_at, get_operand, get_operands, get_specific, insert, build_relax, insert_loop_bounds, build_Mytes): Prototype. (little): Make static. Prototype. (check, tc_Nout_fix_to_chars): Delete unused functions.
2001-09-15 * config.sub: Reverted the earlier change, this version is not theThiemo Seufer2-9/+6
master file.
2001-09-15 * lib/ld-lib.exp (run_dump_test): Handle new optionHans-Peter Nilsson2-3/+50
"objcopy_linked_file". Return after failing, if errors were expected but none were found. (slurp_options): Support underscores in option names.
2001-09-15*** empty log message ***gdbadmin1-1/+1
2001-09-142001-09-14 H.J. Lu <hjl@gnu.org>H.J. Lu7-25/+52
* ld-elfweak/bar.c: Updated. * ld-elfweak/bar1a.c: Likewise. * ld-elfweak/main.c: Likewise. * ld-elfweak/main1.c: Likewise. * ld-elfweak/elfweak.exp: Likewise. * ld-elfweak/weakdata.dsym: Updated.
2001-09-142001-09-14 Eric Christopher <echristo@redhat.com>Eric Christopher2-2/+5
* config/tc-mips.c (md_parse_option): Remove setting mips_64 via -mgp32/mgp64.
2001-09-14Fix memory leakNick Clifton2-394/+434
2001-09-14Fix bug emitting R_SPARC_UA32 relocs into shared objectsNick Clifton2-1/+6
2001-09-14Add support for arm-openbsd targetNick Clifton7-5/+19
2001-09-14Add new command line option '--encoding' to stringsNick Clifton4-40/+146
2001-09-14Fix VXA mask bitsNick Clifton2-2/+6
2001-09-14 /bfd/ChangeLogThiemo Seufer6-10/+41
* config.bfd: Change machine triplets from mips*el*-* to mips*el-*. Add support for mips64. /ChangeLog * config.sub: Change machine triplets from mipsel*-* to mips*el-*. Add support for mips64. /gas/ChangeLog * configure.in: Change machine triplets from mips-*-linux-gnu* to mips*-*-linux*.
2001-09-14Commit Ilya Golubev's clear_solib() fixes.Kevin Buettner4-0/+12
2001-09-14*** empty log message ***gdbadmin1-1/+1
2001-09-13* monitor.c (monitor_load): Don't delete symtab users, or resetJim Blandy2-9/+16
inferior_ptid.
2001-09-13* elf32-openrisc.c (ELF_MACHINE_ALT1): Define as EM_OPENRISC_OLD.Alexandre Oliva2-0/+5
2001-09-13* common.h (EM_OPENRISC_OLD): Renamed the old EM_OPENRISC entry.Alexandre Oliva2-1/+5
2001-09-13(monitor_load): Fix indentation.Jim Blandy1-8/+7
2001-09-13(monitor_load): Fix indentation.Jim Blandy1-0/+12
2001-09-13* elf.c (prep_headers): Get the machine code from the elfAlexandre Oliva1-1/+2
backend data. * elf-m10200.c (ELF_MACHINE_CODE): Redefine to EM_MN10200. (ELF_MACHINE_ALT1): Define to EM_CYGNUS_MN10200. * elf-m10300.c (ELF_MACHINE_CODE): Redefine to EM_MN10300. (ELF_MACHINE_ALT1): Define to EM_CYGNUS_MN10300. * elf-arc.c (arc_elf_final_write_processing): Don't override e_machine, it's now properly set in prep_headers. * elf32-avr.c (elf32_avr_object_p): Accept both EM_AVR and EM_AVR_OLD. (ELF_MACHINE_ALT1): Define to EM_AVR_OLD. * elf-d10v.c (ELF_MACHINE_CODE): Redefine to EM_D10V. (ELF_MACHINE_ALT1): Define to EM_CYGNUS_D10V. * elf-d30v.c (ELF_MACHINE_CODE): Redefine to EM_D30V. (ELF_MACHINE_ALT1): Define to EM_CYGNUS_D30V. * elf-fr30.c (ELF_MACHINE_CODE): Redefine to EM_FR30. (ELF_MACHINE_ALT1): Define to EM_CYGNUS_FR30. * elf-m32r.c (ELF_MACHINE_CODE): Redefine to EM_M32R. (ELF_MACHINE_ALT1): Define to EM_CYGNUS_M32R. * elf32-pj.c (ELF_MACHINE_ALT1): DEfine to EM_PJ_OLD. * elf-v850.c (ELF_MACHINE_CODE): Redefine to EM_V850. (ELF_MACHINE_ALT1): Define to EM_CYGNUS_V850.
2001-09-13*** empty log message ***gdbadmin1-1/+1
2001-09-122001-09-12 H.J. Lu <hjl@gnu.org>H.J. Lu3-4/+11
* Makefile.am (ALL_EMULATIONS): Move eelf64ppc.o and eelf64lppc.o to ... (ALL_64_EMULATIONS): Here. * Makefile.in: Regenerated.
2001-09-12* readelf.c (guess_is_rela, dump_relocations, get_machine_name,Alexandre Oliva2-9/+43
get_machine_flags): Added EM_M32R, EM_D10V, EM_V850, EM_D30V, EM_MN10200, EM_MN10300, EM_FR30, EM_AVR_OLD and EM_PJ_OLD. Removed EM_CYGNUS_ARC.
2001-09-12* elf.c (prep_headers): Get the machine code from the elfAlexandre Oliva11-120/+56
backend data. * elf-m10200.c (ELF_MACHINE_CODE): Redefine to EM_MN10200. (ELF_MACHINE_ALT1): Define to EM_CYGNUS_MN10200. * elf-m10300.c (ELF_MACHINE_CODE): Redefine to EM_MN10300. (ELF_MACHINE_ALT1): Define to EM_CYGNUS_MN10300. * elf-arc.c (arc_elf_final_write_processing): Don't override e_machine, it's now properly set in prep_headers. * elf32-avr.c (elf32_avr_object_p): Accept both EM_AVR and EM_AVR_OLD. (ELF_MACHINE_ALT1): Define to EM_AVR_OLD. * elf-d10v.c (ELF_MACHINE_CODE): Redefine to EM_D10V. (ELF_MACHINE_ALT1): Define to EM_CYGNUS_D10V. * elf-d30v.c (ELF_MACHINE_CODE): Redefine to EM_D30V. (ELF_MACHINE_ALT1): Define to EM_CYGNUS_D30V. * elf-fr30.c (ELF_MACHINE_CODE): Redefine to EM_FR30. (ELF_MACHINE_ALT1): Define to EM_CYGNUS_FR30. * elf-m32r.c (ELF_MACHINE_CODE): Redefine to EM_M32R. (ELF_MACHINE_ALT1): Define to EM_CYGNUS_M32R. * elf32-pj.c (ELF_MACHINE_ALT1): DEfine to EM_PJ_OLD. * elf-v850.c (ELF_MACHINE_CODE): Redefine to EM_V850. (ELF_MACHINE_ALT1): Define to EM_CYGNUS_V850.
2001-09-12* common.h (EM_AVR_OLD): Renamed from...Alexandre Oliva2-5/+25
(EM_AVR): this, redefined as in the current ELF standard. (EM_PJ_OLD): Renamed from... (EM_PJ): this, redefined as in the current ELF standard. (EM_R30, EM_D10V, EM_D30V, EM_V850, EM_M32R, EM_MN10300, EM_MN10200, EM_OPENRISC, EM_ARC_A5, EM_XTENSA): Defined as in the current ELF standard. (EM_CYGNUS_ARC): Removed, unused for a long time.
2001-09-12 * config/tc-mips.c (append_insn): Don't rightshift BFD_RELOC_16_PCREL.Thiemo Seufer2-1/+5
2001-09-12Remove incomplete section on overlays, committed by accident.Jim Blandy1-79/+0
2001-09-122001-09-12 Paul Sokolovsky <Paul.Sokolovsky@technologist.com>Charles Wilson5-14/+143
* emultempl/pe.em(make_import_fixup): change signature to take asection as well as arelec; we need this for proper error reporting. Only call pe_create_import_fixup() if there is no attempt to add a constant addend to the reloc; otherwise, report error condition. * pe-dll.c(pe_walk_relocs_of_symbol): change signature, since final argument is a pointer to make_import_fixup(). Change call to cb() to match make_import_fixup() signature. (make_import_fixup_mark): make buffer_len unsigned. * pe-dll.h: change signature of pe_walk_relocs_of_symbol. 2001-09-12 Charles Wilson <cwilson@ece.gatech.edu> * ld.texinfo: add verbose documentation for auto-import direct-addressing workaround, to compliment the terse error message.
2001-09-12 * scripttempl/v850.sc: Add gcc_except_table sections.Catherine Moore2-0/+8
2001-09-12* printcmd.c (print_scalar_formatted): Fix indentation.Jim Blandy1-2/+2
2001-09-12*** empty log message ***gdbadmin1-1/+1
2001-09-11 * elf64-alpha.c (elf64_alpha_section_flags): New.Richard Henderson2-1/+24
(elf64_alpha_fake_sections): Map SEC_SMALL_DATA to SHF_ALPHA_GPREL.
2001-09-11 * config/tc-alpha.c (alpha_elf_section_letter): New.Richard Henderson5-0/+58
(alpha_elf_section_flags): New. * config/tc-alpha.h (md_elf_section_letter): New. (md_elf_section_flags): New. * config/tc-ia64.c (ia64_elf_section_letter): New. * config/tc-ia64.h (md_elf_section_letter): New.
2001-09-11 * elf64-alpha.c (elf64_alpha_relocate_section): Do notRichard Henderson2-3/+16
apply HINT relocations against dynamic symbols.
2001-09-112001-09-11 H.J. Lu <hjl@gnu.org>H.J. Lu2-1/+6
* inker.c (link_action): Change COMMON_ROW\defw from CREF to COM.