Commit Graph

673 Commits

Author SHA1 Message Date
skrll 5b65f3319f (re-)run gcc mknative for powerpc64.
Fixes PR/43008.
2010-03-19 14:01:57 +00:00
mrg 19499f3f8d update all of these makefiles for the .so -> .pico change.
most of them are most harmless, but the libgcc parts are quite essential.
before this change, all the special rules for .pico files were not applied,
and exception handling wasn't enabled.  this caused c++ exceptions not to
work on sparc64.


this fixes the build of boost-headers (it was correctly calling exception
support broken!), which in turn makes all the things that depend upon it
to actually work again on sparc64.
2010-03-14 00:26:09 +00:00
uebayasi 72c3db3e60 For new libgcc rules; include generated makefiles first, then register ${LIB}
and on-the-fly source rules.

No changes against existing libgcc rules.
2009-12-18 13:57:10 +00:00
uebayasi 1d70400acb Regenerate with libgcc TFmode softfloat support enabled. 2009-12-18 13:01:44 +00:00
uebayasi ff345fa63c Libgcc softfloat wrapper source code. This file is not auto-generated. Due
to the design of libgcc build procedure I had to reverse engineer this from
generated files.
2009-12-18 12:51:43 +00:00
uebayasi 75da64c9d4 Fix a misplaced conditional I made. 2009-12-18 12:48:16 +00:00
mrg ad469079f3 copy across a hack from the mips libc/mcount build. self documenting:
+.if (${MACHINE_ARCH} == "mips64eb") || (${MACHINE_ARCH} == "mips64el")
+# Turn off as(1) warnings on MIPS, since warnings are fatal with WARNS>0
+# and GCC configury passes -finhibit-size-directive which causes mips-gas
+# to barf.  Don't know what the real fix for this is...
+#
+# XXX should be COPTS, but that's too early
+CPUFLAGS+=-Wa,--no-warn
2009-12-17 07:24:06 +00:00
uebayasi 3a48f7cfa9 Conditionalize some build directories by ${MKCXX}. 2009-12-14 12:43:48 +00:00
mrg 4a1f591022 run mknative-gcc for these, in -current. 2009-12-14 04:43:59 +00:00
mrg e00f8f918d regenerate these with -current mknative-gcc. 2009-12-14 03:44:27 +00:00
mrg 149287da38 add the mips64 files as found on the matt-nb5-mips64 branch,
for base-reference.
2009-12-14 02:26:28 +00:00
uebayasi d1b1501024 Fix inverted condition in previous. 2009-12-09 17:30:14 +00:00
uebayasi bf65171399 Switch to new style only if is explicitly set. 2009-12-09 06:20:13 +00:00
uebayasi 311d76439d Don't put intermediate data. Prompted by mrg@. 2009-12-09 06:08:26 +00:00
uebayasi 3650871eaa Correct CLEANFILES in the new style case. 2009-11-30 13:24:32 +00:00
uebayasi ceb0a5e740 Enable the new style build if the new style generated makefiles exist. 2009-11-30 13:07:38 +00:00
uebayasi 0f821b2360 Minor clean up. No functional changes. 2009-11-30 12:07:28 +00:00
uebayasi ce87c08dd6 Minor clean-up for the coming changes. 2009-11-30 11:55:12 +00:00
uebayasi f6ebb00c83 Wrapper generation rule for the new style libgcc reach-over. 2009-11-30 11:47:06 +00:00
uebayasi 7099d05cc4 Snapshot of generated files. Makfile glue will come soon. 2009-11-30 10:26:36 +00:00
uebayasi 15930f9770 Initial check-in of the new libgcc mknative analyzed files for mips64eb. 2009-11-30 08:25:47 +00:00
skrll 0f3b48f345 Remove binutils 2.16 crossover build files. 2009-11-08 15:24:36 +00:00
martin 5526bb0709 If TARGET_FLOAT_FORMAT is not IEEE_FLOAT_FORMAT (i.e. we have no NaNs),
do not compile special code to fix up different NaN values.
Re-enable complex support functions in libgcc for vax.
2009-10-01 20:07:09 +00:00
skrll 8a770313a3 Rename MKBFD to MKBINUTILS and support HAVE_BINUTILS for set lists. This
makes {MK,HAVE_}BINUTILS consistent with {MK,HAVE_}{GCC,GDB}.

Allow MKBFD to defines MKBINUTILS as a backwards compatibility hook.

Update the sets lists and add conditionals for lib{bfd,opcodes}.
2009-09-08 07:08:00 +00:00
skrll 3734e9d3e6 Make binutils stuff conditional on HAVE_BINUTILS being 216. 2009-08-18 15:11:25 +00:00
skrll ff1fab9942 Re-run mknative for crtstuff. 2009-08-16 17:36:26 +00:00
christos 2b4e82affb install libgcc_s.so in /lib for MKPIE=yes. 2009-05-01 15:27:20 +00:00
drochner 94b97e7a5b regenerated after i386 gcc configuration change (assume i486) 2009-03-27 19:38:43 +00:00
he 988dfde8cd Regenerate these using tools/binutils/Makefile's mknative-binutils
target after the recent addition of BFD_DETERMINISTIC_OUTPUT to libbfd.
2009-03-08 12:38:51 +00:00
he e5e9eb0ed4 Regenerate these using tools/binutils/Makefile's mknative-binutils
target after the recent addition of BFD_DETERMINISTIC_OUTPUT to libbfd.

The list of architectures is not complete, but these were the
ones I had readily-available toolchains for.  The rest will be
dealt with a little later, by me or someone else.
2009-03-07 18:11:47 +00:00
christos 2ecd137f53 bump majors. 2009-01-11 03:09:35 +00:00
mrg 4ed5b66617 add ${LDOPTS} to the compile command. 2008-10-26 07:04:04 +00:00
mrg 3fde6715d8 use ${BFD_MACHINE_ARCH} in preference to ${MACHINE_ARCH}, if defined. 2008-10-25 23:56:02 +00:00
apb f46c1de7cb Use ${TOOL_SED} instead if plain sed in Makefiles. 2008-10-25 22:27:34 +00:00
apb 96230fab84 Use ${TOOL_AWK} instead of ${AWK} or plain "awk" in make commands.
Pass AWK=${TOOL_AWK:Q} to shell scripts that use awk.
2008-10-19 22:05:19 +00:00
tron 8bc4e96cb9 Disable "-Wstack-protector" in a slightly nicer way. 2008-10-06 14:20:12 +00:00
tron c923257caa As "libgcov.c" uses alloca(3) (*yuuuk*) disable "-Wstack-protector" to
fix the build with "USE_SSP" set to "yes".
2008-09-25 17:40:05 +00:00
skrll 826062446a Build and install a libgcov. 2008-09-23 06:59:42 +00:00
skrll 085bc41d78 Centralise arch/${MACHINE_ARCH}.mk inclusion.
Thanks to Tyler (rtr).
2008-09-18 12:20:19 +00:00
mrg 33fb41cc00 re-run mknative-gcc for gcc-4.1-20080831.
XXX: powerpc and sh3eb files got WORDS_BIGENDIAN define wrong.
XXX: hand patched the correct for now, and will be investigating
XXX: why this is happening now.
2008-09-01 23:52:24 +00:00
martin 603c49b548 re-mknative after recent gcc configure change for m68k 2008-08-24 08:51:11 +00:00
lukem d9803a148e Create BUILDSYMLINKS for all files in G_LIB2ADD that are in ${GNUHOSTDIST},
not just .asm files.
Fixes hp700 for PR 39367, and a related problem on powerpc64 platforms.
2008-08-17 07:47:48 +00:00
lukem 4ccf8439eb Use BUILDSYMLINKS & CPPFLAGS.foo rather than cat & cp for m68000 overrides.
Lightly tested on m68000 cross-compile; the resulting .o files are the
same as before this change.
2008-08-04 06:59:47 +00:00
lukem 044c3465a8 Use BUILDSYMLINKS instead of custom rules for ${G_LIB2ADD} and unwind.h
Add some MAKEVERBOSE love.
2008-08-04 04:55:55 +00:00
lukem d929f5af49 Add an explicit rule for ${OBJS}: ${DPSRCS}, since <bsd.prog.mk>
doesn't provide that any more, and this Makefile uses the latter
in a non-standard fashion.
Fixes "make" in a clean directory when "make depend" has not been run.

Use DPSRCS rather than hand-crafted rules to achieve the same effect.
2008-08-04 04:53:22 +00:00
christos 9f25c42945 Only match paths that start with /, otherwise mm_malloc.h ends up as a stray
dot, and we end up spewing:

    i386--netbsdelf-gcc: .: linker input file unused because linking not done
2008-05-25 21:37:02 +00:00
mrg 9770ba3578 bump libbfd major since its ABI changed 2 weeks ago. 2008-04-20 07:11:21 +00:00
mrg ecc90aa046 make all sun2 use -O0 and move most of the hacks out into just 3 files. 2008-02-09 02:37:21 +00:00
mrg eff6f27b55 regenerate all mknative-gcc files after skrll@'s fix to grab the
objc config.h.  use this config.h in libobjc4.

this should address PR 37966, for -current.
2008-02-09 01:03:38 +00:00
mrg e6f4791d95 make sun2 build again with liberal use of -O0. 2008-02-05 02:41:15 +00:00