Commit Graph

511 Commits

Author SHA1 Message Date
thorpej
8d13a4aafe Switch to using GCC's supplied crtbegin / crtend files. 2004-08-28 00:18:38 +00:00
thorpej
a80d65bdf1 sparc64 configuration for GCC "crtstuff". 2004-08-26 20:33:47 +00:00
thorpej
3b3467be81 Only do the crtstuff dance if OBJECT_FMT is ELF. 2004-08-26 19:08:10 +00:00
thorpej
62ca5968b5 sparc configuration for GCC "crtstuff". 2004-08-26 19:05:04 +00:00
thorpej
35bdb62895 Don't protect the inclusion of ${MACHINE_ARCH}.mk; it is required. 2004-08-26 19:01:20 +00:00
thorpej
c64c94ac78 m68000 configuration for GCC "crtstuff". 2004-08-26 18:59:53 +00:00
thorpej
fb21d92089 x86_64 configuration for GCC "crtstuff". 2004-08-26 07:09:22 +00:00
thorpej
84b60dd908 sh5el configuration for GCC "crtstuff". 2004-08-26 06:59:38 +00:00
thorpej
ed5931a192 sh3eb configuration for GCC "crtstuff". 2004-08-26 06:57:35 +00:00
thorpej
c2b11b356c sh3el configuration for GCC "crtstuff". 2004-08-26 06:57:07 +00:00
thorpej
432118c9ee powerpc configuration for GCC "crtstuff". 2004-08-26 06:54:37 +00:00
thorpej
bb158d9e58 mipseb configuration for GCC "crtstuff". 2004-08-26 06:32:53 +00:00
thorpej
d6398ba73b mipsel configuration for GCC "crtstuff". 2004-08-26 06:32:19 +00:00
thorpej
d6d6853f9b m68k configuration for GCC "crtstuff". 2004-08-26 06:23:00 +00:00
thorpej
ddc0eb63c5 hppa configuration for GCC "crtstuff". 2004-08-26 06:12:07 +00:00
thorpej
c9bd4f9af6 armeb configuration for GCC "crtstuff". 2004-08-26 06:09:56 +00:00
thorpej
c913ba605e arm configuration for GCC "crtstuff". 2004-08-26 06:08:43 +00:00
thorpej
67e1a05e86 alpha configuration for GCC "crtstuff". 2004-08-26 06:00:32 +00:00
thorpej
226d0b6b3e i386 configuration for GCC "crtstuff". 2004-08-24 20:54:02 +00:00
thorpej
1f4e63b33e Build infrastructure for GCC's "crtstuff". 2004-08-24 20:52:17 +00:00
skrll
e176d50dd4 Look for libgcc.map in ${.OBJDIR}. Suggested by Luke.
Fixes PR 26515.
2004-08-05 13:10:18 +00:00
thorpej
52efc390bf Rerun mknative-binutils to get new bfd_elf32_hppa_nbsd_vec. 2004-07-20 20:51:36 +00:00
skrll
b5d3cf6021 Complete the fix for PR 22452 by doing the same thing as stock gcc. That
is, use the symbol versioning script to remove certain symbols from the
dynamic symbol table.

Do the symbol versioning thing for all platforms.

Whilest our ld.elf_so(1) doesn't understand symbol versioning this
doesn't matter as all the exposed symbols appear unversioned until symbol
versioning support is added (if ever).
2004-07-05 12:27:41 +00:00
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