Commit Graph

28222 Commits

Author SHA1 Message Date
Jason Merrill 050823ca47 * Makefile.in (REQUIRED_OFILES): Add md5.o.
(CFILES): Add md5.c.
        * md5.c: New file.
2000-09-22 18:31:23 +00:00
Peter Schauer d5d653533c * i386-linux-nat.c (OLD_CANNOT_FETCH_REGISTER,
OLD_CANNOT_FETCH_REGISTER):  New definitions for accessible registers
	when accessing the registers via the U area.
	(fetch_register, store_register):  Use them.
	(cannot_fetch_register, cannot_store_register):  New functions,
	all registers should be accessible if we have GETREGS support.
	* config/i386/nm-linux.h:  Use cannot_fetch/store_register for
	CANNOT_FETCH/STORE_REGISTER definitions.
2000-09-22 17:45:47 +00:00
Nick Clifton 151337e879 Redesign and clean up the relaxation mechanism. 2000-09-22 17:33:55 +00:00
Nick Clifton 36bdbeeca5 Conditionalise the embedded relocs feature on the m68*-*-elf target 2000-09-22 00:41:50 +00:00
Kazu Hirata 0b7410c4da 2000-09-21 Kazu Hirata <kazu@hxi.com>
* config/tc-ns32k.c: Fix formatting.
	* config/tc-ns32k.h: Likewise.
2000-09-21 20:26:34 +00:00
Kazu Hirata 6d5e62f8b5 2000-09-21 Kazu Hirata <kazu@hxi.com>
* ldmain.c: Fix formatting.
	* ldmisc.c: Likewise.
	* ldver.c: Likewise.
	* ldwrite.c: Likewise.
2000-09-21 20:21:59 +00:00
Fred Fish 8c6b089eed * infttrace.c (update_thread_state_after_attach): Pass address
of ttstate_t object, not the object itself.
2000-09-21 16:17:49 +00:00
Alan Modra e2eb67d9cb Silence gcc warning. 2000-09-21 14:21:24 +00:00
Alan Modra 1badb539a7 Correct comments. Don't check non-code output sections for stub
grouping.  (In the process, partly revert and fix bugs introduced
with the last change.  Oops.)
2000-09-21 13:40:00 +00:00
Alan Modra a017a7241d Fix a segfault caused by under-allocating an array. 2000-09-21 10:13:18 +00:00
Kazu Hirata 82efde3a56 2000-09-20 Kazu Hirata <kazu@hxi.com>
* config/tc-m32r.c: Fix formatting.
	* config/tc-m32r.h: Likewise.
	* config/tc-m68851.h: Likewise.
	* config/tc-m68hc11.c: Likewise.
	* config/tc-m68hc11.h: Likewise.
	* config/tc-m88k.c: Likewise.
	* config/tc-mips.c: Likewise.
	* config/tc-mips.h: Likewise.
	* config/tc-mn10200.h: Likewise.
	* config/tc-mn10300.h: Likewise.
2000-09-20 22:05:08 +00:00
Kazu Hirata a75214e5d4 2000-09-20 Kazu Hirata <kazu@hxi.com>
* config/tc-mcore.c: Fix formatting.
	* config/tc-mcore.h: Likewise.
2000-09-20 21:12:43 +00:00
Kazu Hirata a4d24084f1 2000-09-20 Kazu Hirata <kazu@hxi.com>
* config/tc-tahoe.c: Fix formatting.
	* config/tc-tahoe.h: Likewise.
2000-09-20 13:14:47 +00:00
Alan Modra b3ea35849f Handle out of memory situations. 2000-09-20 04:20:26 +00:00
Nick Clifton 6091b433d7 Change the PLT entry 0 instruction sequence to actually work. 2000-09-19 23:21:36 +00:00
Nick Clifton 4844386e5e oops - fix date ion ChangeLog entry 2000-09-19 23:10:29 +00:00
Nick Clifton a05388f48b Remove jbssi and jbcci. 2000-09-19 23:10:01 +00:00
Alexandre Oliva 8a3975e63b * elf32-sh.c (sh_elf_relocate_section): Use
_bfd_final_link_relocate to apply the relocation against a section
symbol, when doing relocatable links.
2000-09-18 16:19:15 +00:00
Mark Kettenis e63286713f * lin-lwp.c (stop_wait_callback): Remove bogus assertions in the
code that deals with exiting/signalled threads.  Replace with
code similar to what's done in lin_lwp_wait.
2000-09-18 13:09:12 +00:00
Alan Modra 9e75421134 * config/tc-hppa.h (TC_FORCE_RELOCATION_SECTION): For ELF, allow
subtraction of two syms without emitting a relocation.
* config/tc-hppa.c (hppa_force_relocation): Force relocations for
global or weak symbols.
2000-09-18 12:36:03 +00:00
Alan Modra 25f7275229 Group stub sections. 2000-09-18 12:22:43 +00:00
Kevin Buettner fdb28ac401 Enable Mark Kettenis' linux thread support for Linux/PPC. 2000-09-18 01:08:24 +00:00
Kevin Buettner afd64b4e2d Protoization. 2000-09-18 00:34:51 +00:00
Alexandre Oliva 4bb5e078a2 * elf32-sh.c (ELF_MAXPAGESIZE): Define to 128, to match
ld/emulparams/shelf.sh.
2000-09-16 23:09:35 +00:00
Kazu Hirata 4a4f25cfde 2000-09-15 Kazu Hirata <kazu@hxi.com>
* config/tc-h8300.h: Fix formatting.
	* config/tc-h8500.c: Likewise.
	* config/tc-h8500.h: Likewise.
	* config/tc-hppa.h: Likewise.
	* config/tc-i370.h: Likewise.
	* config/tc-i386.h: Likewise.
	* config/tc-i860.c: Likewise.
	* config/tc-i860.h: Likewise.
	* config/tc-i960.h: Likewise.
	* config/tc-ia64.c: Likewise.
	* config/tc-ia64.h: Likewise.
2000-09-16 00:56:47 +00:00
Fernando Nasser 586e589c18 2000-09-15 Fernando Nasser <fnasser@totem.to.cygnus.com>
* varobj.c (varobj_set_value): Call wrapped version of
	parse_exp_1() to avoid longjumps.
2000-09-16 00:49:37 +00:00
Nick Clifton 3943c96b07 Replace StrongARM property with v4 and v5 properties. 2000-09-15 23:55:50 +00:00
Fernando Nasser f7c9d7b698 2000-09-15 Fernando Nasser <fnasser@cygnus.com>
* ser-unix.c (do_unix_readchar): Prevent infinite read wait to be
	interrupted after 32K seconds.
2000-09-15 20:40:15 +00:00
Nick Clifton 0752970ef8 add support for embedded relocs in m68k ELF port 2000-09-15 18:52:52 +00:00
Nick Clifton ffcb7aff0f ld performs LITUSE relocations incorrectly if -relax is specified on the ld
command line and the displacement field of the load or store instruction is
non-zero.
2000-09-15 18:07:28 +00:00
DJ Delorie 60c6451942 * splay-tree.c: #include <stdio.h>. 2000-09-15 15:16:11 +00:00
Alan Modra 92b7e9d81a (DATA_START_SYMBOLS): Provide $global$ only as needed. 2000-09-15 10:42:27 +00:00
Alan Modra d5c73c2f38 Find the first .init and .fini sections correctly.
Clobber millicode syms via a hash traversal here.  elf_adjust_dynamic_symbol
really ought to let us look at all dynamic symbols, but it doesn't.
2000-09-15 10:24:50 +00:00
Kevin Buettner ad525611ab Protoization. 2000-09-15 07:08:11 +00:00
Kazu Hirata 1dab94dd91 2000-09-14 Kazu Hirata <kazu@hxi.com>
* config/tc-a29k.c: Fix formatting.
	* config/tc-alpha.c: Likewise.
	* config/tc-arc.c: Likewise.
	* config/tc-arc.h: Likewise.
	* config/tc-arm.c: Likewise.
	* config/tc-arm.h: Likewise.
	* config/tc-avr.c: Likewise.
	* config/tc-avr.h: Likewise.
	* config/tc-tic30.c: Likewise.
	* config/tc-tic30.h: Likewise.
	* config/tc-tic54x.c: Likewise.
	* config/tc-tic54x.h: Likewise.
	* config/tc-tic80.c: Likewise.
	* config/tc-tic80.h: Likewise.
2000-09-15 01:06:52 +00:00
Timothy Wall 7484b8e6d9 Eliminate false DVs on parallel compares. 2000-09-14 21:37:04 +00:00
Alan Modra 74d1c347e9 Lots of bug fixes. .plt entries for DT_INIT, DT_FINI, and any
local function that has a plabel.  Size the stub reloc sections
as we size the stubs.
2000-09-14 12:55:45 +00:00
Kazu Hirata bf514e2154 2000-09-13 Kazu Hirata <kazu@hxi.com>
* config/obj-ecoff.c: Fix formatting.
	* config/obj-elf.c: Likewise.
	* config/obj-elf.h: Likewise.
	* config/obj-evax.h: Likewise.
	* config/obj-generic.h: Likewise.
	* config/obj-hp300.c: Likewise.
	* config/obj-hp300.h: Likewise.
	* config/obj-ieee.h: Likewise.
	* config/obj-vms.c: Likewise.
	* config/obj-vms.h: Likewise.
2000-09-14 11:48:26 +00:00
Alexandre Oliva 06bb75c14b * elf32-sh.c (sh_elf_howto_table): Moved R_SH_GOT32, R_SH_PLT32,
R_SH_COPY, R_SH_GLOB_DAT, R_SH_JMP_SLOT, R_SH_RELATIVE,
R_SH_GOTOFF, R_SH_GOTPC) to the range from 160 to 167.  Replaced
the original entries with EMPTY_HOWTOs, and added new ones to fill
in the gap.
(sh_elf_info_to_howto): Make sure the new gap isn't used.
(sh_elf_relocate_section): Likewise.
2000-09-14 04:59:14 +00:00
Alexandre Oliva 32d070f0de * sh.h (R_SH_GOT32, R_SH_PLT32, R_SH_COPY, R_SH_GLOB_DAT,
R_SH_JMP_SLOT, R_SH_RELATIVE, R_SH_GOTOFF, R_SH_GOTPC): Change
numbers to the range from 160 to 167.
(R_SH_FIRST_INVALID_RELOC): Adjust.
(R_SH_FIRST_INVALID_RELOC_2, R_SH_LAST_INVALID_RELOC_2):
New relocs to fill in the gap.
2000-09-14 04:56:55 +00:00
Nick Clifton 156c2f8bf7 Add support for the MIPS32 2000-09-14 01:47:38 +00:00
Nick Clifton 9b14b192bb Disable relaxation if multiple symbol definitions are encountered - otherwise
the linker could abort with an assertion failure.
2000-09-14 01:39:42 +00:00
Jeff Law 8681fbcd21 * som.c (som_write_symbol_strings): Do not used fixed buffers,
use size_t as a counter.
        (som_write_space_strings): Similarly.
2000-09-14 01:33:46 +00:00
Hans-Peter Nilsson d3e8500506 * testsuite/demangle-expected: Add two tests for anonymous
namespaces.
	* cplus-dem.c (gnu_special): Handle anonymous namespaces.
2000-09-13 22:59:40 +00:00
Kevin Buettner 064002de2b Protoization. 2000-09-13 01:55:17 +00:00
Kevin Buettner 78f0949be7 In objfile_relocate(), don't assume that offsets associated with one
of SECT_OFF_TEXT, SECT_OFF_DATA, or SECT_OFF_BSS will be adequate for
relocating all of the sections in an objfile.
2000-09-13 01:47:16 +00:00
Kazu Hirata dcd619bedd 2000-09-12 Kazu Hirata <kazu@hxi.com>
* config/obj-aout.c: Fix formatting.
	* config/obj-aout.h: Likewise.
	* config/obj-bout.c: Likewise.
	* config/obj-bout.h: Likewise.
	* config/obj-coff.c: Likewise.
	* config/obj-coff.h: Likewise.
2000-09-12 21:49:09 +00:00
Kazu Hirata a01b9fa4ba 2000-09-12 Kazu Hirata <kazu@hxi.com>
* as.h: Fix formatting.
	* asintl.h: Likewise.
	* bit_fix.h: Likewise.
	* dwarf2dbg.h: Likewise.
	* expr.h: Likewise.
	* flonum.h: Likewise.
	* frags.h: Likewise.
	* itbl-ops.h: Likewise.
	* macro.h: Likewise.
	* read.h: Likewise.
	* sb.h: Likewise.
	* struc-symbol.h: Likewise.
	* subsegs.h: Likewise.
	* symbols.h: Likewise.
	* tc.h: Likewise.
	* write.h: Likewise.
2000-09-12 20:57:14 +00:00
Fernando Nasser 3c06a63b37 2000-09-12 Fernando Nasser <fnasser@cygnus.com>
* remote-rdi.c (arm_rdi_open): Fix typo in error message.
2000-09-12 20:07:54 +00:00
Stephane Carrez 5f1864472a Missing Makefile.in for 68hc11 simulator 2000-09-12 18:55:37 +00:00