Commit graph

23734 commits

Author SHA1 Message Date
Peter Schauer
ebe909d29e * rs6000-core.c (_LONG_LONG): Define for AIX 4.x only. 1998-09-07 20:26:43 +00:00
Nick Clifton
c80944f2a5 do not try to dump empty sections 1998-09-06 23:17:06 +00:00
Ian Lance Taylor
c84d3d6970 * libbfd-in.h (_bfd_nolink_bfd_gc_sections): Correct definition to
match definition of _bfd_gc_sections field.
	* libbfd.h: Rebuild.
1998-09-06 00:41:41 +00:00
Ian Lance Taylor
5c27572868 * ehopt.c (check_eh_frame): Check the size of the FDE, and don't
optimize across FDE boundaries.
1998-09-06 00:39:46 +00:00
Ian Lance Taylor
1f23c5b3f0 Sat Sep 5 19:17:10 1998 Mumit Khan <khan@xraylith.wisc.edu>
* dlltool.c (scan_all_symbols): Don't re-export symbols exported
	by other DLLs.
1998-09-05 23:18:05 +00:00
Ian Lance Taylor
10926eb0d4 * config/obj-coff.c (obj_coff_section): Preserve any link once
flags when setting the section flags.
1998-09-05 23:01:35 +00:00
Nick Clifton
a03925a2fc Fixed generation of thumb function symbols. 1998-09-05 02:58:46 +00:00
Nick Clifton
49fe88644c Fix detection of thumb-elf function symbols 1998-09-05 02:47:40 +00:00
Stan Shebs
da5328aeaf * README: Update remote debugging and testsuite info. 1998-09-04 22:54:30 +00:00
Richard Henderson
08a63c2c4a Fri Sep 4 13:57:43 1998 Jakub Jelinek <jj@sunsite.ms.mff.cuni.cz>
* config/tc-sparc.c (in_signed_range): Sign extend 32-bit words
        to the host width.
1998-09-04 20:59:53 +00:00
Richard Henderson
35ac82f2a3 Fri Sep 4 13:54:23 1998 David Miller <davem@dm.cobaltmicro.com>
* elf32-sparc.c (elf32_sparc_relocate_section): Properly adjust
        the addend of a dynamic relocation referencing a section.
        * elf64-sparc.c (sparc64_elf_relocate_section): Likewise.
        (sparc64_elf_finish_dynamic_symbol): Fix the PLT relocation offset.
1998-09-04 20:57:07 +00:00
Catherine Moore
dbfd71f987 fix date 1998-09-04 15:06:32 +00:00
Catherine Moore
2d94a86b15 remove garbage 1998-09-04 14:22:03 +00:00
Richard Henderson
df775531ca * emulparams/d10velf.sh (TEMPLATE_NAME): Use elf32. 1998-09-04 00:31:41 +00:00
Richard Henderson
37b68f729c * elflink.h (bfd_elfNN_size_dynamic_sections): Verify that the
bed has a size_dynamic_sections routine before trying to use it.
1998-09-04 00:30:35 +00:00
Mark Alexander
11ac795258 * config/mn10300/tm-mn10300.h (FP_REGNUM): Redefine to be a
pseudo-register, not the same as a3.
	(D2_REGNUM, D3_REGNUM, A2_REGNUM, A3_REGNUM): Define.
	* mn10300-tdep.c (fix_frame_pointer): New function.
	(set_movm_offsets): Use register number macros instead of
	hard-coded constants.
	(mn10300_analyze_prologue): Fix to handle redefinition of FP_REGNUM.
	(mn10300_frame_chain):  Fix to handle redefinition of FP_REGNUM;
	use register number macros instead of hard-coded constants;
	add missing parameter to call of mn10300_analyze_prologue.
	(mn10300_frame_saved_pc): Use register number macros instead of
	hard-coded constants.
1998-09-03 22:59:13 +00:00
Stan Shebs
3fe41381a6 Killed the clone 1998-09-03 21:54:38 +00:00
Ulrich Drepper
20d1fa42af Fix typo. 1998-09-02 21:56:26 +00:00
Ulrich Drepper
e5a32b1725 * elf/readelf.c (process_dynamic_segment): Print DT_* value only if
do_dynamic.
(do_histogram): New variable.
(options): New long option histogram.  Set do_histogram if this
option is used.
(usage): Document --histogram.
(parse_args): Handle 0 return value from getopt_long.  Enable
do_histogram for -a.
(process_symbol_table): Read hash table also if only do_histogram.
Add code to print hash table histogram.
1998-09-02 21:55:37 +00:00
Michael Snyder
a6ac3b6bb5 Thu Aug 20 11:30:17 1998 Michael Snyder <msnyder@cleaver.cygnus.com>
* elf.c: comment and formatting cleanups.
        * elfcore.h: ditto.
1998-09-02 19:28:55 +00:00
Keith Seitz
b2a9dbf70f * gdbtk-cmds.c (gdb_cmd): Do not run the timer when downloading --
the ui_progress_hook that has been installed will actually
        update the gui for us.
1998-09-02 19:01:13 +00:00
Richard Henderson
2dabca81ba * frags.c (frag_grow): Include the size of the frag struct in the
obstack chunk size.
1998-09-02 18:35:47 +00:00
Richard Henderson
b90891398c * config/tc-sparc.c (sparc_ip): Allow all digits in an instruction
to handle edge8 and edge16.
1998-09-02 18:30:59 +00:00
Zdenek Radouch
e01b420025 Modifications/fixes to support the ARM/ELF port. 1998-09-01 16:24:23 +00:00
Richard Henderson
0339ba4376 Keep them all. 1998-09-01 15:39:39 +00:00
Richard Henderson
042af36493 Keep vtable tests. 1998-09-01 15:38:06 +00:00
Catherine Moore
c42591bfd5 remove elfarm.sc 1998-09-01 13:59:18 +00:00
Frank Ch. Eigler
78b871ec81 * Build fixes for tx39 sim hosted on strange Linux boxen.
[common/ChangeLog]
Tue Sep  1 15:36:52 1998  Frank Ch. Eigler  <fche@cygnus.com>
	* sim-config.h: Remove reference to linux kernel header.
[mips/ChangeLog]
Tue Sep  1 15:39:18 1998  Frank Ch. Eigler  <fche@cygnus.com>
	* dv-tx3904sio.c: Include sim-assert.h.
1998-09-01 13:19:57 +00:00
Tom Tromey
d5adad6aa2 * top.c (context_hook): Define.
* gdbtk-hooks.c (context_hook): Don't define.
1998-08-31 22:43:21 +00:00
Richard Henderson
c2242569d0 * elf32-mips.c (elf_mips_gnu_vtentry_howto): Use
_bfd_elf_rel_vtable_reloc_fn.
1998-08-31 21:50:12 +00:00
Keith Seitz
4af2d83a66 * gdbtk-cmds.c (gdb_listfuncs): When stripping out "global destructors"
and "global constructors", do not append any elements to the result.
 	(gdb_get_vars_command): Install patch from Jun 9 1998 which appears
        to have been lost.

        Clean up some tabbing mess.
1998-08-31 21:34:09 +00:00
Richard Henderson
c1b27b2228 * gas/vtable/{entry0.d,entry1.d,inherit0.d}: Fix pattern matching
of whitespace for 64-bit hosts.
1998-08-31 20:26:33 +00:00
Richard Henderson
9ea48b423d * gas/vtable/vtable.exp: New.
* gas/vtable/{entry0.s,entry0.d}: New.
        * gas/vtable/{entry1.s,entry1.d}: New.
        * gas/vtable/{inherit0.s,inherit0.d}: New.
        * gas/vtable/{inherit1.s,inherit1.l}: New.
1998-08-31 19:49:48 +00:00
Catherine Moore
7892a56c16 Change references to armelf.sc to elf.sc. 1998-08-31 18:09:41 +00:00
Catherine Moore
0c6c0bbeea remove armelf sanitization. 1998-08-31 17:16:05 +00:00
Richard Henderson
11e07ad09a * config/obj-elf.c (obj_elf_vtable_inherit): Print error message
before we clobber the symbol involved.
1998-08-31 16:52:18 +00:00
Catherine Moore
4a634a0bcb * emulparams/armelf.sh: Change SCRIPT_NAME to
elf.  Change TEXT_START_ADDR to 0x8000.  Define
        OTHER_TEXT_SECTIONS, OTHER_BSS_SYMBOLS and
        OTHER_BSS_END_SYMBOLS.
        * scripttempl/elf.sc:  Modify to use
        OTHER_BSS_END_SYMBOLS.
        * scripttempl/elfarm.sc:  Remove file.
1998-08-31 16:26:28 +00:00
Catherine Moore
01ce25b37c remove armelf sanitization. 1998-08-31 16:21:59 +00:00
Catherine Moore
b0249a1759 remove armelf sanitization. 1998-08-31 16:10:56 +00:00
Catherine Moore
cdb3d5f902 * config/tc-arm.c: Remove OBJ_ELF definitions for
S_GET_STORAGE_CLASS and S_SET_STORAGE_CLASS.  Only
        use arm_adjust_symtab for OBJ_COFF.
        (armelf_adjust_symtab):  New Routine.
        * config/tc-arm.h:  Define obj_adjust_symtab to
        armelf_adjust_symtab for OBJ_ELF.
1998-08-31 16:06:30 +00:00
Catherine Moore
bb3b4377a4 * Makefile.am: Add elf32-arm.c.
* Makefile.in:  Rebuild.
        * elf-bfd.h:  Add elf_backend_get_symbol_type.
        * elf.c (swap_out_syms):  If defined, call
        elf_backend_get_symbol_type.
        * elf32-arm.c: Define elf_backend_get_symbol_type.
        (elf32_arm_get_symbol-type):  New routine.
        (record_thumb_to_arm_glue):  Change to use STT_ARM_TFUNC.
        (bfd_elf32_arm_process_before_allocation):  Change to
        check for STT_ARM_TFUNC.
        (elf32_arm_final_link_relocate):  Likewise.
        * elfxx-target.h:  Add elf_backend_get_symbol_type.
1998-08-31 15:50:04 +00:00
Martin Hunt
4ff5d55a08 Sun Aug 30 00:49:18 1998 Martin M. Hunt <hunt@cygnus.com>
* gdbtk-cmds.c (Gdbtk_Init): Link C variable gdb_context
	with tcl variable gdb_context_id.

	* gdbtk-hooks.c (gdbtk_context_change): Implement new hook called
	context_hook.  Called when threads change.

	* gdbtk.c: Initialize gdb_context.

	* gdbtk.h: Declare gdb_context.

	* infrun (wait_for_inferior): Call context_hook.

	* thread.c (thread_command): Call context_hook.

	* defs.h: Declare context_hook.
1998-08-30 07:53:29 +00:00
Richard Henderson
d405c4a1ae * i386.h: Add vtable relocs. 1998-08-30 05:26:19 +00:00
Richard Henderson
3ecd69d675 * alpha-dis.c (print_insn_alpha): Use the machine type to
decide which PALcode set to include.
1998-08-30 05:25:27 +00:00
Richard Henderson
a1624e3f1b * 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.
1998-08-30 05:23:16 +00:00
Richard Henderson
68631a8643 * archures.c (bfd_mach_alpha_ev[456]): New.
* cpu-alpha.c: Rework to match these types.
1998-08-29 02:46:21 +00:00
Richard Henderson
09e5322ac0 * 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.
1998-08-29 02:43:47 +00:00
Catherine Moore
07f50e4e2c remove armelf sanitization 1998-08-28 20:28:26 +00:00
Catherine Moore
0fc4a7d044 remove armelf sanitization. 1998-08-28 20:26:14 +00:00
Per Bothner
bc10df2bba * mdata-sh: Imported. Needed for automake support. 1998-08-28 19:29:20 +00:00