Commit Graph

488 Commits

Author SHA1 Message Date
jmc
f648d12d47 Add missing NetBSD ID tags 2004-06-30 03:26:26 +00:00
skrll
279e627659 Re-run mknative. 2004-05-25 13:39:35 +00:00
skrll
9d777fb2bb (pretend to) run mknative for hppa and pick up the -DNETBSD=1 addition
to LIBGCC2_CFLAGS.
2004-04-30 08:15:47 +00:00
uwe
562404165e Copy .s.so rule we use for libgcc_pic to make sure the millicode is
.hidden in libgcc_s.so as well.  Enable it for sh3.  Other CPUs for
which gcc uses millicode probably need this too.
Per discussion with Nick Hudson <skrll>.
2004-04-28 01:44:59 +00:00
lukem
6d15c512f3 remove AINC support; it is now unnecessary 2004-04-18 04:32:51 +00:00
tron
79dac9a13b Remove generated sources files "__gcc_bcmp.c", "_bb.c" and "_eprintf.c"
in "cleandir" target.
2004-03-29 09:32:49 +00:00
skrll
79ddf7b5dc Remove the LIB2FUNCS_ST objects from libgcc_s. 2004-03-25 07:48:34 +00:00
skrll
db31f1ccba Build the -fPIC exception handling objects with the right flags, e.g.
-fexceptions and link the shared library with the standard startup files.
2004-03-22 17:08:23 +00:00
skrll
ddc6c41839 Remove ${CPICFLAGS} from .o rules 2004-03-22 17:02:57 +00:00
scw
a8bb5642ca Results of mknative run with gcc3.3.3 on sh5el. 2004-03-17 09:02:06 +00:00
skrll
44d317c631 Remove local variables when building the .hidden objects. 2004-03-10 22:18:17 +00:00
skrll
b09e6d0dfe Whitespace 2004-03-08 14:47:27 +00:00
skrll
3539722ee8 Check for G_LIB1ASMFUNCS (not LIB1ASMFUNCS) being non-empty before
creating rules for LIB1ASMFUNCS. This is better for old makes (and
readability.)

As highlighted by grifo3000@interfree.it on current-users
2004-03-08 14:45:07 +00:00
skrll
0aae540257 Backout recent changes made to gnu/lib/libgcc3 for a forced MKPIC=no build.
Fix the behaviour of native and tools gcc when MKPIC=no is specified for
platforms that mknative has determined support shared libraries.

XXX distrib/sets/sets.subr doesn't support MKPIC=no
2004-02-27 14:52:01 +00:00
matt
a9a2fcf9dd Turns out we need libgcc_s for MKPIC=no too (C++ wants it). 2004-02-25 22:11:14 +00:00
matt
e88bf5d8c7 Always build libgcc_eh. It's still needed when MKPIC=no 2004-02-25 21:53:49 +00:00
skrll
869ddf30e8 Whitespace 2004-02-23 21:41:05 +00:00
skrll
f8314ad5e5 mknative sweep. mainly version string differences and STDC_HEADERs.
no need for the signbit stuff on sparc as libc got fixed.
2004-02-19 08:11:31 +00:00
skrll
7354ecab79 Re-run mknative for mipseb (sgimips). Should close PR 24438. 2004-02-16 16:06:38 +00:00
skrll
b263dbdd73 Be more gcc like in the way we deal with libgcc so that sh3/hppa millicode
and exception handling have a chance of working properly.

        - creates libgcc, libgcc_eh and libgcc_s

        - updates LIBGCC_SPEC to use them appropriately.

          There's a hack in here at the moment with respect to libgcc_so in that it
          is preferable to link against libgcc_so will only when -shared-libgcc is
          specified (the c++ frontend does this automatically.) Configurations where
          LINK_EH_SPEC is defined already do this. The gcc configuration for
          NetBSD/alpha and another NetBSD platform (I forget which) actually define
          LINK_EH_SPEC probably by accident rather than design.

        - updates share/mk to use the compiler's knowledge of what needs linking into
          libraries and executables. This removes an hppa hack.

        - updates the sets for the newly created libgcc* files.

	- support for linking against the _pg version of libgcc has been removed.
2004-02-15 19:52:27 +00:00
simonb
3e7ae7aefb Re-run mknative with latest mknative-gcc. 2004-02-14 08:39:07 +00:00
mrg
e38f9bc603 pass all required -I paths:
+CPPFLAGS+=    -I${G_EXTRA_HEADERS:H:u}

this fixes ppc builds (reported by hannken & briggs)
2004-02-12 23:17:59 +00:00
skrll
13145e5f28 Results of re-running mknative for a few MACHINE_ARCHs 2004-02-12 22:34:57 +00:00
mrg
41ba62f48c - some libgcc3/Makefile updates for new mknative
- re-run mknative for ~nearly everyone
2004-02-11 16:22:51 +00:00
mrg
0e4a80d700 regenerate with GCC 3.3.3-pre20040209.
XXX: missing vax, sh3*, hppa
2004-02-11 04:04:02 +00:00
skrll
2879279c43 Move libgcc3/*.mk to libgcc3/arch.
Update mknative-gcc.
2004-01-02 11:58:32 +00:00
mrg
416b3a63d6 do not link xmalloc.c or xexit.c. 2003-12-21 07:05:25 +00:00
matt
020ecacc80 Don't use -traditional-cpp when assembling the PowerPC .S files. 2003-12-11 22:37:27 +00:00
matt
cfbf1414f1 initial GCC3 support for VAX. (barely tested). No PIC support (aka no
shared libraries).  This is an initial step to full GCC3 support for VAX.
2003-12-08 03:33:13 +00:00
scw
b8191da53a Gcc3 for sh5 gets an ICE compiling libbfd's elf32.c and elf64.c at -O2.
Drop to -O1 for now when building for sh5.
2003-12-07 21:13:04 +00:00
scw
a72cb1203e MD glue for binutils on sh5. 2003-12-07 19:42:03 +00:00
simonb
32820e3ec5 Use gthr-single.h ("no real pthreads support") on ns32k for now. 2003-12-07 12:25:43 +00:00
simonb
3155813857 ns32k c++ (probably a.out?) currently doesn't support the
-ffunction-sections andd -fdata-sections flags; disabled them
for now.
2003-12-07 12:23:35 +00:00
scw
03aed749f0 Update for gcc 3.3.2 support (with in-tree binutils). 2003-12-07 10:02:45 +00:00
simonb
3952da3765 Add ns32k binutils 2.14 support. 2003-12-05 12:08:47 +00:00
simonb
f0467a5c13 Add ns32k GCC3 support. 2003-12-05 12:05:32 +00:00
mrg
4dd4b4772e regenerate with a working compiler 2003-12-05 04:53:27 +00:00
mrg
51b0c7cbfa regenerate these such that they (mostly) work.. 2003-12-05 02:57:02 +00:00
mrg
228f85d62e regenerate non-broken 2003-12-04 14:39:09 +00:00
mrg
abda1a5442 libopcodes.so.1/libbfd.so.6 2003-12-04 12:18:57 +00:00
mrg
ce29aa2370 build lib{opcodes,bfd,iberty} back in gnu/lib instead of gnu/usr.bin/binutils
as they are needed earlier than when gnu/usr.bin/binutils is built when
"make -j" is used.
2003-12-04 09:29:31 +00:00
mrg
65e91005fa don't build libopcodes/bfd/iberty here if we have binutils 2.14 2003-11-27 13:53:11 +00:00
scw
437384a077 Regen for TARGET_ENDIAN_DEFAULT=ARM_FLAG_BIG_END fix in config.gcc. 2003-11-04 14:46:59 +00:00
lukem
b43426c867 Move the rule to disable .cc -> NULL transforms, so it works again. 2003-10-28 08:13:39 +00:00
lukem
b947f38eae don't need .cc->NULL rule here 2003-10-28 08:12:32 +00:00
lukem
5966f94e07 Move the rule to disable .cc -> NULL transforms, so it works again.
Fixes "includes" when exception.cc is newer than inc/exception.
Noted in private mail by Havard Eidnes.
2003-10-28 07:38:57 +00:00
mrg
45e224e8d4 fix a typo in previous pointed out by lukem 2003-10-28 01:25:33 +00:00
mrg
f8fa4ee590 sun2 lib*3 for GCC3. 2003-10-27 17:19:58 +00:00
mrg
8d8c032590 add armeb-netbsdelf GCC3 support. (not tested) 2003-10-27 01:37:08 +00:00
lukem
130ab7336b Rework how MAKEVERBOSE operates:
*	Don't bother prefixing commands with a line of  ${_MKCMD}\
	and instead rely upon "make -s".  This is less intrusive on
	all the Makefiles than the former.  Idea from David Laight.

    *	Rename the variables use to print messages.  The scheme now is:
	    _MKMSG_FOO		Run  _MKMSG 'foo'
	    _MKTARGET_FOO	Run  _MKMSG_FOO ${.TARGET}
	From discussion with Alistair Crooks.
2003-10-21 10:01:19 +00:00