Commit Graph

613 Commits

Author SHA1 Message Date
mrg
293d502fe4 delete binutils 2.13 sources. 2003-12-04 02:00:07 +00:00
mrg
3a3b2d3c50 delete GDB 5.0. it is no longer used by supported platforms (sorry pc532 :-) 2003-11-27 10:32:25 +00:00
uwe
10ff81335f Set ENTRY=__start to be consistent with other ELF ports. The produced
binaries are the same, as we provide both _start and __start symbols
for the entry point in crt0.

PR#22073 by Izumi Tsutsui.
Ok by Matthew Green <mrg@netbsd>.
2003-11-23 13:54:11 +00:00
uwe
af9cced758 The "pref @rN" instruction was introduced in sh3, not sh4, so correct
its sh_opcode_info entry accordingly.
2003-11-07 14:43:18 +00:00
ragge
3a99ca5371 Set USER_LABEL_PREFIX to "", otherwise native compilation of some GNU
utilities (like texinfo) fails.
2003-11-03 10:07:34 +00:00
matt
b8b1ccbdfd If host is x86-*-netbsd*, don't descend into gcc, gdb, and rcs 2003-10-23 02:58:49 +00:00
matt
9d4b91ab87 Keep the unsigned, just add HOST_WIDE_INT. 2003-10-16 22:08:01 +00:00
matt
6bcdd1cd1e Cast using HOST_WIDE_INT, not unsigned. 2003-10-16 22:02:25 +00:00
matt
39caecb211 Add in-tree toolchain support for HPPA. 2003-10-06 05:10:13 +00:00
matt
5cfd7f2268 Fix various GCC3.3.1 nits 2003-09-23 18:53:03 +00:00
cl
b8a8531844 get sys/signal.h included before machine/frame.h includes m68k/signal.h 2003-09-22 21:42:46 +00:00
fvdl
e794494dd2 Fix the alignment code generated for the 64bit case.
This fix was fed back to the FSF and appears in later binutils versions.
2003-09-12 19:51:19 +00:00
fvdl
297da77bcf Skip gcc and gdb for x86_64-*-netbsd* 2003-09-07 22:15:53 +00:00
mrg
87e3390b36 build with GCC3 - string literals can't use literal new lines. 2003-08-22 02:59:50 +00:00
itojun
379deb2b1a use %llu for unsigned long long printing; PR bin/22552 2003-08-20 13:58:08 +00:00
matt
b7cc9ef509 Correctly decode the switchframe *and the two callframes above it* which
contain the real information.
2003-08-15 16:58:15 +00:00
hannken
d64c1acb07 Register fill' was renamed to lr'.
See sys/arch/powerpc/include/frame, rev 1.16.
2003-08-15 10:36:49 +00:00
christos
14ba79e309 Make this compile with gcc-3 2003-08-01 21:28:14 +00:00
mrg
30e5f75620 rework an expression to avoid 32 bit overflow 2003-07-27 15:16:54 +00:00
mrg
6a0101cabe #if 0 an assert that is always false. XXX not really always... 2003-07-27 05:03:51 +00:00
lukem
d028397570 Disable rules that attempt to update parse.c from parse.y.
Implemented using a method recommended by Chris Demetriou on source-changes.
2003-07-26 12:02:21 +00:00
simonb
f8d975a54e Add rev 1.48 from binutils:
date: 2003/03/14 21:07:54;  author: drow;  state: Exp;  lines: +1 -0
	ppc-opc.c (powerpc_opcodes): Readd tlbre for PPC403.
2003-07-24 03:40:17 +00:00
drochner
994673f63c As already done in binutils-2.14:
Use the "LL" suffix for 64-bit constants.

Now gcc-3.3 doesn't warn about "constants too large
for "long"" or so anymore.
2003-07-09 14:43:24 +00:00
drochner
82df414328 Fix another case where the %{R*} in LINK_SPEC got lost.
Should resolve PR toolchain/22098 by Richard Earnshaw.
2003-07-09 14:34:47 +00:00
wiz
1a6d2307a3 These man pages are not from the Berkeley distribution -- remove ".UC". 2003-06-30 14:09:51 +00:00
drochner
12d153b126 fix LINK_SPEC to pass "-R" to the linker
(approved by tv)
2003-06-26 19:16:21 +00:00
drochner
c712f01409 link shared objects against libgcc_pic also in the !native
(ie tools/cross) case, as already done in the native configuration
2003-06-26 17:50:32 +00:00
thorpej
1d99a54efe Bring in the following patch from FSF binutils mainline:
2003-06-13  Richard Earnshaw  <rearnsha@arm.com>

	* tc-arm.c (FPU_DEFAULT, case TE_LINUX): Default to FPU_ARCH_FPA.
	(FPU_DEFAULT, case TE_NetBSD): Default to FPU_ARCH_VFP for ELF,
	FPU_ARCH_FPA for AOUT.
	(md_begin): Don't try to guess the floating point architecture from
	the CPU if the OS ABI (Linux, NetBSD) mandates a particular form.

...per Richard's suggestion.
2003-06-14 16:02:57 +00:00
thorpej
21d9a5cb94 Change --redefine-syms-file to --redefine-syms for consistency with
e.g. --keep-symbols, and to match the patch which was submitted to FSF.
2003-06-01 02:01:09 +00:00
kristerw
66cf1d6099 Handle comments in macros when the -C flag is specified to the
pre-processor.

This makes code of the form

   #define FOO(X) (BAR(X))
   #define BAR(X) (X)
   #define BAZ    23 /* comment, comment. */
   int foo(void) { return FOO(BAZ); }

be output as expected. (The old behaviour got confused by the ','
within the comment.)
2003-05-26 00:03:50 +00:00
thorpej
a4d47e67c8 Back-port a patch from GCC mainline:
2003-04-26  Ben Elliston  <bje@wasabisystems.com>

	* config/arm/arm.c (arm_adjust_cost): Correct logic that tests the
	return values from recog_memoized().
2003-05-23 00:20:21 +00:00
petrov
55e9455400 elf_fake_sections: fix cast sh_name. 2003-05-09 22:15:17 +00:00
thorpej
b24126f5e6 Include <string.h>. From Ian Lance Taylor. 2003-05-06 02:31:06 +00:00
matt
0aa3fc4996 Make sure to supply the PS_REGNUM (as a fixed value) so that
read_register_bytes doesn't complain.
2003-04-25 20:13:47 +00:00
skrll
707c1872d8 Add netbsdaout.c to BFD32_BACKENDS_CFILES and netbsdaout.lo to
BFD32_BACKENDS so that the correct dependencies are registered.

Parallel builds now work as a result. Fixes PR 20602 and PR 21081.

I'll leave the bigger question of if this stuff is still needed and why it
hasn't been fed back to the binutils people to someone more qualified than
myself.
2003-04-11 09:02:25 +00:00
wiz
07d13217f3 Some e.g. cleanup: replace "eg" with "e.g.,". From Igor Sobrado in PR 19692. 2003-04-07 06:56:38 +00:00
wiz
b511884ea9 Correct some SPARC tradenames. From Igor Sobrado in PR 19820. 2003-04-06 20:48:24 +00:00
perry
946b7ec114 add a missing backslash.
patch supplied in PR toolchain/20062 from Jed Davis
2003-04-02 02:50:07 +00:00
wiz
d124f274cf VAX, not Vax. 2003-03-30 20:56:46 +00:00
mycroft
f63d692921 Build COFF targets. Some embedded tools really, really want this. 2003-03-17 15:53:50 +00:00
martin
c43762a960 Don't access memory before the start of a file. 2003-03-16 17:44:15 +00:00
thorpej
c165d23d2b Back out rev. 1.4. The problem only occurs when using pre-compiled
headers, which we turn off.  (Nevermind the mis-placed #endif which
would cause incorrect output from a non-Apple host, sigh.)
2003-03-15 17:40:33 +00:00
hannken
1ef5d39c1a Add -mstrict-align to the CC1 default options.
At least the 403 ports cannot handle unaligned access.

Discussed with Jason Thorpe and Matt Thomas.
2003-03-15 16:09:34 +00:00
christos
8b16d6d256 PR/20554: John Heasley: gcc should define __sparcv9 for 64 bit compilation 2003-03-15 04:51:13 +00:00
thorpej
d9cf1a068e Second half of fix for PR toolchain/19265.
2003-03-14  Jason Thorpe  <thorpej@wasabisystems.com>

	* c-decl.c (flag_hosted): Move from here...
	* toplev.c: ...to here.
	* c-tree.h (flag_hosted): Move extern declaration from here...
	* flags.h: ...to here.
	* config/alpha/alpha.c (alpha_initialize_trampoline): Only
	emit a call to __enable_execute_stack if flag_hosted is true.
	* config/i386/i386.c (x86_initialize_trampoline): Likewise.
	* config/sparc/sparc.c (sparc_initialize_trampoline)
	(sparc64_initialize_trampoline): Likewise.

An updated version of this will be submitted to gcc.gnu.org.
2003-03-14 23:48:00 +00:00
thorpej
feff2fbbe6 Add support for the %j format length modifier (intmax_t). We have to
add intmax_type_node and uintmax_type_node globals to support this.
2003-03-14 21:24:44 +00:00
hannken
4a0f3bd75c Pass -m403 to gas.
Approved by: Jason R. Thorpe <thorpej@netbsd.org>
2003-03-14 20:41:38 +00:00
thorpej
563e78c49c Support a Mac OS X host. 2003-03-14 19:34:26 +00:00
thorpej
c24b9b414e Support Mac OS X host. 2003-03-13 02:17:58 +00:00
thorpej
104c77b807 The preprocessor in Apple's GCC 3.1 doesn't like being passed a macro
with empty arguments on each side of the comma; hack around this.
2003-03-12 23:00:40 +00:00