binutils-gdb.git
23 years ago* config/mcore/tm-mcore.h (mcore_virtual_frame_pointer): Update
Andrew Cagney [Wed, 19 Sep 2001 20:43:54 +0000 (20:43 +0000)]
* config/mcore/tm-mcore.h (mcore_virtual_frame_pointer): Update
function signature to match recent tracepoint.c:encode_actions
changes.
* mcore-tdep.c (mcore_virtual_frame_pointer): Ditto.

23 years agoFix compile time warning messages
Nick Clifton [Wed, 19 Sep 2001 17:40:28 +0000 (17:40 +0000)]
Fix compile time warning messages

23 years ago2000-09-19 H.J. Lu <hjl@gnu.org>
H.J. Lu [Wed, 19 Sep 2001 17:02:38 +0000 (17:02 +0000)]
2000-09-19  H.J. Lu  <hjl@gnu.org>

* doc/Makefile.am ($(DEMANGLER_NAME).1): Try cxxfilt.man and
$(srcdir)/cxxfilt.man.
* doc/Makefile.in: Rebuild.

23 years ago* approved by kseitz
Frank Ch. Eigler [Wed, 19 Sep 2001 15:39:54 +0000 (15:39 +0000)]
* approved by kseitz

2001-09-19  Frank Ch. Eigler  <fche@redhat.com>

* lib/insight-support.exp (_gdbtk_xvfb_init): Set DISPLAY
to localhost:NNN instead of :NNN, in case Xvfb is listening
only on TCP.

23 years ago * gdb.base/recurse.exp: When checking leaving the watchpoint
Corinna Vinschen [Wed, 19 Sep 2001 08:21:17 +0000 (08:21 +0000)]
    * gdb.base/recurse.exp: When checking leaving the watchpoint
        scope, recognize when gdb is in function's epilogue and pass.

23 years ago * config/tc-i370.c: Fix typo in last change.
Alan Modra [Wed, 19 Sep 2001 08:13:04 +0000 (08:13 +0000)]
* config/tc-i370.c: Fix typo in last change.

23 years agoImprove documentation on local labels and add documenation about dollar labels.
Nick Clifton [Wed, 19 Sep 2001 07:55:23 +0000 (07:55 +0000)]
Improve documentation on local labels and add documenation about dollar labels.

23 years ago * objcopy.c (copy_main): Correct rename-section string parsing.
Alan Modra [Wed, 19 Sep 2001 06:58:06 +0000 (06:58 +0000)]
* objcopy.c (copy_main): Correct rename-section string parsing.
Consolidate new_name parsing, and error messages.

23 years ago2001-09-19 Ben Elliston <bje@redhat.com>
Ben Elliston [Wed, 19 Sep 2001 06:07:36 +0000 (06:07 +0000)]
2001-09-19  Ben Elliston  <bje@redhat.com>

* configure.in (sparc-sun-solaris2*): Don't use /usr/bin/which on
Solaris when testing for the /usr/ucb/cc compiler; it has incorrect
semantics.  Use the shell built-in "type" command instead.

23 years agoLocale changes from Bruno Haible <haible@clisp.cons.org>.
H.J. Lu [Wed, 19 Sep 2001 05:33:36 +0000 (05:33 +0000)]
Locale changes from Bruno Haible  <haible@clisp.cons.org>.

23 years ago * lib/insight-support.exp (_gdbtk_export_target_info): Add
Keith Seitz [Wed, 19 Sep 2001 00:08:43 +0000 (00:08 +0000)]
* lib/insight-support.exp (_gdbtk_export_target_info): Add
support for running tests against sid targets.
(gdbtk_done): Ditto.

23 years ago*** empty log message ***
gdbadmin [Wed, 19 Sep 2001 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***

23 years agomerge from gcc
DJ Delorie [Tue, 18 Sep 2001 21:02:02 +0000 (21:02 +0000)]
merge from gcc

23 years ago * gdb.base/ending-run.c (main): Set stdout buffersize
Corinna Vinschen [Tue, 18 Sep 2001 17:49:06 +0000 (17:49 +0000)]
    * gdb.base/ending-run.c (main): Set stdout buffersize
        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.

23 years agos390 assembler improvements and testsuite
Nick Clifton [Tue, 18 Sep 2001 15:41:33 +0000 (15:41 +0000)]
s390 assembler improvements and testsuite

23 years ago * sparc.c (sparc_find_call): Warning fix.
Alan Modra [Tue, 18 Sep 2001 11:12:25 +0000 (11:12 +0000)]
* sparc.c (sparc_find_call): Warning fix.
* alpha.c (alpha_find_call): Likewise.

23 years ago * deffilep.y (def_stash_module): Constify "name" param.
Alan Modra [Tue, 18 Sep 2001 10:10:21 +0000 (10:10 +0000)]
* deffilep.y (def_stash_module): Constify "name" param.

* 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.

23 years ago * dwarf2dbg.c (dwarf2_directive_file): Avoid signed/unsigned warning.
Alan Modra [Tue, 18 Sep 2001 10:08:15 +0000 (10:08 +0000)]
* dwarf2dbg.c (dwarf2_directive_file): Avoid signed/unsigned warning.

* 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.

23 years ago * ar.c (print_contents): Cast args of bfd_seek to the right types.
Alan Modra [Tue, 18 Sep 2001 10:05:55 +0000 (10:05 +0000)]
* ar.c (print_contents): Cast args of bfd_seek to the right types.
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.

23 years ago * bfdint.texi: Replace reference to bfd_read with bfd_bread.
Alan Modra [Tue, 18 Sep 2001 10:03:38 +0000 (10:03 +0000)]
* bfdint.texi: Replace reference to bfd_read with bfd_bread.
Likewise for bfd_write.

23 years ago * internal.h (elf_internal_rela): Make r_addend a bfd_vma.
Alan Modra [Tue, 18 Sep 2001 10:01:41 +0000 (10:01 +0000)]
* internal.h (elf_internal_rela): Make r_addend a bfd_vma.

23 years ago * external.h (GET_LINENO_LNNO): Use H_GET_32/16.
Alan Modra [Tue, 18 Sep 2001 10:01:08 +0000 (10:01 +0000)]
* external.h (GET_LINENO_LNNO): Use H_GET_32/16.
(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.

23 years ago * aout64.h: Formatting fixes.
Alan Modra [Tue, 18 Sep 2001 10:00:23 +0000 (10:00 +0000)]
* aout64.h: Formatting fixes.
(N_TXTADDR): Evaluate to a bfd_vma.
(N_DATADDR): Avoid negative unsigned warning.
* hp300hpux.h: Formatting fixes.
(N_DATADDR): As above.

23 years ago * objalloc.h (OBJALLOC_ALIGN): Define using offsetof.
Alan Modra [Tue, 18 Sep 2001 09:59:28 +0000 (09:59 +0000)]
* objalloc.h (OBJALLOC_ALIGN): Define using offsetof.

23 years agoTouches most files in bfd/, so likely will be blamed for everything..
Alan Modra [Tue, 18 Sep 2001 09:57:26 +0000 (09:57 +0000)]
Touches most files in bfd/, so likely will be blamed for everything..

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.

23 years agoFix typo
Nick Clifton [Tue, 18 Sep 2001 07:55:39 +0000 (07:55 +0000)]
Fix typo

23 years agoAdd ui_out parameter to libgdb functions.
Andrew Cagney [Tue, 18 Sep 2001 05:00:51 +0000 (05:00 +0000)]
Add ui_out parameter to libgdb functions.

23 years ago*** empty log message ***
gdbadmin [Tue, 18 Sep 2001 00:00:07 +0000 (00:00 +0000)]
*** empty log message ***

23 years agomerge from gcc
DJ Delorie [Mon, 17 Sep 2001 23:11:04 +0000 (23:11 +0000)]
merge from gcc

23 years ago * gdb.base/display.c (do_loops): Add float variable `f'.
Corinna Vinschen [Mon, 17 Sep 2001 20:41:22 +0000 (20:41 +0000)]
    * gdb.base/display.c (do_loops): Add float variable `f'.
        Increment f in loop.
        * gdb.base/display.exp: Increment timeout by 60 seconds.
        Change float display test to use variable `f'.

23 years ago* gdb.base/restore.exp: Use temporary breakpoints, to avoid
Jim Blandy [Mon, 17 Sep 2001 19:42:28 +0000 (19:42 +0000)]
* gdb.base/restore.exp: Use temporary breakpoints, to avoid
overflowing the limited breakpoint tables on some ROM monitors
(like the ROM68K).

23 years ago2001-09-17 H.J. Lu <hjl@gnu.org>
H.J. Lu [Mon, 17 Sep 2001 15:13:13 +0000 (15:13 +0000)]
2001-09-17  H.J. Lu  <hjl@gnu.org>

* 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.

23 years ago*** empty log message ***
gdbadmin [Mon, 17 Sep 2001 00:00:01 +0000 (00:00 +0000)]
*** empty log message ***

23 years ago * ldmain.c (main): Rename BufferSize to ld_bufsz because HPUX
Alan Modra [Sun, 16 Sep 2001 04:25:33 +0000 (04:25 +0000)]
* ldmain.c (main): Rename BufferSize to ld_bufsz because HPUX
defines BufferSize.  Increase buffer size by one.

23 years ago*** empty log message ***
gdbadmin [Sun, 16 Sep 2001 00:00:01 +0000 (00:00 +0000)]
*** empty log message ***

23 years ago2001-09-15 Frank Ch. Eigler <fche@redhat.com>
Frank Ch. Eigler [Sat, 15 Sep 2001 17:11:24 +0000 (17:11 +0000)]
2001-09-15  Frank Ch. Eigler  <fche@redhat.com>

* lib/insight-support.exp (_gdbtk_xvfb_init): Start Xvfb with
the "-ac" (disable access control) flag.

23 years ago * config/tc-sh.h (sh_force_relocation): Prototype.
Hans-Peter Nilsson [Sat, 15 Sep 2001 14:49:54 +0000 (14:49 +0000)]
* config/tc-sh.h (sh_force_relocation): Prototype.
(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.

23 years ago * config.sub: Reverted the earlier change, this version is not the
Thiemo Seufer [Sat, 15 Sep 2001 04:42:11 +0000 (04:42 +0000)]
* config.sub: Reverted the earlier change, this version is not the
master file.

23 years ago * lib/ld-lib.exp (run_dump_test): Handle new option
Hans-Peter Nilsson [Sat, 15 Sep 2001 00:56:42 +0000 (00:56 +0000)]
* lib/ld-lib.exp (run_dump_test): Handle new option
"objcopy_linked_file".  Return after failing, if errors were
expected but none were found.
(slurp_options): Support underscores in option names.

23 years ago*** empty log message ***
gdbadmin [Sat, 15 Sep 2001 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***

23 years ago2001-09-14 H.J. Lu <hjl@gnu.org>
H.J. Lu [Fri, 14 Sep 2001 23:43:17 +0000 (23:43 +0000)]
2001-09-14  H.J. Lu  <hjl@gnu.org>

* 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.

23 years ago2001-09-14 Eric Christopher <echristo@redhat.com>
Eric Christopher [Fri, 14 Sep 2001 20:18:54 +0000 (20:18 +0000)]
2001-09-14  Eric Christopher  <echristo@redhat.com>

* config/tc-mips.c (md_parse_option): Remove setting mips_64 via
-mgp32/mgp64.

23 years agoFix memory leak
Nick Clifton [Fri, 14 Sep 2001 14:19:05 +0000 (14:19 +0000)]
Fix memory leak

23 years agoFix bug emitting R_SPARC_UA32 relocs into shared objects
Nick Clifton [Fri, 14 Sep 2001 13:56:45 +0000 (13:56 +0000)]
Fix bug emitting R_SPARC_UA32 relocs into shared objects

23 years agoAdd support for arm-openbsd target
Nick Clifton [Fri, 14 Sep 2001 11:46:40 +0000 (11:46 +0000)]
Add support for arm-openbsd target

23 years agoAdd new command line option '--encoding' to strings
Nick Clifton [Fri, 14 Sep 2001 11:32:25 +0000 (11:32 +0000)]
Add new command line option '--encoding' to strings

23 years agoFix VXA mask bits
Nick Clifton [Fri, 14 Sep 2001 10:52:26 +0000 (10:52 +0000)]
Fix VXA mask bits

23 years ago /bfd/ChangeLog
Thiemo Seufer [Fri, 14 Sep 2001 06:22:46 +0000 (06:22 +0000)]
/bfd/ChangeLog
* 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*.

23 years agoCommit Ilya Golubev's clear_solib() fixes.
Kevin Buettner [Fri, 14 Sep 2001 00:40:29 +0000 (00:40 +0000)]
Commit Ilya Golubev's clear_solib() fixes.

23 years ago*** empty log message ***
gdbadmin [Fri, 14 Sep 2001 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***

23 years ago* monitor.c (monitor_load): Don't delete symtab users, or reset
Jim Blandy [Thu, 13 Sep 2001 22:48:19 +0000 (22:48 +0000)]
* monitor.c (monitor_load): Don't delete symtab users, or reset
inferior_ptid.

23 years ago* elf32-openrisc.c (ELF_MACHINE_ALT1): Define as EM_OPENRISC_OLD.
Alexandre Oliva [Thu, 13 Sep 2001 21:02:36 +0000 (21:02 +0000)]
* elf32-openrisc.c (ELF_MACHINE_ALT1): Define as EM_OPENRISC_OLD.

23 years ago* common.h (EM_OPENRISC_OLD): Renamed the old EM_OPENRISC entry.
Alexandre Oliva [Thu, 13 Sep 2001 21:02:21 +0000 (21:02 +0000)]
* common.h (EM_OPENRISC_OLD): Renamed the old EM_OPENRISC entry.

23 years ago(monitor_load): Fix indentation.
Jim Blandy [Thu, 13 Sep 2001 18:53:42 +0000 (18:53 +0000)]
(monitor_load): Fix indentation.

23 years ago(monitor_load): Fix indentation.
Jim Blandy [Thu, 13 Sep 2001 18:43:03 +0000 (18:43 +0000)]
(monitor_load): Fix indentation.

23 years ago* elf.c (prep_headers): Get the machine code from the elf
Alexandre Oliva [Thu, 13 Sep 2001 00:15:54 +0000 (00:15 +0000)]
* elf.c (prep_headers): Get the machine code from the elf
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.

23 years ago*** empty log message ***
gdbadmin [Thu, 13 Sep 2001 00:00:06 +0000 (00:00 +0000)]
*** empty log message ***

23 years ago2001-09-12 H.J. Lu <hjl@gnu.org>
H.J. Lu [Wed, 12 Sep 2001 23:57:21 +0000 (23:57 +0000)]
2001-09-12  H.J. Lu  <hjl@gnu.org>

* Makefile.am (ALL_EMULATIONS): Move eelf64ppc.o and
eelf64lppc.o to ...
(ALL_64_EMULATIONS): Here.
* Makefile.in: Regenerated.

23 years ago* readelf.c (guess_is_rela, dump_relocations, get_machine_name,
Alexandre Oliva [Wed, 12 Sep 2001 23:53:45 +0000 (23:53 +0000)]
* readelf.c (guess_is_rela, dump_relocations, get_machine_name,
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.

23 years ago* elf.c (prep_headers): Get the machine code from the elf
Alexandre Oliva [Wed, 12 Sep 2001 23:53:31 +0000 (23:53 +0000)]
* elf.c (prep_headers): Get the machine code from the elf
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.

23 years ago* common.h (EM_AVR_OLD): Renamed from...
Alexandre Oliva [Wed, 12 Sep 2001 23:53:09 +0000 (23:53 +0000)]
* common.h (EM_AVR_OLD): Renamed from...
(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.

23 years ago * config/tc-mips.c (append_insn): Don't rightshift BFD_RELOC_16_PCREL.
Thiemo Seufer [Wed, 12 Sep 2001 21:19:37 +0000 (21:19 +0000)]
* config/tc-mips.c (append_insn): Don't rightshift BFD_RELOC_16_PCREL.

23 years agoRemove incomplete section on overlays, committed by accident.
Jim Blandy [Wed, 12 Sep 2001 19:49:52 +0000 (19:49 +0000)]
Remove incomplete section on overlays, committed by accident.

23 years ago2001-09-12 Paul Sokolovsky <Paul.Sokolovsky@technologist.com>
Charles Wilson [Wed, 12 Sep 2001 15:58:10 +0000 (15:58 +0000)]
2001-09-12  Paul Sokolovsky  <Paul.Sokolovsky@technologist.com>
        * 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.

23 years ago * scripttempl/v850.sc: Add gcc_except_table sections.
Catherine Moore [Wed, 12 Sep 2001 14:09:18 +0000 (14:09 +0000)]
   * scripttempl/v850.sc: Add gcc_except_table sections.

23 years ago* printcmd.c (print_scalar_formatted): Fix indentation.
Jim Blandy [Wed, 12 Sep 2001 04:18:08 +0000 (04:18 +0000)]
* printcmd.c (print_scalar_formatted): Fix indentation.

23 years ago*** empty log message ***
gdbadmin [Wed, 12 Sep 2001 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***

23 years ago * elf64-alpha.c (elf64_alpha_section_flags): New.
Richard Henderson [Tue, 11 Sep 2001 18:26:27 +0000 (18:26 +0000)]
    * elf64-alpha.c (elf64_alpha_section_flags): New.
        (elf64_alpha_fake_sections): Map SEC_SMALL_DATA to SHF_ALPHA_GPREL.

23 years ago * config/tc-alpha.c (alpha_elf_section_letter): New.
Richard Henderson [Tue, 11 Sep 2001 18:26:04 +0000 (18:26 +0000)]
    * config/tc-alpha.c (alpha_elf_section_letter): New.
        (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.

23 years ago * elf64-alpha.c (elf64_alpha_relocate_section): Do not
Richard Henderson [Tue, 11 Sep 2001 18:21:11 +0000 (18:21 +0000)]
    * elf64-alpha.c (elf64_alpha_relocate_section): Do not
        apply HINT relocations against dynamic symbols.

23 years ago2001-09-11 H.J. Lu <hjl@gnu.org>
H.J. Lu [Tue, 11 Sep 2001 18:10:20 +0000 (18:10 +0000)]
2001-09-11  H.J. Lu  <hjl@gnu.org>

* inker.c (link_action): Change COMMON_ROW\defw from CREF to
COM.

23 years ago * config/obj-elf.c (obj_elf_parse_section_letters): Use 'M' instead
Jakub Jelinek [Tue, 11 Sep 2001 16:46:38 +0000 (16:46 +0000)]
* config/obj-elf.c (obj_elf_parse_section_letters): Use 'M' instead
of 'm', 'S' instead of 's'.  Update bad_msg.
* config/tc-ppc.c (ppc_section_letter): Update bad_msg.
* config/tc-i370.c (i370_sectioN_letter): Update bad_msg.

23 years ago2001-09-11 H.J. Lu <hjl@gnu.org>
H.J. Lu [Tue, 11 Sep 2001 14:25:16 +0000 (14:25 +0000)]
2001-09-11  H.J. Lu  <hjl@gnu.org>

* ld-elfweak/elfweak.exp (build_lib): Take a list of object
files.
(build_exec): Likewise.
Add more tests and make some xfail.

* ld-elfweak/dso.dsym: Support symbol versioning.
* ld-elfweak/dsow.dsym: Likewise.

* ld-elfweak/main1.c: New.
* ld-elfweak/bar1a.c: Likewise.
* ld-elfweak/bar1b.c: Likewise.
* ld-elfweak/bar1c.c: Likewise.
* ld-elfweak/foo1a.c: Likewise.
* ld-elfweak/foo1b.c: Likewise.
* ld-elfweak/dsodata.dsym: Likewise.
* ld-elfweak/dsowdata.dsym: Likewise.
* ld-elfweak/weakdata.dsym: Likewise.
* ld-elfweak/strongcomm.sym: Likewise.
* ld-elfweak/strongdata.sym: Likewise.
* ld-elfweak/weakdata.dat: Likewise.
* ld-elfweak/strongdata.dat: Likewise.

23 years ago*** empty log message ***
gdbadmin [Tue, 11 Sep 2001 00:00:04 +0000 (00:00 +0000)]
*** empty log message ***

23 years ago* rom68k-rom.c (init_rom68k_cmds): Set the flag indicating that
Jim Blandy [Mon, 10 Sep 2001 23:54:16 +0000 (23:54 +0000)]
* rom68k-rom.c (init_rom68k_cmds): Set the flag indicating that
programs running on the board can produce output.

23 years ago2001-09-10 Jason Molenda (jmolenda@apple.com)
Jason Molenda [Mon, 10 Sep 2001 18:13:17 +0000 (18:13 +0000)]
2001-09-10  Jason Molenda  (jmolenda@apple.com)

        * NEWS: "ANS/ISO C" -> "ISO C".
        * MAINTAINERS (write-after-approval):  Update my entry.

23 years ago2001-09-10 H.J. Lu <hjl@gnu.org>
H.J. Lu [Mon, 10 Sep 2001 17:11:34 +0000 (17:11 +0000)]
2001-09-10  H.J. Lu  <hjl@gnu.org>

* ld-elfweak/elfweak.exp: New.
* ld-elfweak/bar.c: Likewise.
* ld-elfweak/foo.c: Likewise.
* ld-elfweak/main.c: Likewise.
* ld-elfweak/dso.dsym: Likewise.
* ld-elfweak/dsow.dsym: Likewise.
* ld-elfweak/strong.sym: Likewise.
* ld-elfweak/strong.dat: Likewise.
* ld-elfweak/weak.dat: Likewise.

23 years ago*** empty log message ***
gdbadmin [Mon, 10 Sep 2001 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***

23 years ago * elf64-alpha.c: Delete all unused ERIC_neverdef and rth_notdef code.
Richard Henderson [Sun, 9 Sep 2001 20:50:00 +0000 (20:50 +0000)]
    * elf64-alpha.c: Delete all unused ERIC_neverdef and rth_notdef code.

23 years ago * elf64-alpha.c (elf64_alpha_relax_with_lituse): Nop out gpdisp
Richard Henderson [Sun, 9 Sep 2001 20:42:11 +0000 (20:42 +0000)]
    * elf64-alpha.c (elf64_alpha_relax_with_lituse): Nop out gpdisp
        following a call to a near function.

23 years agoOops, one "likewise" had an intervening entry.
Alan Modra [Sun, 9 Sep 2001 14:08:41 +0000 (14:08 +0000)]
Oops, one "likewise" had an intervening entry.

23 years ago * expr.c (expr): Move code setting "retval" to the end of the loop,
Alan Modra [Sun, 9 Sep 2001 14:01:17 +0000 (14:01 +0000)]
* expr.c (expr): Move code setting "retval" to the end of the loop,
and rearrange for efficiency.  For "PIC code" subtraction, use
"rightseg" rather than recalculating.  For "symbol OP symbol"
subtract, set "retval" to absolute_section if symbols in same
section.
* symbols.c (resolve_symbol_value): Resolve "sym +/- expr" to an
O_symbol.  Simplify a +/- b code.  Allow equality and non-equality
comparisons on symbols from any section.  Allow other comparison
operators as for subtraction.
(symbol_equated_reloc_p): New predicate function.
* symbols.h (symbol_equated_reloc_p): Declare.
* write.c (adjust_reloc_syms): Use symbol_equated_reloc_p.
(write_relocs): Likewise.
(write_object_file): Likewise.
(relax_segment <rs_machine_dependent>): Ensure segment for
expression syms is set correctly.
* config/tc-mips.c (md_estimate_size_before_relax): Likewise.
* config/tc-i386.c (md_assemble <Output jumps>): Don't lose part
of a complex expression when setting up frag_var.

23 years ago * elf64-alpha.c (elf64_alpha_relocate_section): Soft fail
Richard Henderson [Sun, 9 Sep 2001 06:58:06 +0000 (06:58 +0000)]
    * elf64-alpha.c (elf64_alpha_relocate_section): Soft fail
        relocation errors.  Fail gp-relative relocations against
        dynamic symbols.

23 years ago*** empty log message ***
gdbadmin [Sun, 9 Sep 2001 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***

23 years agoFix truncated 2001-08-23 entry.
Mark Kettenis [Sat, 8 Sep 2001 23:34:53 +0000 (23:34 +0000)]
Fix truncated 2001-08-23 entry.

23 years ago* gdbint.texinfo (Host Definition): Remove description of
Mark Kettenis [Sat, 8 Sep 2001 10:53:45 +0000 (10:53 +0000)]
* gdbint.texinfo (Host Definition): Remove description of
MEM_FNS_DECLARED.

23 years ago* config/xm-aix4.h (MEM_FNS_DECLARED): Removed.
Mark Kettenis [Sat, 8 Sep 2001 10:50:07 +0000 (10:50 +0000)]
* config/xm-aix4.h (MEM_FNS_DECLARED): Removed.

23 years ago* gdbint.texinfo (Host Definition): Remove description of R_OK.
Mark Kettenis [Sat, 8 Sep 2001 10:43:27 +0000 (10:43 +0000)]
* gdbint.texinfo (Host Definition): Remove description of R_OK.

23 years ago* config/arm/xm-linux.h, config/ia64/xm-linux.h,
Mark Kettenis [Sat, 8 Sep 2001 10:39:54 +0000 (10:39 +0000)]
* config/arm/xm-linux.h, config/ia64/xm-linux.h,
config/m68k/xm-linux.h, config/mips/xm-linux.h,
config/powerpc/xm-linux.h, config/sparc/xm-linux.h: Remove
redundant inclusion of <unistd.h>.

23 years ago* gdbint.texinfo (Host Definition): Remove description of
Mark Kettenis [Sat, 8 Sep 2001 10:28:20 +0000 (10:28 +0000)]
* gdbint.texinfo (Host Definition): Remove description of
HAVE_SIGSETMASK.

23 years ago* gdbtypes.h (struct block): Add forward declaration.
Mark Kettenis [Sat, 8 Sep 2001 10:16:57 +0000 (10:16 +0000)]
* gdbtypes.h (struct block): Add forward declaration.

23 years ago * elf32-i386.c (elf_i386_relocate_section): Check !DEF_REGULAR
Alan Modra [Sat, 8 Sep 2001 05:47:01 +0000 (05:47 +0000)]
* elf32-i386.c (elf_i386_relocate_section): Check !DEF_REGULAR
as well as DEF_DYNAMIC in test for avoided copy relocs.
(allocate_plt_and_got_and_discard_relocs): Likewise.
* elf32-i386.c (elf_i386_relocate_section): Likewise.
(allocate_plt_and_got_and_discard_relocs): Likewise.

23 years agomischeckin. fixed.
Eric Christopher [Sat, 8 Sep 2001 04:16:12 +0000 (04:16 +0000)]
mischeckin.  fixed.

23 years ago2001-09-07 Eric Christopher <echristo@redhat.com>
Eric Christopher [Sat, 8 Sep 2001 02:34:56 +0000 (02:34 +0000)]
2001-09-07  Eric Christopher  <echristo@redhat.com>

* gas/mips/mips64.d: Change to use mipsisa64.
* gas/mips/mips32.d: Change to use mipsisa32.

23 years ago * config/tc-alpha.c (alpha_reloc_op_tag): Replace need_seq with
Richard Henderson [Sat, 8 Sep 2001 01:12:00 +0000 (01:12 +0000)]
    * config/tc-alpha.c (alpha_reloc_op_tag): Replace need_seq with
        require_seq and allow_seq.  Let !literal omit the sequence number.
        (tokenize_arguments): Reject sequence numbers of !allow_seq.

23 years ago*** empty log message ***
gdbadmin [Sat, 8 Sep 2001 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***

23 years ago * config/tc-sparc.c (md_apply_fix3): Handle relocs against SEC_MERGE
Jakub Jelinek [Fri, 7 Sep 2001 22:41:03 +0000 (22:41 +0000)]
* config/tc-sparc.c (md_apply_fix3): Handle relocs against SEC_MERGE
section symbols the same way as externs.

23 years ago* defs.h (enum return_reason): Renumber so that all values are
Andrew Cagney [Fri, 7 Sep 2001 21:33:08 +0000 (21:33 +0000)]
* defs.h (enum return_reason): Renumber so that all values are
negative.
(RETURN_MASK): Negate reason.
(catch_exception_ftype): Declare.
(catch_exceptions): Declare.
* top.c (catcher): New function, based on catch_errors.  Add in
parameter func_uiout and out parameters func_val, func_caught and
func_cleanup.  Change type of func to catch_exceptions_ftype.
Save/restore uiout.
(struct catch_errors_args): Define.
(do_catch_errors): New function.
(catch_errors): Rewrite, use do_catch_errors and catcher.
(catch_exceptions): New function, use catcher.

23 years agoCorrectly parse register values provided by the monitor.
Jim Blandy [Fri, 7 Sep 2001 21:27:36 +0000 (21:27 +0000)]
Correctly parse register values provided by the monitor.
* rom68k-rom.c: #include "value.h".
(is_hex_digit, hex_digit_value, is_whitespace,
rom68k_supply_one_register): New static functions.
(rom68k_supply_register): Call rom68k_supply_one_register, instead
of monitor_supply_register; the latter was incorrectly parsing
the values.
* Makefile.in (rom68k-rom.o): Note that this now #includes value.h.

23 years ago * emulparams/h8300helf.sh: Move stack to a much higher memory address.
Jeff Law [Fri, 7 Sep 2001 17:35:04 +0000 (17:35 +0000)]
    * emulparams/h8300helf.sh: Move stack to a much higher memory address.
        * emulparams/h8300self.sh: Similarly.