Commit Graph

3166 Commits

Author SHA1 Message Date
mrg
b82cf772de don't do dwarf2 eh if not DWARF2_UNWIND_INFO 2001-07-19 23:41:12 +00:00
matt
5ac8a0b7ba powerpc support for 2.95.3 2001-07-19 22:13:23 +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
mrg
4523fd67d7 build a mipsel-netbsd gcc & libgcc. 2001-07-19 18:35:22 +00:00
matt
77315351bc Fix a warning (missing const). 2001-07-19 18:31:57 +00:00
matt
acfa102212 Rework Makefile (perhaps not optimally) to keep all ojbects in ${.OBJDIR}.
Due to SRCS containing directories, the objects went in those same
directories.
2001-07-19 18:06:19 +00:00
matt
ac07e0c6c6 ARMELF support for libgcc 2001-07-19 15:33:09 +00:00
matt
3847d1eab8 ARM support for -liberty 2001-07-19 15:30:36 +00:00
matt
15d3102358 Initial 2.95.3 support for ARM-ELF. 2001-07-19 15:27:16 +00:00
mrg
c88bdb3273 build a sparc (elf) gcc 2.95.3 2001-07-19 15:20:13 +00:00
mrg
4acc89ca46 build sparc libiberty. 2001-07-19 15:17:59 +00:00
mrg
3963922c9b build a sparc libgcc 2001-07-19 15:16:39 +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
mrg
ac4b8b619b mipsel libiberty. 2001-07-19 13:46:14 +00:00
mrg
96b4d81d72 sparc64 libiberty. 2001-07-19 13:45:09 +00:00
tv
178c5459ad Another missing ${.CURDIR}. 2001-07-19 12:51:05 +00:00
mrg
8666107a13 build a sparc64 libgcc. 2001-07-19 12:39:26 +00:00
mrg
ba4c57fc10 opdel.o needs to be built with -DL_op_delete, not -DL_op_del. add a special
rule for this...
2001-07-19 06:14:27 +00:00
mrg
4331a0fffa freshly generated sparc64 config that seems able to build a working c & c++
compiler....  now we just need binutils & gdb :)
2001-07-19 00:54:24 +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
d370057cd9 Add a missing ${.CURDIR}. 2001-07-18 20:20:01 +00:00
tv
0b01c492fb i386 libgcc makefile bits from toolchain2netbsd. 2001-07-18 18:29:17 +00:00
tv
f59cc167de Add build structure for the new gnu/dist/toolchain/gcc based libgcc, preserving
old structure for now in an .if based on USE_NEW_TOOLCHAIN.
2001-07-18 18:29:02 +00:00
tv
652e52ca13 Use g++spec.c, not cppspec.c. (Thinko.) 2001-07-18 18:25:29 +00:00
tv
77c3a78e27 Regen. 2001-07-18 18:17:58 +00:00
tv
f94113d0f7 Add CCCP_OBJS to the getvars list for gcc/Makefile. 2001-07-18 18:17:20 +00:00
tv
f392296088 Fix BINDIR/MKMAN. 2001-07-18 14:02:43 +00:00
tv
75050b108b Add cpp and cpp0. 2001-07-18 14:02:26 +00:00
tv
9bfd60ec3d Add frontend /usr/bin/cpp (now a real binary) and /usr/libexec/cpp0
(formerly /usr/libexec/cpp).
2001-07-18 14:01:14 +00:00
tv
8ee0a1461c Fix links and manpages. 2001-07-18 14:00:11 +00:00
tv
865939c423 Make "make depend" work correctly. 2001-07-18 13:59:17 +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
tv
b1e9e38236 First framework for libiberty, now used by all the toolchain components (so
no longer merged with libbfd).  Conditional on USE_NEW_TOOLCHAIN for now.
2001-07-18 12:17:15 +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
a126663857 Compile fixu* for MACHINE_ARCH of arm 2001-07-13 19:54:28 +00:00
lukem
03a3aa379d use off_t instead of long to store sizes which will be displayed with "--list".
fixes wacky display problems for files > 2GB in size.  tested ok on i386 and
alpha (no change for the latter).
2001-07-07 21:57:41 +00:00
enami
4655e8da67 Some man page here requires processing by tbl. 2001-06-26 01:43:58 +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
634ebd4dc4 Add gcc 2.95.2 build framework, and i386 config files from toolchain2netbsd.
This should not be used directly for building host tools; rather, the top
level bootstrap (to be committed separately) should be used to build the
entire system including this compiler.
2001-06-18 16:18:30 +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
tv
82e96808ff First copy of toolchain2netbsd script, used to generate the platform-specific
GNU toolchain files in one pass (which are then committed).  Still missing
is support for gdb (in progress).
2001-06-18 16:07:07 +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
chris
9255039c1a Add port-cats to list available categories for send-pr. 2001-06-10 20:53:52 +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
thorpej
395cb02158 Add port-algor. 2001-06-05 17:40:08 +00:00
simonb
976bdd3f47 Change to new libbz2 API. 2001-06-03 13:43:01 +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
tv
a9cd1d161e Make sparc-netbsdelf and powerpc-netbsd targets work. 2001-05-30 18:47:24 +00:00
tv
6772c74f98 At the suggestion of mrg and insistence of libstdc++-v2, reenable building
libiberty for cross targets.  Whee.
2001-05-30 17:36:17 +00:00
tv
7ed9d2501e Merge change from src/gnu/dist/libstdc++ [tv]:
Reduce code size of programs using the Allocator by externalizing some
template instantiations.
2001-05-30 10:51:55 +00:00
tv
312dd92261 Avoid redeclaring (improperly) symbols already in NetBSD #includes. 2001-05-30 09:51:10 +00:00
tv
ba2a0f2139 Fix -Wtraditional warning. 2001-05-30 09:23:30 +00:00
tv
05d1203a2e Move @ac_libiberty_warn_cflags@ earlier in COMPILE.c so that -Wno-* flags
added to CFLAGS at configure time actually do something useful.  (Needed
so that some warnings can be turned off under -Werror.)
2001-05-30 09:22:08 +00:00
tv
ab63d93530 Update i386 support; native and cross now works properly with an i386 target. 2001-05-30 09:05:09 +00:00
tv
808a6f169b Merge from gnu/dist/gcc [christos]:
In the NO_UNDERSCORES case we need an extra `*' in ASM_GENERATE_INTERNAL_LABEL
otherwise using the macro in dbxout.c, eats the initial `.'. Probably someone
forgot that one, because the `*' is present in other implementations.
2001-05-30 09:04:13 +00:00
tv
32ed83ebd0 Major overhaul of target/host file handling for NetBSD. Make this uniform,
with a basic NetBSD template and some specific platform overrides.  This
also results in dropping most of the "xm-netbsd.h" and "t-netbsd" files.
2001-05-30 09:02:42 +00:00
tv
7363ff3bc0 Don't build libiberty for the target of a cross. (IMNSHO, this is just
stupid, but the GNU tools love having dozens of libiberty copies sitting
around in all kinds of places....)
2001-05-30 08:59:11 +00:00
tv
cf37b2b1f0 gethostname() doesn't return error on NetBSD if the string is too short;
merge workaround.  This needs a more complete rewrite and submission to
FSF....
2001-05-30 07:02:39 +00:00
itojun
731b8156e5 sync with 8.11.4. 2001-05-29 04:18:24 +00:00
itojun
865ea0f61c sendmail 8.11.4 2001-05-29 03:55:36 +00:00
msaitoh
655a3a0437 check BOOTSTRAP_ELF (from Katsuomi Hamajima) 2001-05-21 18:26:48 +00:00
msaitoh
97fac3124c s/shl/shlunx/ 2001-05-21 18:21:37 +00:00
soren
a657f17343 Add port-sun2 category, per PR admin/12657. 2001-05-17 09:13:58 +00:00
simonb
38e4ed8f09 Pass -D_SOFT_FLOAT to cpp if called with -msoft-float. 2001-05-16 15:36:47 +00:00
assar
d303561a5a enable encryption support in client-server CVS.
patch from PR bin/12618, by lha@stacken.kth.se
2001-05-15 09:56:30 +00:00
itojun
c98f5d554b handle EAI_SYSTEM. part of jumbo patch on PR 12876 2001-05-14 21:44:07 +00:00
itojun
9d367630fc do not check sizeof(hbuf). part of PR 12876 2001-05-14 21:36:09 +00:00
mason
0f5d49210e Don't build libstdc++ on sparc64. 2001-05-10 12:53:02 +00:00
itojun
4a960a79c0 update INET6 case as well 2001-05-09 21:19:34 +00:00
itojun
38c869fbdc non-INET6 case fix - remove length limitation on FQDN hostname got from
reverse lookup.  PR 12876
2001-05-09 20:40:50 +00:00
matt
cf2c5819fa More bug fixes. -fpic now produces significantly better code than
-fno-pic.  Make the pic'ifying simpler.
2001-05-09 15:04:48 +00:00
matt
e5efdf6e7f Emit relocs for NetBSD/vax a.out correctly. 2001-05-09 15:02:59 +00:00
itojun
c3ecbfbe3a correct checks against getnameinfo result code. PR 12876. 2001-05-09 02:12:30 +00:00
itojun
3eeb49727d sync with 20010228 pl02. 2001-05-08 05:15:54 +00:00
itojun
94a4066862 postfix 20010228-pl02 2001-05-08 04:55:29 +00:00
matt
0cd6e25685 Turn on SVR4_SHARED_LIBRARIES (make gdb build on i386). 2001-05-04 04:18:03 +00:00
martin
84364a741b Fix logic botch that enabled this (broken for that arch) gas on sparc64:
- we never want gas.new on sparc64
 - we generally do not want it on m68k and ns32k, unless we are ELF
   already or we are bootstrapping ELF right now
2001-05-03 21:47:28 +00:00
is
2afc3dfa0d Don't divide by zero when computing timeout values, else we SIGFPE when
sending "long" files over pipe links.
This fix closely follows the one suggested by <felix@subnet.sub.net> in
an email to Ian Lance Tailor years ago.
2001-05-03 20:43:16 +00:00
matt
5eee102e5a Add ELF VAX support. (simply the VAX COFF support by using a convienence
macro).
2001-05-03 18:22:51 +00:00
matt
7ad2f6a918 A small change elfos.h for VAX ELF. configure* need to about
{vax,arm*}--netbsdelf*.  ARM ELF changes for NetBSD (from bjh).
2001-05-03 18:20:46 +00:00
matt
bc6a8a09a0 Add ELF support for VAX; fix (from bjh) ARM ELF for NetBSD 2001-05-03 18:15:12 +00:00
matt
db74c7bd9d Add NetBSD/vax ELF support (& NetBSD/arm ELF support too). 2001-05-03 17:28:46 +00:00
matt
a53dfa8ffd Add NetBSD/vax support. Fix compile bug in vax-tdep.c 2001-05-03 17:25:45 +00:00
matt
2fda2568f5 Add vax ELF header. 2001-05-03 17:24:46 +00:00
matt
d8ad732276 print register offsets in decimal since they are signed. 2001-05-03 17:23:15 +00:00
matt
26f751e159 Fix 3 problem. Be more stringest in testing register for use. Fix ffs
builtin.  Fix addsi2 pattern.
2001-05-03 17:12:52 +00:00
matt
f365cec4fe fix the ffs builtin. 2001-05-01 00:54:52 +00:00
wiz
70a9f276d4 Add 'P' to enumeration of possible letters for 'cvs update'. 2001-04-30 17:24:36 +00:00
matt
6becddcc57 Fix two code generation problems. The first is to fix how negative const
int values are added in DI (if the the constant is <0 & > -2*1024*1024 then
use a decl/subl and sbwc $0 instead of addl/adwc).  The second fix is to
disallow register elimination peepholes when that register is used by
other operands in the other instructions in the peephole.
2001-04-30 06:19:58 +00:00
wiz
20e5a32c06 Add note explaining what 'P file' means in cvs update output.
Closes bin/12785.
2001-04-29 18:08:11 +00:00
bjh21
5907bb14c3 Fix missing-parenthesis typo. 2001-04-24 21:57:08 +00:00
itojun
bc9da57ec7 avoid SEGV on reconfig. 2001-04-24 00:44:23 +00:00
bjh21
0b339990b0 Don't declare pic_code twice in the OBJ_ELF case. 2001-04-23 18:08:52 +00:00
tv
515079da0a Add ELF tagging (-netbsdelf) to the arm target. 2001-04-23 15:17:59 +00:00
tv
f49e16abfb Make the NetBSD block work correctly/more cleanly. 2001-04-23 15:12:39 +00:00
tv
4031f2faa5 Resolve conflicts from binutils 2.11 import. 2001-04-23 14:16:30 +00:00
tv
27b65c5cd9 Import binutils 2.11. 2001-04-23 12:27:01 +00:00
tv
2e935485da Nuke files that are no longer relevant to this directory (it's now imported
solely from binutils; these are gcc files).
2001-04-23 12:26:59 +00:00
tv
35f354e86d Import binutils 2.11. 2001-04-23 12:24:25 +00:00
tv
dbfa9a0b9b Resolve conflicts from gcc 2.95.3 import. 2001-04-23 12:23:26 +00:00
tv
f54fbfcb75 Import gcc 2.95.3. 2001-04-23 11:57:48 +00:00
tv
1220abdf9e Remove obsolete files. 2001-04-23 11:50:24 +00:00
wiz
0714f24d2f Add groff2netbsd script used for groff-1.16.1 import. 2001-04-19 23:27:52 +00:00
wiz
7dc54976bb Remove old groff files from usr.bin.
Pull up reach-over to head.
2001-04-19 14:40:39 +00:00
wiz
2f7eec860d New reachover build structure for groff 1.16.1. 2001-04-19 14:33:07 +00:00
wiz
717ea6b250 Add file that got ignored by cvs import because of its extension.
(Don't you hate it when that happens?)
2001-04-19 13:11:10 +00:00
wiz
ea0cdff6ef Initial import of groff-1.16.1 for reachover build.
Source modified by groff2netbsd (TBC) before import, otherwise unchanged.
2001-04-19 12:47:42 +00:00
itojun
72990e4c73 correct KAME stack determination. from hubert 2001-04-14 15:17:09 +00:00
pk
917f31256f Copy `grep.info' into the object directory. 2001-04-12 11:06:23 +00:00
mrg
24475afb31 don't build on sparc64. 2001-04-10 11:10:09 +00:00
wiz
08a9fdd741 Fix date, whitespace and punctuation. 2001-04-09 12:14:03 +00:00
wiz
8dcfb111ec Fix section (8, not 1) 2001-04-09 12:13:21 +00:00
itojun
411184ba53 on call to connect_to_gserver(), have a fallback case if ai_canonname is
not available.
call freeaddrinfo as necessary.
2001-04-09 09:56:01 +00:00
itojun
8bb1748b2e use RBL only for IPv4 addrs. 2001-04-08 10:56:43 +00:00
wiz
7664f3a90e Use standard comment macro (.\" instead of ''').
Noted in bin/8736 by Danny Thomas.
XXX: most OpenSSL man pages have this problem, too.
2001-04-06 14:06:02 +00:00
simonb
d8655509d6 Pull in rev 1.11 from the Cygnus binutils CVS repo:
* ppc-opc.c (insert_mbe): Shift mask initializer as long.

Fixes cross-assembly problems when compiling for a ppc target on an
alpha.
2001-04-04 16:23:14 +00:00
wiz
d32bb1a0e2 One entry for news68k is enough. 2001-04-04 14:26:44 +00:00
itojun
5c5ff032ec cleanup includes 2001-04-03 12:06:27 +00:00