Commit graph

23658 commits

Author SHA1 Message Date
Ian Lance Taylor
bb7835f04c fix armelf sanitization and checks for mentions of sanitized files 1998-08-21 16:02:40 +00:00
Ian Lance Taylor
d8a152bcf2 fix armelf sanitization and earmelf.c dependencies 1998-08-21 16:02:05 +00:00
Ian Lance Taylor
3eb82b4ed7 skip CVS when looking at sanitized files 1998-08-21 15:58:30 +00:00
Doug Evans
7b3e7df66b * 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.
1998-08-21 14:53:38 +00:00
Ian Lance Taylor
3f331512e8 * gas/i386/white.l: Revert patch of August 12. 1998-08-21 03:18:55 +00:00
Ian Lance Taylor
61c49d6652 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.
1998-08-21 03:18:04 +00:00
Nick Clifton
774852e913 Fix seg fault when displaying linker error message 1998-08-20 22:08:22 +00:00
Ian Lance Taylor
cbf40048ae check for mentions of sanitized files 1998-08-20 22:00:31 +00:00
Ian Lance Taylor
6e60709bd3 rework last patch 1998-08-20 21:58:15 +00:00
Ian Lance Taylor
bd163c91c6 mention directory when looking for sanitize 1998-08-20 21:54:07 +00:00
Nick Clifton
e93a31e414 do not adjust relocations against thumb function names as the linker needs
this information.
1998-08-20 21:47:17 +00:00
Ian Lance Taylor
af98e836ec check for mentions of sanitized files 1998-08-20 21:16:39 +00:00
Ian Lance Taylor
53438a7bb0 check for mentions of sanitized files 1998-08-20 20:58:28 +00:00
Ian Lance Taylor
54e4cfaf3a add configure to list of files to check 1998-08-20 20:55:13 +00:00
Ian Lance Taylor
c6167c136c Check whether any sanitized files are mentioned elsewhere. 1998-08-20 20:54:08 +00:00
Jason Molenda
ae69b4c467 1998-08-20 Jason Molenda (jsm@bugshack.cygnus.com)
* rdi-share/Makefile.am (INCLUDES): Fix typeo.
        * rdi-share/Makefile.in: Regenerated.
1998-08-20 20:11:18 +00:00
Vladimir Makarov
1929bdc748 * 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?".
1998-08-20 20:08:23 +00:00
Vladimir Makarov
ff0f011267 * 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?".
1998-08-20 18:28:07 +00:00
Vladimir Makarov
bb89d84ac7 * 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
1998-08-20 16:10:35 +00:00
Jason Molenda
c0ca074b5d 1998-08-19 Jason Molenda (jsm@bugshack.cygnus.com)
* rdi-share/Makefile.am: Use just `INCLUDES' not `libname_INCLUDES'.
        * rdi-share/Makefile.in: Regenerated.
1998-08-20 03:15:05 +00:00
Michael Snyder
b64beb2d10 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.
1998-08-20 00:32:36 +00:00
Keith Seitz
67205639eb * 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.
1998-08-20 00:14:03 +00:00
Anthony Green
9ca743cf2f * i386v4-nat.c: Include sys/reg.h if present. 1998-08-19 22:57:00 +00:00
Vladimir Makarov
b49867b644 * 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
1998-08-19 21:28:51 +00:00
Ian Lance Taylor
faad4b4786 * 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.
1998-08-19 20:23:33 +00:00
Fernando Nasser
6cf219acdf *** empty log message *** 1998-08-19 19:55:58 +00:00
Nick Clifton
97837cef65 Added missing sanitization markers 1998-08-19 19:28:50 +00:00
Nick Clifton
70bb54baba Add arm/thumb-elf expected failures 1998-08-19 19:13:56 +00:00
Catherine Moore
38a29f0275 Add sanitization markers. 1998-08-19 16:40:22 +00:00
Nick Clifton
26be242342 Fix for PR 16412 - give M32R specific command line options a one dash prefix
instead of two.
1998-08-19 16:31:30 +00:00
Richard Henderson
54f750d1d6 * config/alpha/alpha-linux (XDEPFILES): Build ser-tcp. 1998-08-19 10:09:01 +00:00
Keith Seitz
3d64f1e050 * 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.
1998-08-19 02:25:21 +00:00
Keith Seitz
a36035532f * 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.
1998-08-19 02:24:45 +00:00
Stan Shebs
d9c02b1eb8 * remote-rdi.c (arm_rdi_open): Pass serial device name to
Adp_OpenDevice, and include it in error reports.
1998-08-19 01:27:46 +00:00
Jason Molenda
6ee3e5d66d Ack, accidentally generated it with autoconf 2.12, not the current version. 1998-08-19 00:09:17 +00:00
Jason Molenda
4ff3dfab54 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.
1998-08-18 23:04:24 +00:00
Martin Hunt
1aecc7dccb 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.
1998-08-18 22:43:18 +00:00
Ian Lance Taylor
b6ef9ad20f * mips-opc.c: Insert contents of vu0.h, rather than including it.
* vu0.h: Remove.
	* Makefile.am: Rebuild dependencies.
	* Makefile: Rebuild.
1998-08-18 20:50:44 +00:00
Ken Raeburn
aeeb756dee fix broken sanitization 1998-08-18 18:58:10 +00:00
Catherine Moore
5cdcdb070c * 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.
1998-08-18 17:15:58 +00:00
Catherine Moore
aae39e3784 tc-arm.h: Define obj_fix_adjustable for OBJ_ELF.
tc-arm.c (arm_fix_adjustable): New routine.
1998-08-18 17:03:48 +00:00
Catherine Moore
2c3c46ad0c * 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.
1998-08-18 16:55:29 +00:00
Richard Henderson
803f5d55cd * elf64-alpha.c (elf64_alpha_relax_section): Handle indirect symbols. 1998-08-16 03:58:11 +00:00
Stan Shebs
c905465b00 No longer need to sanitize out tx39 bits 1998-08-14 22:52:18 +00:00
Ian Lance Taylor
1e012223fd * Makefile.am: Rebuild dependencies.
* Makefile.in: Rebuild.
1998-08-14 19:52:24 +00:00
Ian Lance Taylor
63bb5e9a79 * 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).
1998-08-14 19:40:01 +00:00
Stan Cox
a05d3537a8 * aoutx.h (aout_link_input_section_ext): Use the relocation already
calculated for RELOC_SPARC_REV32 case.
1998-08-14 18:56:41 +00:00
Jeff Law
854b0c14b4 * 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.
1998-08-14 17:18:01 +00:00
Peter Schauer
cfd7cb2995 * 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.
1998-08-14 11:20:51 +00:00
Catherine Moore
fbb99e9a4d Add armelf. 1998-08-13 23:12:52 +00:00