summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2001-09-19Locale changes from Bruno Haible <haible@clisp.cons.org>.H.J. Lu129-836/+1200
2001-09-19 * lib/insight-support.exp (_gdbtk_export_target_info): AddKeith Seitz2-0/+23
support for running tests against sid targets. (gdbtk_done): Ditto.
2001-09-19*** empty log message ***gdbadmin1-1/+1
2001-09-18merge from gccDJ Delorie2-9/+20
2001-09-18 * gdb.base/ending-run.c (main): Set stdout buffersizeCorinna Vinschen3-1/+12
to the same reasonable value for any target. * gdb.base/ending-run.exp: Add a regular expression to make testsuite happy on Sanyo Stormy16 target.
2001-09-18s390 assembler improvements and testsuiteNick Clifton24-1723/+2598
2001-09-18 * sparc.c (sparc_find_call): Warning fix.Alan Modra3-3/+8
* alpha.c (alpha_find_call): Likewise.
2001-09-18 * deffilep.y (def_stash_module): Constify "name" param.Alan Modra5-44/+70
* pe-dll.c: Replace CONST with const throughout. (quick_symbol): Constify "n1", "n2", "n3" params. (make_singleton_name_thunk): Constify "import" param. Make "buffer_len" a size_t. (make_import_fixup_entry): Constify "name", "fixup_name", "dll_symname" params. (pe_get16): Cast args of bfd_seek. Replace bfd_read with bfd_bread. (pe_get32): Likewise. (pe_implied_import_dll): Likewise. * emultempl/beos.em (sort_by_file_name): Constify "ra", "rb". (sort_by_section_name): Likewise. * emultempl/pe.em: Move defines for arm_epoc_pe before bfd.h included. (make_import_fixup): Cast printf arg, rel->address to long rather than int. (gld_${EMULATION_NAME}_after_open): Don't compare NULL against int.
2001-09-18 * dwarf2dbg.c (dwarf2_directive_file): Avoid signed/unsigned warning.Alan Modra7-20/+41
* write.c (set_symtab): Update bfd_alloc declaration. Use a temp var to ensure bfd_alloc arg is the right type. (write_object_file): Cast args of bfd_seek. Replace bfd_write with bfd_bwrite. * config/obj-coff.c: Replace calls to bfd_write with calls to bfd_bwrite. Cast args of bfd_seek. * config/obj-elf.c (obj_elf_change_section): Avoid signed/unsigned warning. * config/tc-mn10300.c (set_arch_mach): Make param unsigned. * config/tc-tic54x.c (tic54x_mlib): Replace bfd_read call with call to bfd_bread.
2001-09-18 * ar.c (print_contents): Cast args of bfd_seek to the right types.Alan Modra4-9/+20
Replace bfd_read call with call to bfd_bread. (extract_file): Likewise. * objdump.c (dump_section_header): Cast section->filepos to unsigned long to suit printf format string. * readelf.c (process_section_headers): Similarly for sh_offset. (process_unwind): Likewise.
2001-09-18 * bfdint.texi: Replace reference to bfd_read with bfd_bread.Alan Modra2-3/+8
Likewise for bfd_write.
2001-09-18 * internal.h (elf_internal_rela): Make r_addend a bfd_vma.Alan Modra2-2/+6
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.