Commit Graph

1047 Commits

Author SHA1 Message Date
mrg 3a6f34a1f2 fix part of previous: do pass -mcmodel=medlow to the 64 bit cc1 if -p*. 2001-09-07 07:19:52 +00:00
matt bb46238ed7 Merge in 2.11.2 changes into my ELF support 2001-09-07 05:06:51 +00:00
matt e934346ca9 Make -mvec as an alternative for -m7400 since -mvec existed in binutil 2.9 2001-09-06 21:07:07 +00:00
matt b3fe7bae05 Add the AltiVec data stream instructions that seemingly got lost between
binutils 2.9 and 2.11.
2001-09-06 21:02:29 +00:00
wiz cbf30c4010 Minimize diff to texinfo-4.0. 2001-09-02 21:55:03 +00:00
wiz d56ab1d29b Fix merge botch. 2001-09-02 21:42:49 +00:00
wiz fecd6a27e1 Not in texinfo-4.0, either. 2001-09-02 21:26:49 +00:00
wiz 0eea4da15e Not in texinfo-4.0. 2001-09-02 21:24:38 +00:00
wiz 376efde5a3 These files are not part of texinfo-4.0. 2001-09-02 21:19:47 +00:00
mrg 6e2daf5a64 fix the -m32 code to use /usr/lib/32 paths. don't pass -mcmodel to the 32bit cc1, it doesn't like that. 2001-08-30 09:30:40 +00:00
matt 115cd493b5 Do not compare to chars to >= 0 since this will cause a warning where
chars are unsigned.  instead, change it from ((c) < foo && (c) >= 0) to
((unsigned char)(c) < foo) which does the same thing but avoids the warning
2001-08-30 02:15:42 +00:00
itojun 3b7e3e08b4 upgrade to 8.11.6. fixes security issue in command line parsing. 2001-08-21 07:13:20 +00:00
mrg ee333eaabb add missing o: to the strip(1) getopt format string. 2001-08-20 04:47:29 +00:00
mrg f05a7e7c12 fix the NetBSD comment char (already fixed in net binutils.) 2001-08-17 11:12:34 +00:00
tv 7157e2832f XXX - force handing down of -no-gcc to off, so that cpp will predefine
__GNUC__ automatically.

Note that this is probably not the Right solution; we should fix any in-tree
uses of /usr/bin/cpp to use $CC -E.  However, this is being added for now
for backwards compatibility.
2001-08-14 13:46:14 +00:00
tv 0bcc7933e9 Trim the gcc frontend's paths way down to size. We know where system-supplied
libraries and so forth are, so we don't need to go looking in 9+ locations
for it.
2001-08-14 13:36:09 +00:00
mrg 8d35d68bd3 backout this change. we aren't yet ready for it.
2000-08-16  Andrew Macleod  <amacleod@cygnus.com>

	* elf64-sparc.c (sparc64_elf_adjust_dynamic_symbol): Don't allocate
	four extra entries at the beginning of the .rela.plt section.
	(sparc64_elf_finish_dynamic_symbol): Adjust the offset in the .rela.plt
	section to account for the four reserved entries in the .plt section.
2001-08-14 11:37:10 +00:00
tv 53f1af26cd Resolve conflicts from binutils 2.11.2 import
(Also fix some cosmetic garbage added by autoconf, automake, or CVS merges
to get our files closer to the FSF versions.)
2001-08-14 04:43:05 +00:00
tv cb093d3c1d Import binutils 2.11.2. 2001-08-14 02:57:43 +00:00
tv 2e1e353192 Import binutils 2.11.2. 2001-08-14 02:47:42 +00:00
tv 6c78eab38c Add the LINTCOMMENT hack, unconditional (no #ifdefs). Since gcc 3.0's cpp
does this Right (without even the overwrite-with-whitespace kludge), we
don't need to worry about breaking anything here.  Both -C and -CC will
result in full lint-capable comments.
2001-08-14 01:13:34 +00:00
mrg 4ccab74b56 enable dwarf2 exception handling. 2001-08-09 16:08:46 +00:00
mrg 8655405d18 call this GDB 5.0-nb1 2001-08-09 16:07:20 +00:00
itojun 3c86caea97 sync wth 20010228-pl04. 2001-08-09 08:10:17 +00:00
itojun 48a8a26166 postfix 20010228-pl04 2001-08-09 07:59:02 +00:00
tsubai e89a6ab2cd Add powerpc-*-netbsd support. 2001-08-08 21:33:45 +00:00
tv 1b95f4bdaf Cast &readline_line_completion_function to a (Function *) to make it the
proper fully qualified ANSI type.

XXX: Cast it again to a (void *) because libedit's readline emulation thinks
that rl_completion_entry_function should be a (CPFunction *) -- perhaps more
correct, but it breaks compatibility.  libedit might be better to change to
conform to what readline wants.
2001-08-06 22:50:07 +00:00
tv 13eedd3c97 Update nm and tm files to <> include syntax too. 2001-08-06 22:37:30 +00:00
tv 6d6211445a Use <> instead of "" for including the common xm-nbsd.h, to avoid possible
include path confusion (since these files are named the same but in
different directories).
2001-08-06 22:16:57 +00:00
tv 9bc2e4cc45 Don't make init.c depend on $(INIT_FILES); this causes a build of all .o's
before grepping through .c's can begin.  Instead, depend on Makefile.
2001-08-06 21:37:30 +00:00
tv 55613cc1a4 Add mips support from gnu/dist/gprof. 2001-08-06 20:13:28 +00:00
tv 8066c02b8c ldfile.h now needs to be included before ldemul.h. 2001-08-06 20:05:48 +00:00
tv bae83eee9b Merge manpage changes for gprof from gnu/dist/gprof. 2001-08-06 20:05:16 +00:00
tv fa1ff75b0b Add a missing const to squelch a gcc warning/error. 2001-08-06 18:00:55 +00:00
mrg a630fd8b23 dwarf2 exceptions work on sparc & sparc64 now. 2001-08-05 18:45:57 +00:00
thorpej 7b96659b6c Add ldmxcsr/stmxcsr insns. 2001-08-03 00:44:39 +00:00
bjh21 d019eb1665 Correct resolution of R_ARM_REL32 relocations. They were being resolved
relative to the start of the section rather than the location of the
relocation.  This made differences of two symbols in different files stop
working.

I believe GCC never generates this kind of relocation, which is why this bug
hasn't surfaced before.

This patch has been sent to <bug-gnu-utils@gnu.org>.
2001-08-02 23:35:00 +00:00
thorpej 528686cb43 Add the "fxsave" and "fxrstor" insns. 2001-08-02 18:47:09 +00:00
itojun 3d03bdc5ce sync with 8.11.5. 2001-08-01 03:27:31 +00:00
itojun bb79953585 sendmail 8.11.5 2001-08-01 02:49:58 +00:00
matt 36dc943f75 Change ARM-ELF to LP64 friendly types. 2001-07-28 07:42:28 +00:00
eeh 508945a491 Let profiling binaries be built without requiring special options. 2001-07-27 23:05:11 +00:00
mrg e662284883 include <unistd.h> on NetBSD to get vfork() prototype (rename) 2001-07-26 17:18:39 +00:00
matt 9edddea9c5 Nuke -D__KPRINTF_ATTRIBUTE__ 2001-07-26 07:27:59 +00:00
assar aba70549ed fix merge left-overs 2001-07-25 17:40:09 +00:00
assar 017bc8c2e8 merge texinfo-4.0 2001-07-25 16:46:19 +00:00
assar dac62dcd99 Import texinfo 4.0 2001-07-25 16:20:30 +00:00
itojun ff1a865b9f there's no binmail(1). PR 13549 2001-07-25 00:16:04 +00:00
mrg eb80d6af65 s/SPARC/UltraSPARC/ in a comment. 2001-07-22 12:20:29 +00:00
mrg 041c56a6d7 fix LINK_SPEC 2001-07-21 13:48:40 +00:00
mrg febe7ce944 - clean up more after <mips/elf.h> lossage, including killing the forced
support for "__main" (really __gccmain for mips), and the ctors/dtors
lists associated with this.
- add -G to SWITCH_TAKES_ARG(), so `-G 0' works as well as `-G0'
- add support for .init, .fini and .rodata (const) sections (basically
merging the generic ELF support with the MIPS support.)

kernel links and runs happily now.
2001-07-20 18:15:33 +00:00
matt 593fff9e8d Default elf32 for vax to have a NetBSD OSABI. Allow for Linux/VAX to get
an Linux OSABI.
2001-07-20 11:57:48 +00:00
matt cdb827bd00 Fix the polarity of a test. 2001-07-20 07:12:06 +00:00
matt e2fd07f958 Fix another warning. 2001-07-20 05:21:50 +00:00
matt 1cf42fcda9 Fix warning. 2001-07-20 05:16:56 +00:00
mrg 5877244037 set MIPS_DEFAULT_GVALUE to 0. undefine DWARF_FRAME_REGNUM,
DWARF_FRAME_RETURN_COLUMN and INCOMING_RETURN_ADDR_RTX so GCC doesn't think
we have dwarf2 unwind info support.  now this mostly works, though c++
exceptions seem to bus error...
2001-07-19 23:43:37 +00:00
mrg b82cf772de don't do dwarf2 eh if not DWARF2_UNWIND_INFO 2001-07-19 23:41:12 +00:00
mrg 337651a310 make this actually work: use <mips/elf.h> and <netbsd.h>, plus a few
little twiddles.
2001-07-19 18:37:38 +00:00
matt 77315351bc Fix a warning (missing const). 2001-07-19 18:31:57 +00:00
matt 8251c8dd77 Don't emit JUMP_SLOT at all (match behave of gas-current for arm). 2001-07-19 14:55:51 +00:00
tv 0dfc6a96e1 These two files make .PATH:ing a PITA, because they have the same names as
those in libU77.  These versions aren't used anymore; nuke 'em.
2001-07-18 20:42:58 +00:00
tv 38b4263bc6 Add missing %(cpp_cpu). 2001-07-18 13:54:47 +00:00
tv 25da59331f Remove -Dunix and -Di386. 2001-07-18 13:54:19 +00:00
tv 4c834f8068 Rename GCC_INCLUDE_DIR to STANDARD_INCLUDE_DIR for INCLUDE_DEFAULTS; change
STANDARD_INCLUDE_DIR to apply to all languages ("GCC" -> 0).
2001-07-18 13:07:05 +00:00
matt 4fbde64366 More changes to get gdb to run on NetBSD/arm 2001-07-15 07:43:12 +00:00
matt a5024ec2b0 Grabbed from gnu/gdb/config/arm. Slightly tweaked for ELF. 2001-07-15 05:32:31 +00:00
matt ad91959ada NetBSD should not default to embed on arm. 2001-07-15 05:30:27 +00:00
matt 768aea4cbc Collapse all netbsd vax entries to one. Allow ld for a.out (which works
for static only).
2001-06-25 14:11:34 +00:00
matt 8998641810 Shrink back to one vax--netbsd entry. Reorder includes so that we work
the new emitted tm.h files.
2001-06-25 05:49:43 +00:00
matt 31b2119a86 Back some changes until I figure out why they break things. 2001-06-25 05:15:34 +00:00
matt 6c85c2af2a Put in the proper output format. (with this change, you cross build
vax kernels).
2001-06-25 04:52:45 +00:00
tv 0e7c732fef Add m68k ELF support from gnu/dist/ld. 2001-06-18 16:14:31 +00:00
tv 487eab27f7 Remove reduntant ARRAY_SIZE definition. 2001-06-18 16:13:37 +00:00
tv ee71b1bb7d Update Alpha support to changes from gnu/dist/gcc. 2001-06-18 16:10:27 +00:00
tv 8d750b2c7d Update ARM support to changes from gnu/dist/gcc. 2001-06-18 16:09:21 +00:00
tv ed84490d60 Add m68k ELF and update a.out to changes from gnu/dist/gcc. 2001-06-18 16:08:51 +00:00
matt c8b785d4a5 Rename make_temp_file to xmake_temp_file to avoid a conflict
with libiberty.a
2001-06-16 04:55:37 +00:00
simonb 1d282c352f Add some 4xx-series opcodes from binutils 2.11. 2001-06-08 04:53:17 +00:00
itojun b3c3c41bd0 sync with 20010228-pl03. 2001-06-07 11:10:35 +00:00
itojun 7cf386438a postfix 20010228-pl03 2001-06-07 11:00:49 +00:00
itojun 4110a47157 fix port number in master_listen(). hotta@kddlabs.co.jp 2001-06-07 07:59:24 +00:00
tv 876e40a10a Don't build language "proto" (protoize, unprotoize) by default. This whole
"SYSCALLS.c.X" business is just more annoyance that it's worth.  It can
still be enabled manually by putting "proto" in LANGUAGES.
2001-06-02 00:54:20 +00:00
tv d6df4ff7e1 Completely nuke autoconf/autoheader remaking. We don't want or need this,
and it's only an annoyance when checking out of CVS.  Hopefully later
versions of GCC will be smarter with autoconf and use @AUTOCONF@ parameters
(which can be replaced with `true').
2001-06-01 23:52:14 +00:00
tv 4909bd1ed2 Add (const char **) cast to some struct initializers to make the type-correct
(fixes warning in toplev.c).  As far as the appropriate code is concerned in
toplev.c, these values are const; they're initialized exactly once beforehand.
2001-06-01 13:31:46 +00:00
tv ff53e0cd93 Add a cast for proper type conversion, which was causing a warning. 2001-06-01 02:42:26 +00:00
tv 763e939509 Make all ELF platforms properly use -dynamic-linker, crt0, crtbegin, and
crtend, primarily for testing.  Fixes bootstrap ld testsuite failures.
2001-05-31 19:48:58 +00:00
tv 737585d43c Merge from gnu/dist/gdb:
- Kill KERNEL_U_ADDR stuff, etc. [gwr]
- Provide a descriptive error message if "-k" is used. [gwr]
- Use NO_SOLIB to turn off inclusion of "solib.h". [msaitoh]
2001-05-31 17:08:54 +00:00
tv 9dd3a5f4b8 Add ignore case for N_WARNING [adapted from gwr]. 2001-05-31 16:59:15 +00:00
tv 3fc4ebc16d Remove dupe for sparc-netbsdaout (which will match anyway on sparc-netbsd*). 2001-05-31 16:50:04 +00:00
tv d49ce936d5 Merge change from gnu/dist/gdb [jonathan]:
patch solib.c from gdb 4.16 to work around non-relocation and
misfeatures with ELF on mips. Without this, gdb gets addresess in
shared-libraries wrong and reports `heuristic fencepost' error.
(cf. the special-case solib functions duplicated in irix5-nat.c.)

tv: XXX this should be migrated to a MD file in the future.
2001-05-31 16:45:39 +00:00
tv d582978a38 Re-add kcore support for i386. 2001-05-31 16:39:08 +00:00
tv 3fe2119317 Use rs6000/xm-sysv4.h as the xm_file for powerpc (much closer to what we
really have than the default xm-rs6000.h).
2001-05-31 15:17:11 +00:00
tv c482b60bca Revert previous. The problem is generated by a wrong xm_file defining USG. 2001-05-31 15:15:46 +00:00
tv d60682457b Revert previous; this isn't where the problem is. 2001-05-31 15:07:05 +00:00
tv b3161809b7 Turn off COFF support, as that's not the file format used by powerpc-netbsd.
(Causes problems compiling collect2 natively.)
2001-05-31 14:58:59 +00:00
simonb 9babc4d28c Add the -msoft-float/-D_SOFT_FLOAT change from the older toolchain. 2001-05-31 05:13:45 +00:00
tv 5f257ba0f7 Merge from gnu/dist/gdb [kristerw]:
Prevent gdb from getting stuck in _PROCEDURE_LINKAGE_TABLE_ ()
Closes my PR bin/6323.
2001-05-31 04:35:30 +00:00
tv 14f19b14d5 Migrate from i386bsd.h to i386.h; define our own SIGTRAMP_* [gwr, fvdl]. 2001-05-31 04:32:47 +00:00
tv 308c6d8c21 Only define SVR4_SHARED_LIBS if the native system is ELF. 2001-05-31 04:28:15 +00:00
tv 3a73dea4e5 No, NetBSD doesn't have <syms.h> either; add us to the very long
#if !defined... line.
2001-05-30 20:34:53 +00:00