deliverable/binutils-gdb.git
25 years ago * ltconfig, ltmain.sh: Update to libtool 1.2b.
Ian Lance Taylor [Tue, 7 Jul 1998 19:24:58 +0000 (19:24 +0000)] 
* ltconfig, ltmain.sh: Update to libtool 1.2b.

25 years ago * listing.c (listing_listing): For EDICT_LIST, skip all lines up to
Richard Henderson [Tue, 7 Jul 1998 18:46:38 +0000 (18:46 +0000)] 
    * listing.c (listing_listing): For EDICT_LIST, skip all lines up to
        but not including the line containing the edict.
        * listing.h (LISTING_EOF): New.
        * input-scrub.c (input_scrub_next_buffer): Call it.

PR 14509

25 years ago * objcopy.c (filter_bytes): Set size correctly if the size of the
Ian Lance Taylor [Tue, 7 Jul 1998 17:27:00 +0000 (17:27 +0000)] 
* objcopy.c (filter_bytes): Set size correctly if the size of the
section is not an even multiple of the interleave.  Based on patch
from Brion Stone <Brion.Stone@attws.com>.

25 years agoTue Jul 7 13:00:37 1998 Alan Modra <alan@spri.levels.unisa.edu.au>
Ian Lance Taylor [Tue, 7 Jul 1998 17:20:59 +0000 (17:20 +0000)] 
Tue Jul  7 13:00:37 1998  Alan Modra  <alan@spri.levels.unisa.edu.au>

* config/tc-i386.c (i386_operand): Don't set the size of an
  immediate address based solely on the suffix and the mode.

* config/tc-i386.c (md_assemble): Add assertion to make sure
overlap2 does not set Imm.

25 years agoTue Jul 7 13:00:37 1998 Alan Modra <alan@spri.levels.unisa.edu.au>
Ian Lance Taylor [Tue, 7 Jul 1998 17:09:55 +0000 (17:09 +0000)] 
Tue Jul  7 13:00:37 1998  Alan Modra  <alan@spri.levels.unisa.edu.au>

* config/tc-i386.c (space_chars): Remove. The scrubber converts
sequences of whitespace to a single space.
(is_space_chars): Just compare with space.
(md_begin): Don't initialize space_chars.
(md_assemble): Just skip a single whitespace character.
(i386_operand): Rewrite base-index parsing to use new
parse_register, and to skip white space.  Skip white space in a
number of other places too.  Don't give error message if
parse_register fails.
(parse_register): Change reg_string parameter to be non-const.
Add end_op parameter.  Skip white space after the `%', and return
end of register string.  Give error message here rather than
caller.

25 years ago symtab.c (find_pc_sect_psymbol) - handle address 0 better
Ron Unrau [Tue, 7 Jul 1998 13:41:03 +0000 (13:41 +0000)] 
symtab.c (find_pc_sect_psymbol) - handle address 0 better

25 years agoRearrange ChangeLog files by years.
Ian Lance Taylor [Mon, 6 Jul 1998 22:27:28 +0000 (22:27 +0000)] 
Rearrange ChangeLog files by years.

25 years agoUpdate for ChangeLog breakup. Remove gm sanitization; the stuff being
Ian Lance Taylor [Mon, 6 Jul 1998 22:22:36 +0000 (22:22 +0000)] 
Update for ChangeLog breakup.  Remove gm sanitization; the stuff being
sanitized out was removed long ago.

25 years agoRearrange ChangeLog files by years.
Ian Lance Taylor [Mon, 6 Jul 1998 22:08:05 +0000 (22:08 +0000)] 
Rearrange ChangeLog files by years.

25 years ago * mn10300.igen: Add am33 support.
Jeff Law [Mon, 6 Jul 1998 22:02:02 +0000 (22:02 +0000)] 
    * mn10300.igen: Add am33 support.

25 years ago * Makefile.in: Use multi-sim to support both a mn10300 and am33
Jeff Law [Mon, 6 Jul 1998 21:57:22 +0000 (21:57 +0000)] 
    * Makefile.in: Use multi-sim to support both a mn10300 and am33
        simulator.

25 years ago * sim-bits.h (EXTEND24): Define.
Jeff Law [Mon, 6 Jul 1998 21:55:37 +0000 (21:55 +0000)] 
    * sim-bits.h (EXTEND24): Define.

25 years ago * am33.igen: Add many more am33 instructions.
Jeff Law [Mon, 6 Jul 1998 21:41:06 +0000 (21:41 +0000)] 
    * am33.igen: Add many more am33 instructions.

25 years ago * configure.tgt (i[3456]86-*-solaris*): New target.
Ian Lance Taylor [Mon, 6 Jul 1998 18:55:37 +0000 (18:55 +0000)] 
* configure.tgt (i[3456]86-*-solaris*): New target.

25 years agoDo not complain about overflows in ARM_26D relocations, since they have already been...
Nick Clifton [Mon, 6 Jul 1998 18:38:19 +0000 (18:38 +0000)] 
Do not complain about overflows in ARM_26D relocations, since they have already been performed.
Patch submitted by <rjb@dcs.gla.ac.uk>

25 years ago * coffcode.h (coff_write_object_contents): If we have any long
Ian Lance Taylor [Sat, 4 Jul 1998 16:27:08 +0000 (16:27 +0000)] 
* coffcode.h (coff_write_object_contents): If we have any long
section names, call coff_write_symbols even if there are no
symbols.

25 years ago * ldlang.c (wild_section): Don't get an assertion failure if the
Ian Lance Taylor [Fri, 3 Jul 1998 22:10:22 +0000 (22:10 +0000)] 
* ldlang.c (wild_section): Don't get an assertion failure if the
section is discarded.

25 years ago * scripttempl/pe.sc: Use SORT to sort sections appropriately.
Ian Lance Taylor [Fri, 3 Jul 1998 21:52:58 +0000 (21:52 +0000)] 
* scripttempl/pe.sc: Use SORT to sort sections appropriately.
* emultempl/pe.em (sort_by_file_name): Remove.
(sort_by_section_name): Remove.
(sort_sections_1, sort_sections): Remove.
(gld_${EMULATION_NAME}_before_allocation): Don't call
sort_sections.
(hold_section, hold_section_name): New static variables.
(hold_use, hold_text, hold_rdata, hold_data, hold_bss): Likewise.
(gld_${EMULATION_NAME}_place_orphan): Rewrite.  Look for a good
place to put the section.  Align the section.  Sort the input
sections by name.
(gld_${EMULATION_NAME}_place_section): New static function.

25 years ago * ldlang.c (wild_sort): When sorting by file name, sort by archive
Ian Lance Taylor [Fri, 3 Jul 1998 21:52:43 +0000 (21:52 +0000)] 
* ldlang.c (wild_sort): When sorting by file name, sort by archive
name first.

25 years ago * expr.c (op_encoding): Make const.
Ian Lance Taylor [Fri, 3 Jul 1998 19:55:44 +0000 (19:55 +0000)] 
* expr.c (op_encoding): Make const.
(expr_set_precedence): New function.
(expr_begin): Don't set operator rankings, just call
expr_set_precedence.
* expr.h (expr_set_precedence): Declare.
* read.c (s_mri): Call expr_set_precedence.

25 years agoadd missing word
Ian Lance Taylor [Fri, 3 Jul 1998 19:28:00 +0000 (19:28 +0000)] 
add missing word

25 years ago * emultempl/pe.em (set_pe_subsystem): Don't call
Ian Lance Taylor [Fri, 3 Jul 1998 18:40:38 +0000 (18:40 +0000)] 
* emultempl/pe.em (set_pe_subsystem): Don't call
ldlang_add_undef.
(gld_${EMULATION_NAME}_after_parse): New static function.
(ld_${EMULATION_NAME}_emulation): Use new after_parse function
rather than after_parse_default.

25 years agocomment fixes
Ian Lance Taylor [Fri, 3 Jul 1998 18:40:17 +0000 (18:40 +0000)] 
comment fixes

25 years ago * ldgram.y (extern_name_list): Do not require symbols to be
Ian Lance Taylor [Fri, 3 Jul 1998 18:25:46 +0000 (18:25 +0000)] 
* ldgram.y (extern_name_list): Do not require symbols to be
separated by commas.
(ifile_p1): Add EXTERN.
* ldlex.l: Accept EXTERN in BOTH and SCRIPT mode as well as MRI
mode.
* ld.texinfo (Options): Mention that EXTERN is equivalent to -u.
(Miscellaneous Commands): Document EXTERN.

25 years ago * elf.c (copy_private_bfd_data): Only set phdr_included oncde for
Ian Lance Taylor [Fri, 3 Jul 1998 17:45:52 +0000 (17:45 +0000)] 
* elf.c (copy_private_bfd_data): Only set phdr_included oncde for
a PT_LOAD segment, rather than only setting it once for the entire
file.

* elf.c (_bfd_elf_make_section_from_shdr): When setting the LMA,
rather than ignoring every phdr with a p_paddr of 0, ignore all
the phdrs if they all have a p_paddr of 0.

25 years ago * stabs.c (_bfd_write_stab_strings): Check whether the .stabstr
Ian Lance Taylor [Fri, 3 Jul 1998 17:12:22 +0000 (17:12 +0000)] 
* stabs.c (_bfd_write_stab_strings): Check whether the .stabstr
section was discarded from the link.

25 years agoBrought over from sh4-980527-branch:
Joern Rennecke [Fri, 3 Jul 1998 13:43:16 +0000 (13:43 +0000)] 
Brought over from sh4-980527-branch:
  Fix for execute/va-arg-5.c -Os -mrelax -m4-single failure:
* coff-sh.c (sh_insn_uses_freg): Ignore lowest bit of register number.

25 years agoBrought over from sh4-980527-branch:
Joern Rennecke [Fri, 3 Jul 1998 13:40:08 +0000 (13:40 +0000)] 
Brought over from sh4-980527-branch:
  Fix for execute/921208-1.c -Os -mrelax -m4-single failure:
* coff-sh.c (sh_insns_conflict): Load of fpscr conflicts with
floating point operations.

25 years ago* lib/gas-defs.exp (gas_init): Complain if target name isn't in canonical form.
Ken Raeburn [Fri, 3 Jul 1998 03:10:58 +0000 (03:10 +0000)] 
* lib/gas-defs.exp (gas_init): Complain if target name isn't in canonical form.

25 years ago * cgen-sim.h (CPU_SCACHE): Make size unsigned.
Doug Evans [Fri, 3 Jul 1998 00:14:49 +0000 (00:14 +0000)] 
* cgen-sim.h (CPU_SCACHE): Make size unsigned.
(CPU_SCACHE_HASH_MASK): New macro.
(SCACHE_HASH_PC): Rewrite.
* genmloop.sh (engine_resume_{full,fast}): Move some of hash
computation out of main loop.

25 years ago * m32r-opc.h (CGEN_MIN_INSN_SIZE): New #define.
Doug Evans [Fri, 3 Jul 1998 00:11:25 +0000 (00:11 +0000)] 
* m32r-opc.h (CGEN_MIN_INSN_SIZE): New #define.

25 years ago * cofflink.c (_bfd_coff_link_input_bfd): Skip undefined global
Ian Lance Taylor [Thu, 2 Jul 1998 22:40:45 +0000 (22:40 +0000)] 
* cofflink.c (_bfd_coff_link_input_bfd): Skip undefined global
function symbols.

25 years ago * doc/as.texinfo (Statements): Remove paragraph discussing
Ian Lance Taylor [Thu, 2 Jul 1998 20:25:45 +0000 (20:25 +0000)] 
* doc/as.texinfo (Statements): Remove paragraph discussing
continuing lines with a backslash.  This hasn't worked for years,
if it ever did.

25 years agoAdd a test case for PR16213.
James Lemke [Thu, 2 Jul 1998 20:20:32 +0000 (20:20 +0000)] 
Add a test case for PR16213.

25 years agoThu Jul 2 13:57:36 1998 Klaus Kaempf <kkaempf@rmi.de>
Ian Lance Taylor [Thu, 2 Jul 1998 19:03:37 +0000 (19:03 +0000)] 
Thu Jul  2 13:57:36 1998  Klaus Kaempf  <kkaempf@rmi.de>

* makefile.vms: Update to build binutils/makefile.vms.  Add install
target.

25 years agoThu Jul 2 14:01:34 1998 Klaus Kaempf <kkaempf@rmi.de>
Ian Lance Taylor [Thu, 2 Jul 1998 19:02:27 +0000 (19:02 +0000)] 
Thu Jul  2 14:01:34 1998  Klaus Kaempf  <kkaempf@rmi.de>

* configure.com: Add vax/vms support.
* makefile.vms-in: Renamed from makefile.vms.  Add substitutions
now done by configure.com.

25 years agoThu Jul 2 14:06:22 1998 Klaus Kaempf <kkaempf@rmi.de>
Ian Lance Taylor [Thu, 2 Jul 1998 18:55:33 +0000 (18:55 +0000)] 
Thu Jul  2 14:06:22 1998  Klaus Kaempf  <kkaempf@rmi.de>

        * obj-vms.c: Add C++ support with ctors/dtors sections.  Add weak
symbol definitions.
(Ctors_Symbols, Dtors_Symbols): New symbol chains.
(ps_CTORS, ps_DTORS): New section types.
(vms_fixup_xtors_section): New function
(Ctors_Psect, Dtors_Psect): Define.
(IS_GXX_XTOR): Define
(global_symbol_directory): Change check of gxx_bug_fixed to 0.
Filter static constructors/destructors and add to
Ctors_Symbols/Dtors_Symbols chain.
(vms_write_object_file): Write Ctors_Symbols/Dtors_Symbols to
appropriate section.

        * tc-alpha.h (TARGET_FORMAT): Rename "evax-alpha" to "vms-alpha".
* makefile.vms: Merge vax/vms support.

25 years agorebuild
Ian Lance Taylor [Thu, 2 Jul 1998 18:55:13 +0000 (18:55 +0000)] 
rebuild

25 years agoThu Jul 2 14:59:42 1998 Klaus Kaempf <kkaempf@rmi.de>
Ian Lance Taylor [Thu, 2 Jul 1998 18:41:08 +0000 (18:41 +0000)] 
Thu Jul  2 14:59:42 1998  Klaus Kaempf  <kkaempf@rmi.de>

Merge of vax/vms (read-only) support
* configure.com: Support Vax target.
* makefile.vms: Support Vax target.
        * vms.h: Renamed from evax.h, merged vax/vms (read-only) support.
* vms.c: Renamed from evax-alpha.c, merged vax/vms (read-only)
support.
* vms-hdr.c: Renamed from evax-emh.c, merged vax/vms (read-only)
support.
* vms-gsd.c: Renamed from evax-egsd.c, merged vax/vms (read-only)
support.
* vms-tir.c: Renamed from evax-etir.c, merged vax/vms (read-only)
support.
* vms-misc.c: Renamed from evax-misc.c, merged vax/vms (read-only)
support.
* libbfd.c (real_read): Use unbuffered read on VMS/Vax.
* targets.c (bfd_target_ovax_flavour): New flavour.
(vms_alpha_vec): Renamed from evax_alpha_vec.
(vms_vax_vec): New.
(target_vector): Update accordingly.
* config.bfd (alpha*-*-*vms*): Use vms_alpha_vec, not
evax_alpha_vec.
(vax*-*-*vms*): New target.
* Makefile.am: Update for renamed files.  Rebuild dependencies.
* bfd-in2.h: Rebuild.
* configure.in, Makefile.in, aclocal.m4: Rebuild.

25 years ago* Belatedly bringing over PR 15850 patch from d30v branch.
Frank Ch. Eigler [Thu, 2 Jul 1998 17:30:21 +0000 (17:30 +0000)] 
* Belatedly bringing over PR 15850 patch from d30v branch.
Thu Jul  2 15:57:58 1998  Frank Ch. Eigler  <fche@cygnus.com>
* breakpoint.c (resolve_sal_pc): Accept absence of innermost
Lexical block for breakpoint resolution.

25 years ago * mdebugread.c (parse_partial_symbols): Go ahead and read the .mdebug
Dawn Perchik [Thu, 2 Jul 1998 17:30:20 +0000 (17:30 +0000)] 
    * mdebugread.c (parse_partial_symbols): Go ahead and read the .mdebug
        section, but just don't add a 2nd minimal symbol if this is an .mdebug
        section in an ELF file.

25 years agogc note
Richard Henderson [Thu, 2 Jul 1998 06:23:44 +0000 (06:23 +0000)] 
gc note

25 years ago * config/obj-elf.c (obj_elf_vtable_inherit, obj_elf_vtable_entry): New.
Richard Henderson [Thu, 2 Jul 1998 05:34:36 +0000 (05:34 +0000)] 
    * config/obj-elf.c (obj_elf_vtable_inherit, obj_elf_vtable_entry): New.
        (elf_pseudo_table): Add them.
        * config/tc-mips.c (mips_force_relocation): Force vtable relocs.
        (md_apply_fix): Accept them.
        (mips_fix_adjustable): Don't adjust them.
        (tc_gen_reloc): Mung BFD_RELOC_VTABLE_ENTRY for Rel.
        * config/tc-ppc.c (md_apply_fix3): Accept vtable relocs.
        * config/tc-ppc.h (TC_FORCE_RELOCATION_SECTION): Force vtable relocs.
        (tc_fix_adjustable): Don't adjust them.

25 years ago * ld.h (args_type): Add gc_sections.
Richard Henderson [Thu, 2 Jul 1998 02:52:31 +0000 (02:52 +0000)] 
    * ld.h (args_type): Add gc_sections.
        * ldgram.y (ldgram_had_keep, KEEP): New.
        (input_section_spec_no_keep): Rename from old input_section_spec.
        (input_section_spec): New.  Recognize KEEP.
        * ldlang.c (wild_section): Handle keep sections.
        (lang_gc_wild_section, lang_gc_wild_file, lang_gc_wild): New.
        (lang_gc_sections_1, lang_gc_sections): New.
        (lang_process): Invoke lang_gc_sections.
        (lang_add_wild): Add keep argument.  Update all callers.
        * ldlang.h (lang_wild_statement_struct): Add keep_sections.
        * ldlex.l (KEEP): Match it.
        * ldmain.c (main): Error on -r and --gc-sections.
        * lexsup.c: Add --gc-sections.

        * scripttempl/elf.sc: Merge .text.* etc sections appropriately.
        Mark startup sections with KEEP.
        * scripttempl/elfppc.sc: Likewise.

        * ld.texinfo: Update for --gc-sections and KEEP.

25 years ago * configure.in: configure cgen if --enable-cgen-maint.
Doug Evans [Thu, 2 Jul 1998 02:10:29 +0000 (02:10 +0000)] 
* configure.in: configure cgen if --enable-cgen-maint.
* Makefile.in (ALL_MODULES,CLEAN_MODULES): Add all-cgen.
(all-cgen): New rule.
(all-opcodes,all-sim): Depend on all-cgen.

25 years ago * Makefile.in: cgen_maint -> CGEN_MAINT.
Doug Evans [Thu, 2 Jul 1998 01:42:38 +0000 (01:42 +0000)] 
* Makefile.in: cgen_maint -> CGEN_MAINT.
* configure.in: AC_SUBST cgen,cgendir.  No longer look for guile.
* configure: Regenerate.
* arch.c,arch.h,cpuall.h: Regenerate.
* cpu.c,cpu.h,decode.c,decode.h,extract.c,model.c: Regenerate.
* sem-switch.c,sem.c: Regenerate.
* cpux.c,cpux.h,decodex.c,decodex.h,modelx.c,readx.c: Regenerate.
* semx.c: Regenerate.
* mloopx.in (icount): Moved here from genmloop.sh.

25 years ago * stabs.c (parse_stab_range_type): Handle 4 and 8 byte signed
Ian Lance Taylor [Thu, 2 Jul 1998 00:46:49 +0000 (00:46 +0000)] 
* stabs.c (parse_stab_range_type): Handle 4 and 8 byte signed
  integers with real upper bounds.  Handle a lower bound one larger
  than the upper bound as a signed integer.  Handle 8 byte signed
integers.
(stab_demangle_template): Optionally return the demangled name of
the template.
(stab_demangle_qualified): Treat a template name as a tagged
type.
(stab_demangle_fund_type): Likewise.

25 years agoAdd support for changing LMA and VMA of sections/
Nick Clifton [Thu, 2 Jul 1998 00:06:49 +0000 (00:06 +0000)] 
Add support for changing LMA and VMA of sections/

25 years ago * Make-common.in (SCHEME,SCHEMEFLAGS): Delete.
Doug Evans [Wed, 1 Jul 1998 23:47:50 +0000 (23:47 +0000)] 
* Make-common.in (SCHEME,SCHEMEFLAGS): Delete.
(CGENDIR,CGEN): New variables.
(CGEN_VERBOSE): Renamed to CGENFLAGS.
(cgen-arch,cgen-cpu,cgen-decode): Update.
(CGEN_CPU_WRITE): New variable.
(CGEN_CPU_SEMSW): -W -> -X.
(CGEN_FLAGS_TO_PASS): Delete SCHEME.  Add CGEN,CGENFLAGS.
* cgen.sh: Delete args scheme,schemeflags.  New arg cgen.

* cgen-sim.h (RECORD_IADDR): Delete.
* cgen-types.h (HOSTINT,HOSTUINT,HOSTPTR): New types.
* genmloop.sh (engine_resume_{full,fast}): Delete icount.

25 years ago * Makefile.am (CGEN_CPU_PREFIX): New variable.
Doug Evans [Wed, 1 Jul 1998 23:39:37 +0000 (23:39 +0000)] 
* Makefile.am (CGEN_CPU_PREFIX): New variable.
(cgen.o): Use it.
* Makefile.in: Regenerate.
* configure.in: AC_SUBST cgen_cpu_prefix.
* configure: Regenerate.

25 years ago * Makefile.am (CGENDIR): Set via configure.
Doug Evans [Wed, 1 Jul 1998 23:31:27 +0000 (23:31 +0000)] 
* Makefile.am (CGENDIR): Set via configure.
(CGEN): New variable.
(CGENFILES): object.scm renamed to cos.scm.
(run-cgen): Renamed from cgen.  stamp file renamed to stamp-$prefix.
(stamp-m32r): Pass prefix to run-cgen.
* Makefile.in: Regenerate.
* cgen-asm.in: @arch@-opc.h renamed to @prefix@-opc.h.
* cgen-dis.in: Ditto.
* cgen-opc.in: Ditto.
* cgen.sh: New args cgen,prefix.  Delete args scheme,schemeflags.
* configure.in: AC_SUBST cgen,cgendir.  No longer look for guile.
* configure: Regenerate.
* m32r-asm.c,m32r-dis.c,m32r-opc.c,m32r-opc.h: Regenerate.

25 years agoMinor formatting improvements.
Nick Clifton [Wed, 1 Jul 1998 23:30:34 +0000 (23:30 +0000)] 
Minor formatting improvements.

25 years agoTweak.
Jeff Law [Wed, 1 Jul 1998 23:15:55 +0000 (23:15 +0000)] 
Tweak.

25 years ago * am33.igen: New file with some am33 support.
Jeff Law [Wed, 1 Jul 1998 23:13:14 +0000 (23:13 +0000)] 
    * am33.igen: New file with some am33 support.
Checking in work-to-date.

25 years ago * mn10300_sim.h (FETCH24): Define.
Jeff Law [Wed, 1 Jul 1998 23:11:59 +0000 (23:11 +0000)] 
    * mn10300_sim.h (FETCH24): Define.
        * mn10300_sim.h: Add defines for some registers found on the AM33.

25 years ago* sim/m32r/hw-trap.ms: New testcase.
Doug Evans [Wed, 1 Jul 1998 22:57:07 +0000 (22:57 +0000)] 
* sim/m32r/hw-trap.ms: New testcase.

25 years agoxfail ARM and Thumb coifftag test
Nick Clifton [Wed, 1 Jul 1998 22:36:33 +0000 (22:36 +0000)] 
xfail ARM and Thumb coifftag test

25 years agofix indentation
Ian Lance Taylor [Wed, 1 Jul 1998 22:05:41 +0000 (22:05 +0000)] 
fix indentation

25 years ago"propogate" -> "propagate"
Richard Henderson [Wed, 1 Jul 1998 21:53:34 +0000 (21:53 +0000)] 
"propogate" -> "propagate"

25 years ago * sim/sky/vureloc{.brn,-main.c,.dvpasm}: New files.
Doug Evans [Wed, 1 Jul 1998 21:37:10 +0000 (21:37 +0000)] 
* sim/sky/vureloc{.brn,-main.c,.dvpasm}: New files.

25 years ago * gas/ppc/simpshft.s: Add alignment so that it works on AIX.
Ian Lance Taylor [Wed, 1 Jul 1998 21:32:44 +0000 (21:32 +0000)] 
* gas/ppc/simpshft.s: Add alignment so that it works on AIX.
* gas/ppc/simpshft.d: Change accordingly.  Only dump the .text
section.

25 years ago * coff-sh.c (sh_relax_delete_bytes): Correct address comparisons
Ian Lance Taylor [Wed, 1 Jul 1998 21:03:27 +0000 (21:03 +0000)] 
* coff-sh.c (sh_relax_delete_bytes): Correct address comparisons
  when handling 32 bit immediate relocs.
* elf32-sh.c (sh_elf_relax_delete_bytes): Likewise.

25 years ago*** empty log message ***
Jim Blandy [Wed, 1 Jul 1998 20:51:19 +0000 (20:51 +0000)] 
*** empty log message ***

25 years ago * gas/dvp/lower-2.[sd]: New testcase.
Doug Evans [Wed, 1 Jul 1998 20:50:44 +0000 (20:50 +0000)] 
* gas/dvp/lower-2.[sd]: New testcase.
* gas/dvp/dvp.exp: Run it.

25 years ago * ltconfig: Update to correct AIX handling.
Ian Lance Taylor [Wed, 1 Jul 1998 20:45:45 +0000 (20:45 +0000)] 
* ltconfig: Update to correct AIX handling.

25 years agoI found that the relax failure for execute/930628-1.c is due to gas
Joern Rennecke [Wed, 1 Jul 1998 20:42:42 +0000 (20:42 +0000)] 
I found that the relax failure for execute/930628-1.c is due to gas
incorrectly relaxing an out-of-range conditional branch with delay slot.
It turned:
                        bf.s    L6              (slot mov.l   r12,@(44,r0))
into:

   2c:  8f 01 a0 8b     bf.s    32 <_main+32>   (slot bra       L6)
   30:  00 09           nop
   32:  10 cb           mov.l   r12,@(44,r0)

* config/tc-sh (COND_JUMP_DELAY, COND12_DELAY_LENGTH): Define.
Changed all users of COND12_DELAY.

25 years agoWed Jul 1 13:10:58 1998 Jim Ingham <jingham@cygnus.com>
Jim Ingham [Wed, 1 Jul 1998 20:17:31 +0000 (20:17 +0000)] 
Wed Jul  1 13:10:58 1998  Jim Ingham   <jingham@cygnus.com>

* Moved gdbtk_hooks.c & gdbtk_cmds.c to gdbtk-hooks.c &
gdbtk-cmds.c to comply with the gdb conventions.  Changed the
configure & makefile to reflect the change...

25 years ago * reloc.c: New relocs BFD_RELOC_MIPS_DVP_11_S4,
Doug Evans [Wed, 1 Jul 1998 20:14:12 +0000 (20:14 +0000)] 
* reloc.c: New relocs BFD_RELOC_MIPS_DVP_11_S4,
BFD_RELOC_MIPS_DVP_U15_S3.
* elf32-mips.c: Handle them.
* bfd-in2.h: Regenerate.
* libbfd.h: Regenerate.

25 years ago * config/tc-dvp.c (md_apply_fix3): Handle new relocs
Doug Evans [Wed, 1 Jul 1998 19:40:56 +0000 (19:40 +0000)] 
* config/tc-dvp.c (md_apply_fix3): Handle new relocs
BFD_RELOC_MIPS_DVP_11_S4, BFD_RELOC_MIPS_DVP_U15_S3.

25 years ago * dvp-opc.c (DVP_OPERAND_RELOC_11_S4): Temporarily back out
Doug Evans [Wed, 1 Jul 1998 19:34:55 +0000 (19:34 +0000)] 
* dvp-opc.c (DVP_OPERAND_RELOC_11_S4): Temporarily back out
the DVP_OPERAND_RELOC_11_S4 relocation.
* dvp-opc.c (LIMM11, LUIMM15): New symbol types
DVP_OPERAND_RELOC_U15_S3 and DVP_OPERAND_RELOC_11_S4 to allow labels to
be used as immediate values.

25 years agoWed Jul 1 11:07:21 1998 Jim Ingham <jingham@cygnus.com>
Jim Ingham [Wed, 1 Jul 1998 19:29:14 +0000 (19:29 +0000)] 
Wed Jul  1 11:07:21 1998  Jim Ingham   <jingham@cygnus.com>

* main.tcl (gdbtk_preloop): Call gdbtk_idle on spec.  If there was an
        error in loading an executible specified on the command line,
then the pre_add_symbol hook would have called gdbtk_busy but
        the corresponding call to gdbtk_idle would not have occured.

        Also changed some catch calls so they didn't use
        "catch {set foo [real_command]}"
    but rather the more efficient:
"catch {real_command} foo"

* register.tcl: more catch cleanups
* src.tcl: more catch cleanups
* stack.tcl: more catch cleanups
* target.tcl: more catch cleanups
* tdump.tcl: more catch cleanups
* variables.tcl: more catch cleanups
* watch.tcl: more catch cleanups

* gdbtk.c (gdbtk_init): Fixed a bug in the startup code on Windows
that caused gdbtk not to find the share directory unless
GDBTK_LIBRARY was set.

* gdbtk.c: removed all the commands and hooks from this file so
now it contains only the startup code.
  * gdbtk_cmds.c: New file - this contains all the Tcl commands that
gdb defines.  All the old commands were moved here, the
string-based commands were converted to object commands, and the
object-based commands were all converted to uniformly use the
call_wrapper.  A new function, Gdbtk_Init was added to centralize
initializing the gdb package.  Also added gdbtk as a package
into gdbtk_interp.
* gdbtk_hooks.c: New file - All the hooks were moved here, and a new
function, gdbtk_add_hooks was added to centralize adding all these
hook functions.  gdbtk_fputs was also modified to handle the new
result_ptr structure.  See the comments in gdbtk.h for more
details.
* gdbtk.h: New file - this contains all the defines and globals
shared by gdbtk.c, gdbtk_cmds.c & gdbtk_hooks.c
* Makefile.in, configure.in & configure: mutatis mutandi for the
new files.

25 years agorebuild
Ian Lance Taylor [Wed, 1 Jul 1998 18:34:33 +0000 (18:34 +0000)] 
rebuild

25 years agonew files for windres
Ian Lance Taylor [Wed, 1 Jul 1998 18:33:06 +0000 (18:33 +0000)] 
new files for windres

25 years agox
Ian Lance Taylor [Wed, 1 Jul 1998 18:32:49 +0000 (18:32 +0000)] 
x

25 years ago * rclex.l: Add casts and change types to avoid warnings.
Ian Lance Taylor [Wed, 1 Jul 1998 18:30:20 +0000 (18:30 +0000)] 
* rclex.l: Add casts and change types to avoid warnings.
* rcparse.y: Likewise.
* resbin.c: Likewise.
* rescoff.c: Likewise.
* resrc.c: Likewise.

* Makefile.am: Rebuild dependencies.
  (HFILES): Remove readelf.h.
* Makefile.in: Rebuild.

Based on patches from Andrew Kozin
<Andrew.Kozin@p14.f960.n5020.z2.fidonet.org>:
* winduni.h: New file, from windres.h.
* winduni.c: New file, from windres.c.
* windres.c: Move Unicode functions into winduni.c.
* windres.h: Move Unicode declarations into winduni.h.  Include
winduni.h.
  (RT_ACCELERATOR): Rename from RT_ACCELERATORS to match Windows
macro.  Change all uses.
(RT_PLUGPLAY, RT_VXD): Correct values.
* Makefile.am (HFILES): Add windres.h.
(CFILES): Add winduni.c.
(windres_SOURCES): Add winduni.c.

25 years agoPass thumb-pe and arm-pe
Nick Clifton [Wed, 1 Jul 1998 17:52:43 +0000 (17:52 +0000)] 
Pass thumb-pe and arm-pe

25 years agoReplace object.scm with cos.scm
Nick Clifton [Wed, 1 Jul 1998 16:42:36 +0000 (16:42 +0000)] 
Replace object.scm with cos.scm

25 years ago * mn10300_sim.h: Include bfd.h
Jeff Law [Tue, 30 Jun 1998 17:28:54 +0000 (17:28 +0000)] 
    * mn10300_sim.h: Include bfd.h
        (struct state): Add more room for processor specific registers.
start-sanitize-am33
        (REG_E0): Define.
end-sanitize-am33

25 years ago * section.c (STD_SECTION): Account for recently added gc_mark
Jeff Law [Tue, 30 Jun 1998 17:09:28 +0000 (17:09 +0000)] 
    * section.c (STD_SECTION): Account for recently added gc_mark
        field in struct asection.

25 years agoremove readelf.h from file list
Nick Clifton [Tue, 30 Jun 1998 16:25:20 +0000 (16:25 +0000)] 
remove readelf.h from file list

25 years ago * m10300-opc.c: Reorder "movbu" and "movhu" instructions too.
Jeff Law [Tue, 30 Jun 1998 16:04:44 +0000 (16:04 +0000)] 
    * m10300-opc.c: Reorder "movbu" and "movhu" instructions too.
Why oh why didn't they take our advice about register prefixing.  It would
have avoided the ambigious syntax issues.  Sigh.

25 years ago * elf-m10300.c (bfd_mn10300_elf_merge_private_bfd_data): New function.
Jeff Law [Tue, 30 Jun 1998 16:00:12 +0000 (16:00 +0000)] 
    * elf-m10300.c (bfd_mn10300_elf_merge_private_bfd_data): New function.
        (bfd_elf32_bfd_merge_private_bfd_data): Define.
So the machine id gets propagated into executables.

25 years agoELF Section-level Garbage Collection.
Richard Henderson [Tue, 30 Jun 1998 10:02:22 +0000 (10:02 +0000)] 
ELF Section-level Garbage Collection.

25 years agoMon Jun 29 19:01:18 1998 Jim Wilson <wilson@cygnus.com>
Jason Molenda [Tue, 30 Jun 1998 02:40:12 +0000 (02:40 +0000)] 
Mon Jun 29 19:01:18 1998  Jim Wilson  <wilson@cygnus.com>

        * gnu-regex.c (re_comp): Add cast to char * before gettext calls.

25 years agoImproved portability of readelf
Nick Clifton [Tue, 30 Jun 1998 00:03:05 +0000 (00:03 +0000)] 
Improved portability of readelf

25 years ago * config/tc-mn10300.c (r_registers): Fix typo and add some missing
Jeff Law [Mon, 29 Jun 1998 21:01:03 +0000 (21:01 +0000)] 
    * config/tc-mn10300.c (r_registers): Fix typo and add some missing
        registers.

25 years ago * m10300-opc.c: Reorder more instructions so that we do not
Jeff Law [Mon, 29 Jun 1998 20:57:25 +0000 (20:57 +0000)] 
    * m10300-opc.c: Reorder more instructions so that we do not
        accidentally match a mn10300 instruction when we really
        wanted an am33 instruction.

25 years ago * main.c (main): Don't include gdbtk test code if GDBTK is
Keith Seitz [Mon, 29 Jun 1998 19:04:30 +0000 (19:04 +0000)] 
    * main.c (main): Don't include gdbtk test code if GDBTK is
        not defined by configure.

        * configure.in: When enabling gdbtk, add "-DGDBTK" to ENABLE_CFLAGS.

        * configure: Regenerate.

25 years ago * config/tc-mips.c (prev_insn_labels): New.
Gavin Romig-Koch [Mon, 29 Jun 1998 13:38:34 +0000 (13:38 +0000)] 
* config/tc-mips.c (prev_insn_labels): New.
(mips_fix_4011_branch_bug): New.
(append_insn): Watch for and handle branchs with labels.
(mips_no_prev_insn): Initialize prev_insn_labels.
(md_longopts,md_parse_option): Add {no-}fix-4011-branch-bug option.

25 years ago * interp.c (OPTION_BRANCH_BUG_4011): Add.
Gavin Romig-Koch [Mon, 29 Jun 1998 13:30:01 +0000 (13:30 +0000)] 
* interp.c (OPTION_BRANCH_BUG_4011): Add.
(mips_option_handler): Handle OPTION_BRANCH_BUG_4011.
(mips_options): Define the option.
* mips.igen (check_4011_branch_bug): New.
(mark_4011_branch_bug): New.
(all branch insn): Call mark_branch_bug, and check_branch_bug.
* sim-main.h (branchbug4011_option, branchbug4011_last_target,
branchbug4011_last_cia, BRANCHBUG4011_OPTION,
BRANCHBUG4011_LAST_TARGET, BRANCHBUG4011_LAST_CIA,
check_branch_bug, mark_branch_bug): Define.

25 years ago * mips.igen (check_mf_hilo): Correct check.
Gavin Romig-Koch [Mon, 29 Jun 1998 13:22:31 +0000 (13:22 +0000)] 
* mips.igen (check_mf_hilo): Correct check.

25 years ago* Attempt to make readelf.c compile under IRIX6 cc by inserting
Frank Ch. Eigler [Mon, 29 Jun 1998 07:40:02 +0000 (07:40 +0000)] 
* Attempt to make readelf.c compile under IRIX6 cc by inserting
  non-functional "break;" in switch statement.

25 years agoSun Jun 28 22:34:34 1998 Martin M. Hunt <hunt@cygnus.com>
Martin Hunt [Mon, 29 Jun 1998 05:31:35 +0000 (05:31 +0000)] 
Sun Jun 28 22:34:34 1998  Martin M. Hunt  <hunt@cygnus.com>

* gdb.gdbtk/simple.c (main): Make main return an
int so compiler will stop complaining.

25 years ago Improve support for SunPro F77.
Peter Schauer [Sun, 28 Jun 1998 18:36:50 +0000 (18:36 +0000)] 
Improve support for SunPro F77.
* dbxread.c (end_psymtab, process_one_symbol):  Handle minimal
symbols with trailing underscore names.
* minsyms.c (find_stab_function_addr):  Ditto.
* dbxread.c (process_one_symbol):  Ignore N_ALIAS for now.
* partial-stab.h (case N_ALIAS):  Ditto.
* stabsread.c (read_sun_builtin_type):  Handle boolean types.

25 years ago * lib/gdb.exp (gdbtk_start): Add startup for gdbtk.
Keith Seitz [Sat, 27 Jun 1998 00:47:35 +0000 (00:47 +0000)] 
    * lib/gdb.exp (gdbtk_start): Add startup for gdbtk.

        * configure.in: Add options for gdbtk testsuite.

        * configure: Regenerate.

        * gdb.gdbtk: New directory to hold gdbtk tests.

        * gdb.gdbtk/console.{exp, test}: New console window tests.

25 years ago * symtab.h (enum namespace): Add new namespaces FUNCTIONS_NAMESPACE,
Keith Seitz [Sat, 27 Jun 1998 00:45:20 +0000 (00:45 +0000)] 
    * symtab.h (enum namespace): Add new namespaces FUNCTIONS_NAMESPACE,
        TYPES_NAMESPACE, METHODS_NAMESPACE, and VARIABLES_NAMESPACE used by
        new search_symbols.
        Add prototype for search_symbols and free_search_symbols.

        * symtab.c (list_symbols): Rewrite to use new search_symbols.
        (file_matches): New helper function for search_symbols.
        (free_search_symbols): New function which frees data returned from
        search_symbols.
        (print_symbol_info): New helper function which prints info about a
        matched symbol to stdout. Extracted from old list_symbols.
        (print_msymbol_info): New helper function which prints info about
        a matched msymbol to stdout. Extracted from old list_symbols.
        (symtab_symbol_info): Extracted from old list_symbols.
        (variables_info): Use symtab_symbol_info.
        (functions_info): Use symtab_symbol_info.
        (types_info): Use symtab_symbol_info.
        (rbreak_command): Rewrite to use new search_symbols.

        * gdbtk.c: Change all references to static global "interp" to
        "gdbtk_interp" and export this global.
        (gdbtk_init): If gdbtk_source_filename is not NULL, source this file
        into the interpreter when it goes idle.
        Add new command "gdb_search".
        (gdb_search): New function which searches the symbol table.
        (gdbtk_test): New function called by main when the --tclcommand
        option is used.

        * main.c (main): Add a new option "--tclcommand" which is used
        by the testsuite to source a file into the interpreter when it
        goes idle.

25 years ago * objcopy.c (strip_main): keep_specific_list == NULL as additional
Vladimir Makarov [Fri, 26 Jun 1998 22:25:39 +0000 (22:25 +0000)] 
* objcopy.c (strip_main): keep_specific_list == NULL as additional
condition to set up strip all symbols by default.
(copy_archive): don't change archive when error in object files of
the archive.
PR16197

25 years ago * gdb.fortran/types.exp: Escape brackets in expect patterns
Peter Schauer [Fri, 26 Jun 1998 21:59:29 +0000 (21:59 +0000)] 
* gdb.fortran/types.exp:  Escape brackets in expect patterns
for test_float_literal_types_accepted tests.
* gdb.base/scope.exp:  Remove extraneous newline in filelocal_bss
before run test.

25 years agoDo not try to include sys/mount.h anymore
Michael Meissner [Fri, 26 Jun 1998 18:22:48 +0000 (18:22 +0000)] 
Do not try to include sys/mount.h anymore

25 years ago * config/tc-mn10300.c (set_arch_mach): New function.
Jeff Law [Fri, 26 Jun 1998 17:24:34 +0000 (17:24 +0000)] 
    * config/tc-mn10300.c (set_arch_mach): New function.
        (md_pseudo_table): Add pseudo-ops to set the current machine type.
        (md_begin): Default to mn10300 mode.
        (md_assemble): Only accept instructions for the core mn10300
        chip and the active machine type.

This page took 0.044757 seconds and 4 git commands to generate.