Commit Graph

3560 Commits

Author SHA1 Message Date
jmc
32f6aaf031 Use sh to invoke move-if-change and don't depend on it being +x in the
repository
2002-03-01 06:06:50 +00:00
jmc
f6ce7f3293 Put the infodir-meta rule here (and wrap it) to allow it to be called from the
top level Makefile
2002-03-01 06:03:20 +00:00
blymn
7ce69c568a Fix botches in Equivalence Classes paragraph. 2002-03-01 04:20:37 +00:00
tv
a2ba138feb Fix fallout from collapsing libiberty to MI config.h: libstdc++ includes
little bits of libiberty, so -I the non-arch specific directory now.
2002-02-28 02:13:34 +00:00
tv
ac1299bdfb New toolchain infrastructure for sh3eb, generated with mknative. 2002-02-27 18:45:14 +00:00
tv
8d7b76f87a Fix OBJS dependency. 2002-02-27 17:58:52 +00:00
tv
6080b95ae4 Make libobjc configury MI. 2002-02-27 17:55:32 +00:00
tv
ab30e43870 Add .MADE to prevent building in $srcdir. (They could have at least
referenced $(srcdir) explicitly for the targets, sigh....)
2002-02-27 17:34:48 +00:00
tv
b69d8cc8b2 New toolchain framework for sh3el platforms, generated with mknative. 2002-02-27 17:10:09 +00:00
tv
bfa4c6d7c2 Make new toolchain conf files for libiberty MI. 2002-02-27 17:03:49 +00:00
matt
9991b60633 Remove R_VAX_GOT32O and R_VAX_PLT32O relocs. VAX don't need 'em. 2002-02-27 07:43:34 +00:00
tv
88a892b978 Superseded by src/tools/toolchain/mknative. 2002-02-26 22:32:21 +00:00
tv
3cf9139573 When configured via mknative, G_HOST_* filenames are prefixed with "l-".
Strip the prefix.
2002-02-26 22:30:46 +00:00
tv
66c4fd196e Make hconfig.h common as simply a redirect to config.h; these are
identical on a native build.  (Simplifies mknative for generating the
arch-dependent bits.)
2002-02-26 20:56:29 +00:00
tv
80c7fa68d5 Use MACHINE_GNU_PLATFORM to identify the machine. 2002-02-26 20:45:34 +00:00
tv
6b83b4af8c If doing a Canadian cross and the creation of auto-build.h fails, cause
the outer "configure" run to fail, too.
2002-02-26 19:17:51 +00:00
tv
a688a18a3f Tack "nb1" onto VERSION here, too, to sync with "configure". 2002-02-26 18:38:38 +00:00
tv
13dd6cb726 Skip the "misc" directory on recursion. (This contains .el files that
will attempt to install into never-never land if emacs isn't installed.
GNU bogon.)
2002-02-26 18:05:20 +00:00
tv
e95d648871 Work with a mkinstalldirs that is not +x. 2002-02-26 18:00:29 +00:00
tv
853b3d3c1a Workaround some *2netbsd script not preserving the execute bit on various
script files (and now that they are in cvs, they can't be fixed).

Future imports of any package should use "-ko" and do away with *2netbsd
altogether, as was the intent of gnu/dist in the first place.
2002-02-26 17:40:52 +00:00
matt
d8d7046773 Switch REAL_ARITHMETIC on (needed for DWARF support). 2002-02-25 17:33:02 +00:00
matt
b5355576f3 Change TARGET_NAME to use ${GNU_ARCH_PLATFORM} instead of
${GNU_ARCH_MACHINE}-netbsd.  This allows platforms to that were
formerly a.out but ELF to be foo--netbsdelf.  It also adds the
missing 2nd "-" which was missing in the former definition.
2002-02-24 22:15:39 +00:00
matt
796a42b608 Only ELF has S_IS_WEAK. 2002-02-24 19:50:14 +00:00
matt
cce4db07ab Add a missing register prefix. 2002-02-24 01:11:40 +00:00
matt
4ce78967e6 Make some assembler warnings fatal errors. don't allow 4 char register
name in OBJ_AOUT mode.
2002-02-24 01:10:31 +00:00
matt
c7ce362189 Teach old (a.out) vax gas about register prefixes. 2002-02-23 21:16:41 +00:00
matt
9fe6d7dc5a Dump a few comments that don't apply anymore. Remove dead code that is no
longer used.  Add register prefix support.  It's always on for ELF and
optional for a.out (it's recognize register names with or without the %
prefix).
2002-02-23 21:07:29 +00:00
matt
572f2bb969 Teach gcc to emit register prefixes (though unless its ELF, the register
prefix is NULL).
2002-02-23 21:02:49 +00:00
matt
bc49a6eede Fix long time codegen bug. Only the COMPARE, ADD, MINUS operations actually
set the C(arry) bit appropriately.  All other leave it in an indeterminate
(to GCC) state.  Mark that by setting CC_NO_OVERFLOW.  Change vax.md emission
of branches that use the C bit to use OUTPUT_JUMP so that if CC_NO_OVERFLOW is
set, branches that would normally use the C bit use opcodes that don't use the
C bit (jgtru -> jneq && jlssu -> jeql).  Delete the cmpdi pattern.
2002-02-23 18:36:52 +00:00
wiz
4da241dfa0 Whitespace nits. 2002-02-23 17:01:20 +00:00
thorpej
2365d7ec78 Add a '-s' option which will cause mdsetimage to write back the
actual image size copied back into the kernel.
2002-02-23 02:30:37 +00:00
matt
13828b4c70 Implement a cmpdi pattern so gcc won't try to help us. The good news is
that's it's smaller.  Not sure about faster.
2002-02-22 06:03:36 +00:00
matt
6238aa6c4f Back out change to NOTICE_CC_UPDATE. It has really bad side effects.
I'll fix this another way.
2002-02-22 06:02:33 +00:00
matt
eb2926091c movl doesn't modify the C bit in the PSL so make sure to communicate that
fact to the gcc optimizer so it doesn't emit the wrong branch instructions.
2002-02-21 19:31:36 +00:00
matt
90b4581807 Ahhh! Use tc_fix_adjustable to make gas not resolve symbols into segment
based references for weak or external symbols.
2002-02-21 07:30:32 +00:00
matt
1b65728579 Gegneralize the PLT/GOT processing to properly emit relocs even for symbols
in the segment/file so that they linker can resolve them for shared libraries.
2002-02-21 06:59:16 +00:00
jmc
b32effcb8e Add some more dependencies so this builds as "make all" also without
requiring a make depend first.
2002-02-21 04:13:45 +00:00
mrg
71bd5d8f3c make this build cross by not splitting NATDEPFILES across a line with a
line continuation char (\)...
2002-02-21 03:24:50 +00:00
matt
ffefe31a4b When calling weak or global symbols in the same segment, make sure to use
RELAX encoding what can be transmorgified into a PLT reloc.
2002-02-21 00:18:43 +00:00
matt
1bb7ff7e99 Don't emit GOT slots for local symbols since the VAX can always refer to
via PC relative addressing.
2002-02-20 18:52:23 +00:00
matt
e9ecffcaf2 When emitting a GOT reloc, use the frag symbol since we want the
external name, not where it lives in this object (which would happen
in the symbol was defined locally).  All, don't use offset but addnumber.
2002-02-20 18:50:40 +00:00
matt
9fcb3b5a86 If the symbol is weak or external and this is a PCREL reference,
generate a fragment instead of fixup.  This allows us to convert
to a GOT or PLT reference which can be resolved externally.
2002-02-20 08:12:43 +00:00
matt
1927769e7a Don't use PCC_STATIC_STRUCT_RETURN.
Use movab/pushab when moving LABEL_REFs.
2002-02-20 03:06:37 +00:00
thorpej
7efea97070 Make sure that non-symbolic GOT references are converted back to
PC32 relocs for -Bstatic or -Bsymbolic links.

From Matt Thomas.
2002-02-19 06:16:35 +00:00
thorpej
b669a91187 Make sure _initialize_vaxnbsd_nat() is called (added manually). 2002-02-19 05:05:38 +00:00
thorpej
b56d2fc557 Add support for ELF core files. 2002-02-19 05:05:09 +00:00
thorpej
a962d1ba86 Do not -Dunix or -Darm, as they are namespace-invasive, and cause
variants of those CPP symbols to be defined that are contrary to
NetBSD's conventions.

Fixes building Xaw on ARM ELF.
2002-02-12 16:32:39 +00:00
tv
92140a7683 Skip building if the target's .mk file is missing. 2002-02-11 21:45:18 +00:00
tv
1c986fdf46 Skip building anything if the target's .mk files are missing. (Allows the
toolchain to be built in segments, or not at all if the in-tree toolchain
is inappropriate for the target.)
2002-02-11 21:36:33 +00:00
thorpej
1be69ad723 Fix typos in CC1_SPEC: -no-mindirect -> -mno-indirect 2002-02-11 00:02:12 +00:00