Commit graph

23436 commits

Author SHA1 Message Date
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
Vladimir Makarov
98b5b2d6d3 * 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
1998-08-13 22:05:52 +00:00
Drew Moseley
c076f1ed1c Added Foundry SDK changes. 1998-08-13 20:24:45 +00:00
Ian Lance Taylor
341fb6f336 * ppc-opc.c (powerpc_operands): Omit parens around additions in
operand name macros.
1998-08-13 20:24:03 +00:00
Drew Moseley
1dd251f99d 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.
1998-08-13 20:15:20 +00:00
Ian Lance Taylor
6b34ac5a5c * 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.
1998-08-13 19:09:25 +00:00
Catherine Moore
527c54a697 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.
1998-08-13 17:45:02 +00:00
Ian Lance Taylor
0ffa432e2e 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.
1998-08-13 16:58:33 +00:00
Jeff Law
c845aa02b0 Keep udf.s 1998-08-13 16:38:42 +00:00
Doug Evans
40c42313db * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Set vma to 0
for .DVP.overlay.* for elf32elmip too.
1998-08-12 23:35:38 +00:00
Ian Lance Taylor
cb5fa481a6 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.
1998-08-12 23:04:13 +00:00
Ian Lance Taylor
f0236ec445 * config/tc-hppa.c (pa_enter): Call as_bad rather than abort.
(pa_leave): Likewise.
1998-08-12 22:51:38 +00:00
Ian Lance Taylor
d02e7bc8b7 Based on patch from H.J. Lu <hjl@gnu.org>:
* ld-srec/srec.exp: Add xfails for Alpha ELF targets.
1998-08-12 19:22:30 +00:00
Ian Lance Taylor
8c73afb353 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.
1998-08-12 19:06:24 +00:00
Ian Lance Taylor
15ec5eb33b * configure, Makefile.in, aclocal.m4: Rebuild with current tools. 1998-08-12 19:01:16 +00:00
Ian Lance Taylor
24ec5f63f7 * libaout.h: Remove nested comment to avoid warning. 1998-08-12 18:48:57 +00:00
Ian Lance Taylor
bfb25a00c4 From Peter Thiemann <thiemann@informatik.uni-tuebingen.de>:
* ppc-opc.c (insert_mbe): Handle wrapping bitmasks.
	(extract_mbe): Likewise.
1998-08-12 18:02:01 +00:00
Jeff Law
02ad0c056d * gas/mn10300/udf.s: New test.
* gas/mn10300/basic.exp: Run it.
1998-08-12 17:56:43 +00:00
Jeff Law
75fb9c4c3e * m10300-opc.c: Fix typo in udf20 .. udf25 instruction opcodes. 1998-08-12 17:47:45 +00:00
Nick Clifton
80522b7d5b Document .req directive
Improve error message when unrecognised register name is encountered.
1998-08-12 17:32:39 +00:00
Ian Lance Taylor
78a1a4f74e Wed Aug 12 13:25:03 1998 Alan Modra <alan@spri.levels.unisa.edu.au>
* config/tc-i386.c (md_assemble): Emit a warning for stand-alone
	prefixes.
	(i386_operand): Fix an error message.
1998-08-12 17:26:42 +00:00
Ian Lance Taylor
b494c4c9e7 Wed Aug 12 13:25:38 1998 Alan Modra <alan@spri.levels.unisa.edu.au>
* gas/i386/white.l: Expect warning for stand-alone ss prefix.
1998-08-12 17:26:17 +00:00
Jeff Law
ffd95d63ec * m10300-opc.c: First cut at UDF instructions. 1998-08-12 17:12:31 +00:00