Commit Graph

1897 Commits

Author SHA1 Message Date
enami
d6b993dd4f Don't warn about #undef unix, otherwise we can't compile uipc_domain.c
and it can't simply nuked.
1998-09-01 08:39:59 +00:00
enami
692962babe add -Dunix to CPPFLAGS to suppress cpp warning. 1998-09-01 03:16:48 +00:00
matt
44525e4d53 Slight tweak so that indirect references thru the PC are not used
in PIC mode.
1998-08-29 21:10:40 +00:00
tv
eb3bf55684 Remove -Dunix from predefines, and add a warning to cpp which triggers on
"#if defined(unix)/#ifdef unix/#ifndef unix" if -Dunix is not specified
explicitly:
    warning: deprecated symbol "unix" is no longer predefined
1998-08-29 17:04:56 +00:00
tv
c60c781fa3 Remove asprintf() and vasprintf(), and bump sparc back to 32 bits (until
gdb is updated, at least).
1998-08-29 16:09:56 +00:00
tv
5cc01b9a2b Add NetBSD rcsids. 1998-08-28 22:38:25 +00:00
tv
7eeb6fe5fd Don't try building anything in here on gcc 2.7 bootstrap. 1998-08-28 22:36:56 +00:00
tv
7fc231d281 Move some things from SRCS to OBJS so as not to build them at depend time. 1998-08-28 19:05:54 +00:00
tv
2ecc177404 Remove files obsoleted by egcs import of libiberty. 1998-08-28 16:59:09 +00:00
tv
5990abf3b1 Make sure to include config.h if available. 1998-08-28 16:58:25 +00:00
tv
1f41015535 Get the correct vfork definition from <unistd.h>. 1998-08-28 16:57:07 +00:00
tv
a6542a91dc Update libiberty to the one shipped with egcs. Minor number
bump--interfaces added, but none changed or removed.
1998-08-28 16:47:13 +00:00
tv
2034bed7f1 Resolve conflicts and get prototypes from the right places (conig.h
guarded).
1998-08-28 16:02:39 +00:00
tv
bb655b8a73 Conflict resolution. 1998-08-28 15:59:01 +00:00
tv
b5a6ca0501 Update includes that go with theupdated libiberty. 1998-08-28 15:56:36 +00:00
tv
0f6f615875 Update libiberty to that shipped with egcs. Improvements include better
C++ demangling.
1998-08-28 15:39:36 +00:00
tv
6c55ff04c2 Re-enable egcs libraries: libg2c, libgcc, libobjc, libstdc++. 1998-08-28 15:34:24 +00:00
tv
aa06e255fa Update to egcs 1.1-snap's libstdc++. Now shlib version 2.0. Now requires
"make includes" before "make" like other libraries.
1998-08-28 15:31:29 +00:00
matt
81c6c6b8c6 Fix core dump when plt_symbol didn't exist when needed with dynamic images. 1998-08-28 14:45:46 +00:00
tv
df83142334 When installing, don't let "install" strip it. Do that part manually. 1998-08-27 23:32:33 +00:00
tv
867d150d86 ...But don't recursively call print-objdir. 1998-08-27 21:44:28 +00:00
tv
fc05bd7a33 Use ${MAKE} print-objdir. 1998-08-27 21:42:20 +00:00
tv
c7cc3cab56 f771 needs the deliberate dependencies for common, too. Noticed by
<veego@netbsd.org>
1998-08-27 21:39:01 +00:00
tv
e7e7954ff4 Install Obj-C includes, found by <veego@netbsd.org>. 1998-08-27 21:37:52 +00:00
tv
bc7bcc6302 Alpha ld.new works!--add and enable ld.new for alpha. 1998-08-27 21:24:59 +00:00
tv
5df147f306 Minor cleanup. 1998-08-27 21:20:46 +00:00
matt
c75dbabbf6 only emit __PROCEDURE_LINKAGE_TABLE_ if generating shared library. 1998-08-27 21:20:44 +00:00
tv
f8a44cb095 Addition of binutils (gnu/dist) based ld. Turns out the "arch" subdir is
not really needed.
1998-08-27 20:47:21 +00:00
tv
6438945dcf Don't auto-generate underscore.c; that can be determined easily by
presence or absence of __ELF__.
1998-08-27 20:32:08 +00:00
tv
b5a304cda6 Re-enable egcs, and enable gas.new for alpha. 1998-08-27 17:52:58 +00:00
tv
2c0996bc75 Make the assembler compile on Alpha. (Not enabled.) 1998-08-27 16:09:20 +00:00
tv
858921e399 Undo previous. 1998-08-27 16:04:08 +00:00
tv
9973db1544 For ELF systems only, add strip. This gives up a strip binary that's not
third-party, but does unfortunately have a manpage discrepancy across
archs.  XXX.
1998-08-27 02:12:12 +00:00
matt
60f624ddb7 Fix some obvious bugs. 1998-08-26 15:32:02 +00:00
matt
2ffec21522 Create symbol for __PROCEDURE_LINKAGE_TABLE_. 1998-08-26 14:39:47 +00:00
matt
4da3f7cfd8 Add external symbol for __PROCEDURE_LINKAGE_TABLE_. Modify arguments
to md_make_gotreloc for VAX'es sake.
1998-08-26 14:37:40 +00:00
matthias
6caa7ce3d9 MEM now has a rtx length of two. Take this into account in calc_address_cost. 1998-08-24 22:54:25 +00:00
tv
fe17f99289 Remove files obsoleted in egcs 1.1. 1998-08-24 19:17:11 +00:00
tv
8bbd864248 Import of egcs libstdc++ 1998-08-24 snapshot 1998-08-24 18:45:53 +00:00
tv
687193cf68 Resolve corn flakes. 1998-08-24 18:28:20 +00:00
tv
3fe379ca4b Bugfix import of egcs 1.1, 1998-08-24 snapshot. 1998-08-24 18:00:40 +00:00
tv
2da237ca1f Bugfix import of egcs 1.1, 1998-08-24 snapshot. 1998-08-24 17:55:20 +00:00
tv
705363981e Bah; nuke "machine/" from bfd include path. This shouldn't have been part
of the commit (or part of the Makefile, for that matter).
1998-08-24 16:32:48 +00:00
frueauf
781d14e780 Add missing \, pointed out by Frederick Bruckman <fb@enteract.com>. 1998-08-23 20:57:45 +00:00
simonb
32a1e28254 Add missing \ to the end of a few lines. 1998-08-23 04:42:33 +00:00
tv
28e56ccc8c Pull bfd.h and -lbfd from the right place. 1998-08-22 21:22:16 +00:00
tv
370190b97b Fix target naming. Needs more cleanup. 1998-08-22 20:43:56 +00:00
tv
2ddcde0613 Use "long long" as the 64 bit quantity to satisfy gdb. 1998-08-22 20:32:02 +00:00
tv
e8efde1ec4 For the benefit of gdb, include <sys/types.h> unconditionally. 1998-08-22 20:24:31 +00:00
tv
5e20069f49 Now that targmatch.h is fixed, select the default bfd target via
${MACHINE_GNU_ARCH}--netbsd.
1998-08-22 20:08:21 +00:00
tv
d46528eaba ELF systems still need a file-based workaround for "libbfd.c" as that
would otherwise generate the wrong "libbfd.so".
1998-08-22 19:39:23 +00:00
tv
2a5b8c6a08 Pull BFD includes and libs from the right place. (Needs more cleanup.) 1998-08-22 19:03:46 +00:00
tv
d908b51c24 Add NetBSD rcsid. 1998-08-22 19:02:49 +00:00
tv
4a51dc3df9 Revamp the libbfd build process. Massive cleanup, enable 64 bit support
on SPARC, and use includes (or dynamically built ones) from dist.
1998-08-22 19:02:10 +00:00
tv
cd2577488c Work around a strange a.out linker problem: don't define `optind' and
let the system libc define it.
1998-08-22 17:08:48 +00:00
tv
0383db8345 bfd_target_vector is bfd_target **, not bfd_target *[]. 1998-08-22 16:46:33 +00:00
tv
c649a98a9b Give basename() a prototype. 1998-08-22 05:51:09 +00:00
tv
b22efa9a4b Clean bfd.h on "make clean". 1998-08-21 21:12:19 +00:00
tv
053c6819b7 Automatically generate bfd.h. 1998-08-21 21:11:02 +00:00
tv
d0c8c7532a Add ARM relocs (and upcoming BFD_PIC) for automatically generating bfd.h. 1998-08-21 21:08:22 +00:00
tv
9af6c8ed74 Until a better solution can be found, or until the bugs are fixed in egcs,
disable -Wuninitialized as a part of -Wall.
1998-08-21 14:39:34 +00:00
matthias
78516e031b - reorder includes in ns32k.c to avoid warning about MAX/MIN redefinition
- add code for cdecl and stdcall attributes
1998-08-21 10:04:33 +00:00
tv
f122239ef3 Use a pointer, not an array, for bfd_target_vector, working around our
linker bogozity.  (So that the array can grow and shrink without
relinking.)
1998-08-21 02:06:09 +00:00
matt
fb6da63fa6 More changes for shareable libraries and PIC code 1998-08-21 01:03:48 +00:00
tv
58e1b9d28c Added -Wno-format-y2k (missed this commit). 1998-08-20 20:31:24 +00:00
tv
446dbdcc82 Bump minor: -Wno-format-y2k added an extern to the shlib. 1998-08-20 20:13:43 +00:00
tv
c8f252d3aa Add -Wno-format-y2k option to kill Y2K based strftime() warnings. Note
that -Wformat-y2k doesn't work on C, and doesn't do anything notable by
itself on C++ (use -Wformat).
1998-08-20 20:13:12 +00:00
matthias
8652696101 The egcs-1.1 merge left some old codefragments behind. Removed. 1998-08-20 19:40:29 +00:00
matt
42ae5b0bc1 Beginning's of PIC support. 1998-08-20 15:18:26 +00:00
matt
0111660e53 Get md.c to compile again. Get mdprologue.S to assemble. [Now at least
ld and rtld compile and link.]
1998-08-20 15:12:02 +00:00
tv
0771761e8e Inlcude "system.h" instead of <stdio.h>. 1998-08-19 21:31:45 +00:00
tv
159f74875c Undefine OBJECT_FORMAT_COFF. 1998-08-19 16:27:37 +00:00
tv
378bab7018 XXX stopgap patch to fix prototyping warning on powerpc. 1998-08-19 16:09:43 +00:00
tv
d9b7598034 Completely nuke the -fPIC "ignored" warning. NetBSD target supports PIC
fully (it's just that the assembler and linker output bogosity :).
1998-08-19 15:10:25 +00:00
tv
9fd419ca1c We've switched to mem*() on all platforms. Remove undef of
TARGET_MEM_FUNCTIONS.
1998-08-19 14:39:21 +00:00
tv
c6be7a9c9a The global netbsd.h defines TARGET_MEM_FUNCTIONS. 1998-08-19 14:38:42 +00:00
tv
5ebd5ae80d No longer used. 1998-08-19 14:37:47 +00:00
tv
37d4bf965b Enable Haifa by default on alpha, powerpc, and sparc (to match Cygnus's
default list)
1998-08-18 18:59:46 +00:00
matt
74018d8df6 Untested(!!) beginning of VAX a.out shared library support. This is a work
in progress.
1998-08-18 18:46:16 +00:00
tv
82f867274b Kill HOST_CFLAGS and justify NOLINT. 1998-08-18 17:42:59 +00:00
tv
df595c72cd Be pedantic; use "${OBJC}" to find the ObjC compiler.
Depend all instances of sendmsg.{o,so,po} on runtime-info.h.
1998-08-18 17:38:38 +00:00
tv
0f38668150 Depend shared and profiled objects on g2c.h. 1998-08-18 17:26:36 +00:00
tv
00a8c57db1 Add libg2c (the new name for libf2c). Builds fine, though has some nits
on LP64 that need working out.
1998-08-18 17:25:32 +00:00
tv
d2a09c18be Null-terminate the hostname buffer. 1998-08-18 17:07:08 +00:00
tv
3d4f2f35af Platform-independent unsigned char fix. 1998-08-18 15:36:31 +00:00
tv
ee336ece94 Add libobjc as a separate component of egcs. Now also has a shared
library (rather minimally sized).
1998-08-18 14:02:35 +00:00
tv
3eb68c7948 Need <string.h> for strcpy() and strlen() prototypes. 1998-08-18 13:58:17 +00:00
tv
de61913773 powerpc needs a MACHINE_GNU_ARCH of "rs6000" for gcc. Add:
GNU_ARCH.powerpc=rs6000
1998-08-18 13:31:50 +00:00
tv
471ccd3532 Need DWARF2_UNWIND_INFO=0 for -fsjlj-exceptions as default. 1998-08-18 02:47:50 +00:00
tv
d6e6f5296d Need DWARF2_UNWIND_INFO=0 to get the right kind of default exception
handling.
1998-08-18 02:42:24 +00:00
tv
541a645dcb Check right', not resultP' for null. 1998-08-17 22:49:22 +00:00
tv
3e89c77787 g77version.o really needs to be a .o in the SRCS. 1998-08-17 22:37:57 +00:00
tv
4517abf3fb Fix "make depend". 1998-08-17 22:29:54 +00:00
tv
6cce545b4c Fix "make depend". 1998-08-17 22:23:37 +00:00
tv
ee5c0eff4b If _GLOBAL_OFFSET_TABLE_ is being referenced, don't do the special (Ln-.)
hack if there aren't two symbols on the right side of the expression.
(Newer PIC just uses _GLOBAL_OFFSET_TABLE_ +/- 4 bytes.)
1998-08-17 22:14:15 +00:00
tv
b3e6a19873 Depend the .so files on the generated headers too. 1998-08-17 21:23:25 +00:00
tv
a4f799e73c Reorg. 1998-08-17 20:26:06 +00:00
tv
577b2ff265 The ASM_DECLARE_FUNCTION_NAME/ASM_DECLARE_OBJECT_NAME stuff is completely
wrong for alpha, and may actually be wrong for more ELF ports than that.
For now, turn it off for ELF, and investigate.
1998-08-17 18:14:53 +00:00
tv
44b4e26450 Reorg and update to egcs 1.1 snapshot. 1998-08-17 17:59:49 +00:00
tv
17698d8b59 Add libgcc from gnu/dist/gcc (egcs 1.1 snapshot). 1998-08-17 17:06:59 +00:00
tv
6fca0c4f6c Fix TARGET_MACHINE. 1998-08-17 15:46:33 +00:00
tv
e710cf2a57 Provide a definition for MAX_WCHAR_TYPE_SIZE. 1998-08-17 15:39:58 +00:00
tv
ba44e6dbd5 Undefining TARGET_VERSION is both bogus and deviant from all ofther gcc
ports.
1998-08-17 15:29:27 +00:00
tv
2eb8687dbb Need definition for HOST_BITS_PER_LONGLONG. 1998-08-17 15:22:01 +00:00
tv
729bf5fb05 Add dependency from c-lex.o to c-parse.h. 1998-08-17 14:02:41 +00:00
tv
d17a2e41df Get the dependencies right for gen*.lo which depend on genrtl.h. 1998-08-17 13:58:55 +00:00
tv
87ba742b6a Set NOPICINSTALL for this limited-use library 1998-08-17 12:13:00 +00:00
tv
6b6b51c3e4 The arm32 port uses gas by default; turn on --with-gnu-as by default. 1998-08-17 04:05:00 +00:00
tv
78e8c617cc The available system headers are defined by "system.h" - don't try to
second-guess them here.
1998-08-17 04:02:10 +00:00
tv
4a85696d9c Reorg: since native, config.h and hconfig.h are identical; tconfig.h
contains xm-netbsd.h file and is used by config.h; config2.h is unneeded.
1998-08-17 03:47:50 +00:00
tv
8fbd112cf9 Cleanup. 1998-08-17 03:37:19 +00:00
tv
75ed819d74 Update to egcs 1.1 snapshot, and add NetBSD rcsids. 1998-08-17 03:35:58 +00:00
tv
c250780dfa USE_EGCS_HAIFA, not USE_HAIFA. 1998-08-17 02:57:04 +00:00
tv
45ef035a7e Update to egcs 1.1 snapshot, and a few remaining nits. 1998-08-17 02:55:39 +00:00
tv
ae475b488a Update cc1's to egcs 1.1 snapshot. 1998-08-17 02:25:44 +00:00
tv
eba57c698d Add collect2 and remove lib{gcc,objc}. 1998-08-17 02:25:20 +00:00
tv
64c6d5152c "Bonehead." This file is included by others, not used by itself. 1998-08-17 02:19:15 +00:00
tv
5bc6055bd9 Move libgcc to gnu/lib. 1998-08-17 02:13:26 +00:00
tv
b62f0811fe Include some files apparently not included in the Cygnus released source (!?). 1998-08-17 02:12:21 +00:00
tv
3156b4cd02 The Alpha tm_file is just alpha/netbsd.h, which includes everything else
that it needs.
1998-08-17 01:44:25 +00:00
tv
8e1ba3f20e Update to egcs 1.1 snapshot and add NetBSD rcsids. 1998-08-16 23:34:57 +00:00
tv
b5b63748f4 Move this to src/gnu/lib. 1998-08-16 23:33:15 +00:00
tv
eeff92d263 Update to egcs 1.1 snapshot. 1998-08-16 23:32:52 +00:00
tv
ba0018866d Update to egcs 1.1 snapshot. 1998-08-16 23:24:27 +00:00
tv
5ce15713d5 Update to egcs 1.1-snapshot. 1998-08-16 23:10:27 +00:00
tv
a8dc4d7a22 These files are in egcs/arch. 1998-08-16 23:06:49 +00:00
tv
4742daec58 Add collect2 (in /usr/libexec). This is no longer an optional component
of egcs, as it is needed for half-a-dozen C++ optimization options.
1998-08-16 23:04:18 +00:00
tv
87dd0bc045 Update to egcs 1.1, and prune CPPFLAGS. 1998-08-16 22:09:02 +00:00
tv
d65b2e3afa Don't define STANDARD_{EXEC,STARTFILE}_PREFIX here; do it in the Makefile
like the GNU setup does.
1998-08-16 21:28:20 +00:00
tv
b32c2a3ab9 Use the proper <arch>/xm-netbsd.h file as the xm_file on each port. 1998-08-16 21:14:33 +00:00
tv
667decf81a Resolve conflicts, fix up c-common, and clean up import of egcs 1.1. 1998-08-16 20:41:00 +00:00
tv
26a48a2e12 Import egcs-1.1 libf2c (libg2c), 19980816 snapshot 1998-08-16 18:10:35 +00:00
tv
6fe7eeb157 Import egcs-1.1 gcc, 19980816 snapshot 1998-08-16 17:45:46 +00:00
tv
45ddfeba03 Import egcs-1.1 gcc, 19980816 snapshot 1998-08-16 17:35:45 +00:00
tv
3817858f82 Turn off the egcs bits while the 1.1 import and build verifications are
taking place.
1998-08-16 17:16:00 +00:00
tv
a66a06cd19 libf2c is now libg2c in egcs 1.1. 1998-08-16 17:13:48 +00:00
kristerw
39deea2ee5 Make it possible to build for sparc. Note that this assembler will not
work properly until the a.out support is checked in.
1998-08-15 18:34:38 +00:00
tv
9ca81af08a Long lost commit. Clarify the meaning of "category" - it comes from the
category list at top and isn't quite a "name of the product":
>Category:  <problem report category - see top for list (one line)>
1998-08-14 20:46:14 +00:00
perry
319d448422 Update to request a fix from submitters more strongly. 1998-08-14 20:04:03 +00:00
mycroft
93f8d753f8 Small changes to make debugging a little easier. 1998-08-13 07:34:05 +00:00
msaitoh
58526eda7a s/an/can/ 1998-08-08 17:23:37 +00:00
mycroft
41a070136b When DEBUG, log init and fini calls. 1998-08-06 00:03:28 +00:00
mycroft
9ae60c44af More cruft. 1998-08-05 04:25:03 +00:00
mycroft
7625579cb3 GC some cruft. 1998-08-05 04:21:51 +00:00
mycroft
e41c61fee9 Slight cleanup. Nuke things defined in ../netbsd.h, and nuke -Driscbsd. 1998-08-04 20:48:19 +00:00
mark
ec628f2561 Update for machine/setjmp.h change (JMPBUF* -> _JB*) 1998-08-04 02:03:08 +00:00
thorpej
4974175669 Don't build these programs on the PowerPC; we need to update our binutils
sources before we can do that.
1998-07-29 19:18:26 +00:00
thorpej
c4bd81c249 Do not build this version of libbfd on the PowerPC. 1998-07-29 19:04:16 +00:00
tron
b3c53533a0 Add "beforedepend" target to fix PR lib/5862. 1998-07-29 11:05:26 +00:00
thorpej
19445c4010 Reverse the sense of the MACHINE_ARCH test to test the arch's that should
NOT build these things (a much shorter list :-)
1998-07-28 18:53:40 +00:00