matt
36dc943f75
Change ARM-ELF to LP64 friendly types.
2001-07-28 07:42:28 +00:00
matt
71986448fd
Don't make libstdc++ with old toolchain on ARM ELF
2001-07-28 06:59:02 +00:00
matt
faa73ac4d2
Regen new toolchain ARM ELF files with toolchain2netbsd.
...
Include libg2c, libobjc, libstdc++ ARM ELF config files.
2001-07-28 06:57:07 +00:00
matt
ee544f340c
Remake with toolchain2netbsd 1.3
2001-07-28 06:51:59 +00:00
eeh
508945a491
Let profiling binaries be built without requiring special options.
2001-07-27 23:05:11 +00:00
eeh
905da8170b
Build the sparc64 compiler for a change.
2001-07-27 23:01:22 +00:00
mrg
e662284883
include <unistd.h> on NetBSD to get vfork() prototype (rename)
2001-07-26 17:18:39 +00:00
mrg
c9a8c7833a
build new sparc & sparc64 fortran libraries.
2001-07-26 11:40:26 +00:00
mrg
7aa1593d24
build new sparc & sparc64 objective c libraries.
2001-07-26 11:36:05 +00:00
mrg
4c86457e13
regenerate.
2001-07-26 11:30:07 +00:00
mrg
160521eb33
install the C++ libgcc headers (exception, new, new.h & typeinfo.)
2001-07-26 11:28:21 +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
e4ab707ade
update build infrastructure for texinfo 4.0
2001-07-25 16:47:50 +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
aymeric
6919941456
include <link_aout.h>, which is needed at least when building a cross-linker
2001-07-25 11:59:22 +00:00
aymeric
d2b58bf21f
Make it possible to compile a cross-linker by just defining TARGET_MACHINE_ARCH
...
to the desired architecture.
Note that this is for the old ld of the old toolchain.
2001-07-25 11:58:04 +00:00
itojun
ff1a865b9f
there's no binmail(1). PR 13549
2001-07-25 00:16:04 +00:00
tv
87c9b9136c
Add missing dependency on ${G_md_file} for host tools, noticed by matt@.
2001-07-24 21:16:08 +00:00
tv
f6709db6c6
Add new toolchain build structure for libg2c, libobjc, and libstdc++.
...
Note that old build system still exists under .if conditionals; this
will be removed once all platforms are using the new toolchain.
2001-07-24 19:44:47 +00:00
tv
b224b62a84
Add config segments for libg2c, libobjc, and libstdc++.
2001-07-24 19:39:52 +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
matt
c8e381be8c
Adding VAX gcc 2.95.3 (ELF).
2001-07-20 04:59:06 +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
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