binutils-gdb.git
26 years ago * alpha-dis.c (print_insn_alpha): Use the machine type to
Richard Henderson [Sun, 30 Aug 1998 05:25:27 +0000 (05:25 +0000)]
    * alpha-dis.c (print_insn_alpha): Use the machine type to
        decide which PALcode set to include.

26 years ago * configure.in: Make all i386-elf targets use bfd_gas.
Richard Henderson [Sun, 30 Aug 1998 05:23:16 +0000 (05:23 +0000)]
    * configure.in: Make all i386-elf targets use bfd_gas.
        * config/tc-i386.c (tc_i386_force_relocation): New.
        (tc_i386_fix_adjustable): Don't fix vtable relocs.
        (md_apply_fix3): Likewise.
        (tc_gen_reloc): Handle them.
        * config/tc-i386.h (TC_FORCE_RELOCATION): Always define, calling
        tc_i386_force_relocation.

26 years ago * archures.c (bfd_mach_alpha_ev[456]): New.
Richard Henderson [Sat, 29 Aug 1998 02:46:21 +0000 (02:46 +0000)]
    * archures.c (bfd_mach_alpha_ev[456]): New.
        * cpu-alpha.c: Rework to match these types.

26 years ago * elf-bfd.h (_bfd_elf_rel_vtable_reloc_fn): Declare.
Richard Henderson [Sat, 29 Aug 1998 02:43:47 +0000 (02:43 +0000)]
    * elf-bfd.h (_bfd_elf_rel_vtable_reloc_fn): Declare.
        * elf.c (_bfd_elf_rel_vtable_reloc_fn): New.

        * elf32-i386.c (elf_howto_table): Add vtable relocs.
        (elf_i386_reloc_type_lookup): Recognize them.
        (elf_i386_check_relocs): Pass them off to generic code.
        (elf_i386_relocate_section): Ignore them.
        (elf_i386_gc_mark_hook, elf_i386_gc_sweep_hook): New.
        (elf_backend_can_gc_sections): True.

26 years agoremove armelf sanitization
Catherine Moore [Fri, 28 Aug 1998 20:28:26 +0000 (20:28 +0000)]
remove armelf sanitization

26 years agoremove armelf sanitization.
Catherine Moore [Fri, 28 Aug 1998 20:26:14 +0000 (20:26 +0000)]
remove armelf sanitization.

26 years ago * mdata-sh: Imported. Needed for automake support.
Per Bothner [Fri, 28 Aug 1998 19:29:20 +0000 (19:29 +0000)]
* mdata-sh:  Imported.  Needed for automake support.

26 years agoFri Aug 28 12:14:49 1998 Martin M. Hunt <hunt@cygnus.com>
Martin Hunt [Fri, 28 Aug 1998 19:18:38 +0000 (19:18 +0000)]
Fri Aug 28 12:14:49 1998  Martin M. Hunt  <hunt@cygnus.com>

* gdbtk-cmds.c (gdb_loadfile): Open the file after doing
the symtab lookup and calling symtab_to_filename(). This
makes GDBtk work with the GDB "dir" command.

26 years agoadd elfarm.sc to things to keep
Catherine Moore [Thu, 27 Aug 1998 20:40:30 +0000 (20:40 +0000)]
add elfarm.sc to things to keep

26 years agoadd armelf.em to things to keep.
Catherine Moore [Thu, 27 Aug 1998 20:39:21 +0000 (20:39 +0000)]
add armelf.em to things to keep.

26 years agoadd elf32-arm.c to things to keep
Catherine Moore [Thu, 27 Aug 1998 20:35:58 +0000 (20:35 +0000)]
add elf32-arm.c to things to keep

26 years agoremove armelf sanitization.
Catherine Moore [Wed, 26 Aug 1998 17:55:50 +0000 (17:55 +0000)]
remove armelf sanitization.

26 years agoChange sanitization of vrXXXX to cygnus, so redact might work on it.
Ken Raeburn [Wed, 26 Aug 1998 17:29:06 +0000 (17:29 +0000)]
Change sanitization of vrXXXX to cygnus, so redact might work on it.
This means using keep-vr4320 without keep-cygnus probably won't work.

26 years agoremove armelf sanitization
Catherine Moore [Wed, 26 Aug 1998 17:25:19 +0000 (17:25 +0000)]
remove armelf sanitization

26 years agoremove armelf sanitization.
Catherine Moore [Wed, 26 Aug 1998 17:17:56 +0000 (17:17 +0000)]
remove armelf sanitization.

26 years agoRegress yesterday's change to jmp instn implementation in mn10300.igen.
Joyce Janczyn [Wed, 26 Aug 1998 13:37:56 +0000 (13:37 +0000)]
Regress yesterday's change to jmp instn implementation in mn10300.igen.

26 years agoRegress yesterday's change to jmp instruction -- it has deceiving syntax.
Joyce Janczyn [Wed, 26 Aug 1998 13:31:38 +0000 (13:31 +0000)]
Regress yesterday's change to jmp instruction -- it has deceiving syntax.
Also tidy up some code to match documentation and fix div, divu by 0.

26 years ago(process_syminfo): Print names of files symbols are bound to, not the index.
Ulrich Drepper [Wed, 26 Aug 1998 00:17:28 +0000 (00:17 +0000)]
(process_syminfo): Print names of files symbols are bound to, not the index.

26 years agoUpdate.
Ulrich Drepper [Tue, 25 Aug 1998 23:48:58 +0000 (23:48 +0000)]
Update.

26 years ago(process_dynamic_segment): Read syminfo section if available.
Ulrich Drepper [Tue, 25 Aug 1998 23:47:11 +0000 (23:47 +0000)]
(process_dynamic_segment): Read syminfo section if available.
(process_syminfo): New function.  Print syminfo information.
(process_file): Call process_syminfo and free syminfo data at the end.

26 years ago* mn10300.igen (OP_F0F4): Need to load contents of register AN0
Joyce Janczyn [Tue, 25 Aug 1998 20:49:35 +0000 (20:49 +0000)]
* mn10300.igen (OP_F0F4): Need to load contents of register AN0
for jmp.

26 years agoTue Aug 25 13:21:58 1998 Michael Snyder <msnyder@cleaver.cygnus.com>
Michael Snyder [Tue, 25 Aug 1998 20:24:03 +0000 (20:24 +0000)]
Tue Aug 25 13:21:58 1998  Michael Snyder  <msnyder@cleaver.cygnus.com>

        * ax-gdb.c (gen_var_ref): Allow for typedef types.
        (gen_cast, gen_bitfield_ref, gen_expr): ditto.

26 years ago* eCos tx3904sio sim - devo part 2/2
Frank Ch. Eigler [Tue, 25 Aug 1998 14:16:58 +0000 (14:16 +0000)]
* eCos tx3904sio sim - devo part 2/2
Tue Aug 25 12:49:46 1998  Frank Ch. Eigler  <fche@cygnus.com>
* dv-tx3904sio.c: New file: tx3904 serial I/O module.
* configure.in: Add dv-tx3904sio, dv-sockser for tx39 target.
Reorganize target-specific sim-hardware checks.
* configure: rebuilt.
* interp.c (sim_open): For tx39 target boards, set
OPERATING_ENVIRONMENT, add tx3904sio devices.
* tconfig.in: For tx39 target, set SIM_HANDLES_LMA for loading
ROM executables.  Install dv-sockser into sim-modules list.
* dv-tx3904irc.c: Compiler warning clean-up.
* dv-tx3904tmr.c: Compiler warning clean-up.  Remove particularly
frequent hw-trace messages.

26 years ago* eCos tx3904sio sim - devo part 1/2
Frank Ch. Eigler [Tue, 25 Aug 1998 13:58:35 +0000 (13:58 +0000)]
* eCos tx3904sio sim - devo part 1/2
Tue Aug 25 12:45:27 1998  Frank Ch. Eigler  <fche@cygnus.com>
* dv-sockser.c (sockser_addr): Make variable non-static.

26 years agoMon Aug 24 18:29:03 1998 Michael Snyder <msnyder@cleaver.cygnus.com>
Michael Snyder [Tue, 25 Aug 1998 01:31:06 +0000 (01:31 +0000)]
Mon Aug 24 18:29:03 1998  Michael Snyder  <msnyder@cleaver.cygnus.com>

        * tracepoint.c (collect_symbol): Handle register doubles that
        are stored in two registers.

26 years ago * sh-stub.c (undoSStep): Improve comment.
Mark Alexander [Mon, 24 Aug 1998 21:51:33 +0000 (21:51 +0000)]
* sh-stub.c (undoSStep): Improve comment.
* sparc-tdep.c (sparc_extract_struct_value_address): Simplify to use
same method on both 32-bit and 64-bit machines.
* sparcl-tdep.c (sparclite_check_watch_resources): Simulator doesn't
support hardware breakpoints.
* config/sparc/tm-sparc.h (CALL_DUMMY): Improve comments.

26 years agoImprove formatting of --help output
Nick Clifton [Mon, 24 Aug 1998 20:41:35 +0000 (20:41 +0000)]
Improve formatting of --help output

26 years ago* sim-main.h (SIM_HANDLES_LMA): Define SIM_HANDLES_LMA.
Joyce Janczyn [Mon, 24 Aug 1998 15:52:43 +0000 (15:52 +0000)]
* sim-main.h (SIM_HANDLES_LMA): Define SIM_HANDLES_LMA.

26 years ago* sim-hw.{c,h} (sim_hw_parse): Return struct hw pointer.
Joyce Janczyn [Mon, 24 Aug 1998 15:48:45 +0000 (15:48 +0000)]
* sim-hw.{c,h} (sim_hw_parse): Return struct hw pointer.

26 years ago * configure.in (target_libs): Added target-qthreads.
Tom Tromey [Fri, 21 Aug 1998 19:51:08 +0000 (19:51 +0000)]
* configure.in (target_libs): Added target-qthreads.
* Makefile.in (ALL_TARGET_MODULES): Added qthreads.
(CONFIGURE_TARGET_MODULES): Likewise.
(CHECK_TARGET_MODULES): Likewise.
(INSTALL_TARGET_MODULES): Likewise.
(CLEAN_TARGET_MODULES): Likewise.
(all-target-qthreads): New target.
(configure-target-libjava): Depend on configure-target-qthreads.
(all-target-libjava): Depend on all-target-qthreads.

26 years agoheh heh, too quick with cuttin-n-pastin.
Doug Evans [Fri, 21 Aug 1998 18:26:14 +0000 (18:26 +0000)]
heh heh, too quick with cuttin-n-pastin.
Sanitize tc-dvp.c part of last entry.

26 years agoFix for PR15003 - add FLAG_MUL32 to MAC, MACS, MSUB and MSUBS insns.
Nick Clifton [Fri, 21 Aug 1998 17:03:49 +0000 (17:03 +0000)]
Fix for PR15003 - add FLAG_MUL32 to MAC, MACS, MSUB and MSUBS insns.

26 years agoFix for PR15003 - copy prev_opcode over opcode after issuing first insn in
Nick Clifton [Fri, 21 Aug 1998 17:03:20 +0000 (17:03 +0000)]
Fix for PR15003 - copy prev_opcode over opcode after issuing first insn in
a REVSEQ pair.

26 years agofix armelf sanitization and checks for mentions of sanitized files
Ian Lance Taylor [Fri, 21 Aug 1998 16:02:40 +0000 (16:02 +0000)]
fix armelf sanitization and checks for mentions of sanitized files

26 years agofix armelf sanitization and earmelf.c dependencies
Ian Lance Taylor [Fri, 21 Aug 1998 16:02:05 +0000 (16:02 +0000)]
fix armelf sanitization and earmelf.c dependencies

26 years agoskip CVS when looking at sanitized files
Ian Lance Taylor [Fri, 21 Aug 1998 15:58:30 +0000 (15:58 +0000)]
skip CVS when looking at sanitized files

26 years ago * read.h (generate_lineno_debug): Add prototype.
Doug Evans [Fri, 21 Aug 1998 14:53:38 +0000 (14:53 +0000)]
* read.h (generate_lineno_debug): Add prototype.
* read.c (generate_lineno_debug): Make non-static.
* config/tc-dvp.c (insert_mpg_marker): Call generate_lineno_debug.
Part of fix for pr 16876.

26 years ago * gas/i386/white.l: Revert patch of August 12.
Ian Lance Taylor [Fri, 21 Aug 1998 03:18:55 +0000 (03:18 +0000)]
* gas/i386/white.l: Revert patch of August 12.

26 years agoThu Aug 20 23:17:04 1998 Alan Modra <alan@spri.levels.unisa.edu.au>
Ian Lance Taylor [Fri, 21 Aug 1998 03:18:04 +0000 (03:18 +0000)]
Thu Aug 20 23:17:04 1998  Alan Modra  <alan@spri.levels.unisa.edu.au>

* config/tc-i386.c (md_assemble): Only warn for address/data size
prefixes.

26 years agoFix seg fault when displaying linker error message
Nick Clifton [Thu, 20 Aug 1998 22:08:22 +0000 (22:08 +0000)]
Fix seg fault when displaying linker error message

26 years agocheck for mentions of sanitized files
Ian Lance Taylor [Thu, 20 Aug 1998 22:00:31 +0000 (22:00 +0000)]
check for mentions of sanitized files

26 years agorework last patch
Ian Lance Taylor [Thu, 20 Aug 1998 21:58:15 +0000 (21:58 +0000)]
rework last patch

26 years agomention directory when looking for sanitize
Ian Lance Taylor [Thu, 20 Aug 1998 21:54:07 +0000 (21:54 +0000)]
mention directory when looking for sanitize

26 years agodo not adjust relocations against thumb function names as the linker needs
Nick Clifton [Thu, 20 Aug 1998 21:47:17 +0000 (21:47 +0000)]
do not adjust relocations against thumb function names as the linker needs
this information.

26 years agocheck for mentions of sanitized files
Ian Lance Taylor [Thu, 20 Aug 1998 21:16:39 +0000 (21:16 +0000)]
check for mentions of sanitized files

26 years agocheck for mentions of sanitized files
Ian Lance Taylor [Thu, 20 Aug 1998 20:58:28 +0000 (20:58 +0000)]
check for mentions of sanitized files

26 years agoadd configure to list of files to check
Ian Lance Taylor [Thu, 20 Aug 1998 20:55:13 +0000 (20:55 +0000)]
add configure to list of files to check

26 years agoCheck whether any sanitized files are mentioned elsewhere.
Ian Lance Taylor [Thu, 20 Aug 1998 20:54:08 +0000 (20:54 +0000)]
Check whether any sanitized files are mentioned elsewhere.

26 years ago1998-08-20 Jason Molenda (jsm@bugshack.cygnus.com)
Jason Molenda [Thu, 20 Aug 1998 20:11:18 +0000 (20:11 +0000)]
1998-08-20  Jason Molenda  (jsm@bugshack.cygnus.com)

        * rdi-share/Makefile.am (INCLUDES): Fix typeo.
        * rdi-share/Makefile.in: Regenerated.

26 years ago * expr.c (operand): Check also that there is no advance in operand
Vladimir Makarov [Thu, 20 Aug 1998 20:08:23 +0000 (20:08 +0000)]
* expr.c (operand): Check also that there is no advance in operand
after atof_generic in order to decide "is it label 0f or floating
point number?".

26 years ago * expr.c (operand): Check more correctly that there is no advance
Vladimir Makarov [Thu, 20 Aug 1998 18:28:07 +0000 (18:28 +0000)]
* expr.c (operand): Check more correctly that there is no advance
in operand after atof_generic in order to decide "is it label 0f
or floating point number?".

26 years ago * expr.c (operand): Check correctly that there is no advance in
Vladimir Makarov [Thu, 20 Aug 1998 16:10:35 +0000 (16:10 +0000)]
* expr.c (operand): Check correctly that there is no advance in
operand after atof_generic in order to decide "is it label 0f or
floating point number".
PR16670

26 years ago1998-08-19 Jason Molenda (jsm@bugshack.cygnus.com)
Jason Molenda [Thu, 20 Aug 1998 03:15:05 +0000 (03:15 +0000)]
1998-08-19  Jason Molenda  (jsm@bugshack.cygnus.com)

        * rdi-share/Makefile.am: Use just `INCLUDES' not `libname_INCLUDES'.
        * rdi-share/Makefile.in: Regenerated.

26 years agoWed Aug 19 15:43:26 1998 Michael Snyder <msnyder@cleaver.cygnus.com>
Michael Snyder [Thu, 20 Aug 1998 00:32:36 +0000 (00:32 +0000)]
Wed Aug 19 15:43:26 1998  Michael Snyder  <msnyder@cleaver.cygnus.com>

        * elfcode.h (elf_object_p): Reject files of header type ET_CORE
        (core files are treated differently than object files).
        * elf-bfd.h (_bfd_elf_write_corefile_contents,
        bfd_elf_mkcorefile): declare.
        * elfxx-target.h (_bfd_elf_write_corefile_contents,
        bfd_elf_mkcorefile): add to bfd_target vector.
        * elfcore.h (elf_core_file_p): save the program header table,
        and set the bfd architecture from the elf file header.
        * elf.c (bfd_elf_mkcorefile): new function.
        (_bfd_elf_write_corefile_contents): new function.
        (assign_file_positions_for_segments): add cases for handling
        PT_NOTE segments.  (assign_file_positions_except_relocs):
        core files should be handled the same as exec files.
        (prep_headers): identify core files as type ET_CORE.
        (copy_private_bfd_data): identify the sections belonging to
        the PT_NOTE segment.

        * elf32-sparc.c (elf32_sparc_final_write_processing):
        add break statement to default case.

26 years ago * v850ice.c (v850ice_stop): New function to stop the ICE.
Keith Seitz [Thu, 20 Aug 1998 00:14:03 +0000 (00:14 +0000)]
    * v850ice.c (v850ice_stop): New function to stop the ICE.
        (v850ice_load) Pass filename to ICE DLL.
        (ice_stepi, ice_nexti, ice_cont): Do not directly call the gdb
        commands -- let the GUI do it so that it can retain control
        of the display.

26 years ago * i386v4-nat.c: Include sys/reg.h if present.
Anthony Green [Wed, 19 Aug 1998 22:57:00 +0000 (22:57 +0000)]
* i386v4-nat.c: Include sys/reg.h if present.

26 years ago * elf32-ppc.c (ppc_elf_relocate_section): Check that output
Vladimir Makarov [Wed, 19 Aug 1998 21:28:51 +0000 (21:28 +0000)]
* elf32-ppc.c (ppc_elf_relocate_section): Check that output
section (not input) will be in sections ".sbss", ".sbss2",
".sdata", and ".sdata" for R_PPC_SDAREL16, R_PPC_EMB_SDA2REL,
R_PPC_EMB_SDA21, R_PPC_EMB_RELSDA.  In all these cases also ignore
output_offset for correct evaluation of addend.
PR16246

26 years ago * dlltool.c (usage): Add file parameter. Change all callers.
Ian Lance Taylor [Wed, 19 Aug 1998 20:23:33 +0000 (20:23 +0000)]
* dlltool.c (usage): Add file parameter.  Change all callers.
(main): Don't treat '?' as a special case in getopt return.

* binutils.texi (dlltool): Document new options.  Add some uses of
@var.

Wed Aug 19 16:19:07 1998  Mumit Khan  <khan@xraylith.wisc.edu>

* dlltool.c (gen_def_file): Plug memory leak.  Don't print
demangled name if it is NULL.

Support for exporting all symbols to an output export def file:
* dlltool.c ({export_all_symbols, no_default_excludes,
no_default_excludes, excludes}): New file static variables.
(struct string_list): Type to hold list of symbols to exclude.
(scan_drectve_symbols): Renamed from scan_open_obj_file.
(scan_filtered_symbols): New static function.
(add_excludes): New static function.
(match_exclude): New static function.
(set_default_excludes): New static function.
(filter_symbols): New static function.
(scan_all_symbols): New static function.
(scan_open_obj_file): New static function.
(usage): Document new options.
(long_options): Add new options.
(main): Handle new options.

26 years ago*** empty log message ***
Fernando Nasser [Wed, 19 Aug 1998 19:55:58 +0000 (19:55 +0000)]
*** empty log message ***

26 years agoAdded missing sanitization markers
Nick Clifton [Wed, 19 Aug 1998 19:28:50 +0000 (19:28 +0000)]
Added missing sanitization markers

26 years agoAdd arm/thumb-elf expected failures
Nick Clifton [Wed, 19 Aug 1998 19:13:56 +0000 (19:13 +0000)]
Add arm/thumb-elf expected failures

26 years agoAdd sanitization markers.
Catherine Moore [Wed, 19 Aug 1998 16:40:22 +0000 (16:40 +0000)]
Add sanitization markers.

26 years agoFix for PR 16412 - give M32R specific command line options a one dash prefix
Nick Clifton [Wed, 19 Aug 1998 16:31:30 +0000 (16:31 +0000)]
Fix for PR 16412 - give M32R specific command line options a one dash prefix
instead of two.

26 years ago * config/alpha/alpha-linux (XDEPFILES): Build ser-tcp.
Richard Henderson [Wed, 19 Aug 1998 10:09:01 +0000 (10:09 +0000)]
    * config/alpha/alpha-linux (XDEPFILES): Build ser-tcp.

26 years ago * gdbtk-hooks.c (gdbtk_add_hooks): Set selected_frame_level_changed_hook
Keith Seitz [Wed, 19 Aug 1998 02:25:21 +0000 (02:25 +0000)]
    * gdbtk-hooks.c (gdbtk_add_hooks): Set selected_frame_level_changed_hook
.
        (gdbtk_selected_frame_changed): New function.

        * gdbtk-cmds.c (Gdbtk_Init): Add command gdb_stack into interpreter.
        Link gdb's global selected_frame_level with interpreter global
        gdb_selected_frame_level.
        (gdb_stack): New function to faciltate speedier backtraces from
        gdbtk.
        (get_frame_name): New helper function for gdb_stack.

26 years ago * stack.c: Define new hook, selected_frame_level_changed_hook, which
Keith Seitz [Wed, 19 Aug 1998 02:24:45 +0000 (02:24 +0000)]
    * stack.c: Define new hook, selected_frame_level_changed_hook, which
        will be called whenever the selected stack level changes.
        (select_frame): Call the selected_frame_level_changed_hook.

26 years ago * remote-rdi.c (arm_rdi_open): Pass serial device name to
Stan Shebs [Wed, 19 Aug 1998 01:27:46 +0000 (01:27 +0000)]
* remote-rdi.c (arm_rdi_open): Pass serial device name to
  Adp_OpenDevice, and include it in error reports.

26 years agoAck, accidentally generated it with autoconf 2.12, not the current version.
Jason Molenda [Wed, 19 Aug 1998 00:09:17 +0000 (00:09 +0000)]
Ack, accidentally generated it with autoconf 2.12, not the current version.

26 years ago1998-08-18 Jason Molenda (jsm@bugshack.cygnus.com)
Jason Molenda [Tue, 18 Aug 1998 23:04:24 +0000 (23:04 +0000)]
1998-08-18  Jason Molenda  (jsm@bugshack.cygnus.com)

        * configure.in: Add more header files to AC_CHECK_HEADERS.
        * configure: Regenerated.

        * command.c: Include wait.h or sys/wait.h if present.
        * inftarg.c: Ditto.
        * core-aout.c: Include ptrace.h or sys/ptrace.h if present, based
        on autoconf test.
        * infptrace.c: Ditto.

        * expprint.c: Include ctype.h for isprint prototype.
        * i386aix-nat.c: Include sys/reg.h if autoconf says it is present.
        * i386v-nat.c: Include ptrace.h, sys/ptrace.h, and sys/reg.h if
        present, based on autoconf test.

        * utils.c: Include curses.h and term.h if present.
        (puts_debug): Change 'carriage_return' local variable to return_p
        to avoid name clash.

        * config/m68k/nm-apollo68b.h: Don't define PTRACE_IN_WRONG_PLACE,
        determine it with autoconf.
        * config/i386/nm-linux.h: Don't define NO_SYS_REG_H, determine it
        with autoconf.
        * config/i386/nm-i386sco.h: Don't define NO_PTRACE_H, determine it
        with autoconf.
        * config/i386/nm-i386v.h: Ditto.
        * config/i386/nm-symmetry.h: Ditto.
        * config/m88k/xm-cxux.h: Ditto.
        * config/m88k/xm-dgux.h: Ditto.

        * config/m68k/delta68.mh (NAT_FILE): nm-delta68.h no longer necessary.
        * config/m68k/nm-delta68.h: Removed.

26 years agoTue Aug 18 15:42:40 1998 Martin M. Hunt <hunt@cygnus.com>
Martin Hunt [Tue, 18 Aug 1998 22:43:18 +0000 (22:43 +0000)]
Tue Aug 18 15:42:40 1998  Martin M. Hunt  <hunt@cygnus.com>

* gdbtk-cmds.c (gdb_listfuncs): Strip out global constructors
and destructors from the function list.

26 years ago * mips-opc.c: Insert contents of vu0.h, rather than including it.
Ian Lance Taylor [Tue, 18 Aug 1998 20:50:44 +0000 (20:50 +0000)]
* mips-opc.c: Insert contents of vu0.h, rather than including it.
* vu0.h: Remove.
* Makefile.am: Rebuild dependencies.
* Makefile: Rebuild.

26 years agofix broken sanitization
Ken Raeburn [Tue, 18 Aug 1998 18:58:10 +0000 (18:58 +0000)]
fix broken sanitization

26 years ago * emultempl/armelf.em (gld_armelf_before_allocation):
Catherine Moore [Tue, 18 Aug 1998 17:15:58 +0000 (17:15 +0000)]
    * emultempl/armelf.em (gld_armelf_before_allocation):
        Add bfd_ prefix to elf32_arm_process_before_allocation
        and elf32_arm_allocate_interworking_sections.
        (gld_armelf_after_open): Add bfd_ prefix to
        elf32_arm_get_bfd_for_interworking.

26 years agotc-arm.h: Define obj_fix_adjustable for OBJ_ELF.
Catherine Moore [Tue, 18 Aug 1998 17:03:48 +0000 (17:03 +0000)]
tc-arm.h: Define obj_fix_adjustable for OBJ_ELF.
tc-arm.c (arm_fix_adjustable): New routine.

26 years ago * elf32-arm.c: Add prefix bfd_ to elf32_arm_get_bfd_for_interworking,
Catherine Moore [Tue, 18 Aug 1998 16:55:29 +0000 (16:55 +0000)]
    * elf32-arm.c: Add prefix bfd_ to elf32_arm_get_bfd_for_interworking,
       elf32_arm_allocate_interworking_sections and
       elf32_arm_process_before_allocation.

        * bfd-in.h: Ammend prototype for
        elf32_arm_process_before_allocation to remove surplus third
        argument.

        * bfd-in2.h: Regenerate.

26 years ago * elf64-alpha.c (elf64_alpha_relax_section): Handle indirect symbols.
Richard Henderson [Sun, 16 Aug 1998 03:58:11 +0000 (03:58 +0000)]
    * elf64-alpha.c (elf64_alpha_relax_section): Handle indirect symbols.

26 years agoNo longer need to sanitize out tx39 bits
Stan Shebs [Fri, 14 Aug 1998 22:52:18 +0000 (22:52 +0000)]
No longer need to sanitize out tx39 bits

26 years ago * Makefile.am: Rebuild dependencies.
Ian Lance Taylor [Fri, 14 Aug 1998 19:52:24 +0000 (19:52 +0000)]
* Makefile.am: Rebuild dependencies.
* Makefile.in: Rebuild.

26 years ago * ldgram.y: Include "ldctor.h".
Ian Lance Taylor [Fri, 14 Aug 1998 19:40:01 +0000 (19:40 +0000)]
* ldgram.y: Include "ldctor.h".
(statement): Accept SORT around CONSTRUCTORS.
* ldctor.c: Include <ctype.h>.
(constructors_sorted): New global variable.
(ctor_prio, ctor_cmp): New static functions.
(ldctor_build_sets): Sort constructors if requested.
* ldctor.h (constructors_sorted): Declare.
* ldlang.c (print_statement): Print sorted CONSTRUCTORS
correctly.
* scripttempl/elf.sc: Add sort around CONSTRUCTORS.
* ld.texinfo (Output Section Keywords): Document SORT
  (CONSTRUCTORS).

26 years ago* aoutx.h (aout_link_input_section_ext): Use the relocation already
Stan Cox [Fri, 14 Aug 1998 18:56:41 +0000 (18:56 +0000)]
* aoutx.h (aout_link_input_section_ext): Use the relocation already
calculated for RELOC_SPARC_REV32 case.

26 years ago * mn10300-tdep.c (set_movm_offsets): Change second argument to
Jeff Law [Fri, 14 Aug 1998 17:18:01 +0000 (17:18 +0000)]
    * mn10300-tdep.c (set_movm_offsets): Change second argument to
        be the actual args to movm itself.  All callers changed.  Only set
        fi->fsr.regs[x] if reg X is saved by the movm instruction.

26 years ago * sol-thread.c (lwp_to_thread): Fix error message for failing
Peter Schauer [Fri, 14 Aug 1998 11:20:51 +0000 (11:20 +0000)]
* sol-thread.c (lwp_to_thread):  Fix error message for failing
td_ta_map_lwp2thr call.
(ps_lgetLDT):  Mask off upper bits in GS register when comparing
with selector.

26 years agoAdd armelf.
Catherine Moore [Thu, 13 Aug 1998 23:12:52 +0000 (23:12 +0000)]
Add armelf.

26 years ago * read.c (s_align, s_comm, s_mri_common, s_fail, s_globl, s_space,
Vladimir Makarov [Thu, 13 Aug 1998 22:05:52 +0000 (22:05 +0000)]
  * read.c (s_align, s_comm, s_mri_common, s_fail, s_globl, s_space,
  s_float_space, s_struct, cons_worker): Move ignore_rest_of_line or
  demand_empty_rest_of_line before mri_comment_end.
  (equals): Check garbage after expression before
  mri_comment_end in MRI mode.
PR16551

26 years agoAdded Foundry SDK changes.
Drew Moseley [Thu, 13 Aug 1998 20:24:45 +0000 (20:24 +0000)]
Added Foundry SDK changes.

26 years ago * ppc-opc.c (powerpc_operands): Omit parens around additions in
Ian Lance Taylor [Thu, 13 Aug 1998 20:24:03 +0000 (20:24 +0000)]
* ppc-opc.c (powerpc_operands): Omit parens around additions in
operand name macros.

26 years agoAdded a scope-level around the contents of an #ifdef in
Drew Moseley [Thu, 13 Aug 1998 20:15:20 +0000 (20:15 +0000)]
Added a scope-level around the contents of an #ifdef in
gdbtk_cleanup() so that the variable declarations in there
would not be illegal in a C compilation.

26 years ago * config/tc-mips.c (macro): Correct M_SGE_I/M_SGEUI_I case for a
Ian Lance Taylor [Thu, 13 Aug 1998 19:09:25 +0000 (19:09 +0000)]
* config/tc-mips.c (macro): Correct M_SGE_I/M_SGEUI_I case for a
small immediate constant to use the constant itself rather than
always using 1.

26 years agoThu Aug 13 12:20:39 1998 Catherine Moore <clm@cygnus.com>
Catherine Moore [Thu, 13 Aug 1998 17:45:02 +0000 (17:45 +0000)]
Thu Aug 13 12:20:39 1998  Catherine Moore  <clm@cygnus.com>

       * emulparams/armelf.sh:  Define TEMPLATE_NAME to armelf.
       * scripttempl/elfarm.sc:  Include .glue_7t and .glue7
       sections.
       * emultempl/armelf.em: New file.

26 years agoThu Aug 13 12:52:45 1998 H.J. Lu <hjl@gnu.org>
Ian Lance Taylor [Thu, 13 Aug 1998 16:58:33 +0000 (16:58 +0000)]
Thu Aug 13 12:52:45 1998  H.J. Lu  <hjl@gnu.org>

* Makefile.am (ld.dvi): Use " instead of ' for MAKEINFO.
* Makefile.in: Rebuild.

26 years agoKeep udf.s
Jeff Law [Thu, 13 Aug 1998 16:38:42 +0000 (16:38 +0000)]
Keep udf.s

26 years ago * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Set vma to 0
Doug Evans [Wed, 12 Aug 1998 23:35:38 +0000 (23:35 +0000)]
* emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Set vma to 0
for .DVP.overlay.* for elf32elmip too.

26 years agoWed Aug 12 19:00:39 1998 Geoff Keating <geoffk@ozemail.com.au>
Ian Lance Taylor [Wed, 12 Aug 1998 23:04:13 +0000 (23:04 +0000)]
Wed Aug 12 19:00:39 1998  Geoff Keating  <geoffk@ozemail.com.au>

* elf32-ppc.c (ppc_elf_adjust_dynamic_symbol): Generate PLT
entries unless the symbol is defined in the executable; in
particular, undefined weak symbols get a PLT entry.

26 years ago * config/tc-hppa.c (pa_enter): Call as_bad rather than abort.
Ian Lance Taylor [Wed, 12 Aug 1998 22:51:38 +0000 (22:51 +0000)]
* config/tc-hppa.c (pa_enter): Call as_bad rather than abort.
(pa_leave): Likewise.

26 years ago Based on patch from H.J. Lu <hjl@gnu.org>:
Ian Lance Taylor [Wed, 12 Aug 1998 19:22:30 +0000 (19:22 +0000)]
Based on patch from H.J. Lu <hjl@gnu.org>:
* ld-srec/srec.exp: Add xfails for Alpha ELF targets.

26 years ago Avoid some overflow cases:
Ian Lance Taylor [Wed, 12 Aug 1998 19:06:24 +0000 (19:06 +0000)]
Avoid some overflow cases:
* basic_blocks.h (bb_min_calls): Change to unsigned long.
* call_graph.h (cg_tally): Change count parameter to unsigned
long.
* cg_arcs.h (Arc): Change count field to unsigned long.
(arc_add): Change count parameter to unsigned long.
* source.h (Source_File): Change ncalls field to unsigned long.
* symtab.h (Sym): Change fields ncalls, bb_calls, and
cg.self_calls to unsigned long.
* Many files: Update accordingly.

26 years ago * configure, Makefile.in, aclocal.m4: Rebuild with current tools.
Ian Lance Taylor [Wed, 12 Aug 1998 19:01:16 +0000 (19:01 +0000)]
* configure, Makefile.in, aclocal.m4: Rebuild with current tools.

26 years ago * libaout.h: Remove nested comment to avoid warning.
Ian Lance Taylor [Wed, 12 Aug 1998 18:48:57 +0000 (18:48 +0000)]
* libaout.h: Remove nested comment to avoid warning.

26 years ago From Peter Thiemann <thiemann@informatik.uni-tuebingen.de>:
Ian Lance Taylor [Wed, 12 Aug 1998 18:02:01 +0000 (18:02 +0000)]
From Peter Thiemann <thiemann@informatik.uni-tuebingen.de>:
* ppc-opc.c (insert_mbe): Handle wrapping bitmasks.
(extract_mbe): Likewise.

26 years ago * gas/mn10300/udf.s: New test.
Jeff Law [Wed, 12 Aug 1998 17:56:43 +0000 (17:56 +0000)]
    * gas/mn10300/udf.s: New test.
        * gas/mn10300/basic.exp: Run it.