Commit Graph

3529 Commits

Author SHA1 Message Date
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
tsutsui
b1e673bc5e Include bsd.subdir.mk unconditionally so that make obj works
with old toolchain.
2002-02-10 17:38:24 +00:00
mrg
e694f74c6e pull across kcore_fetch_registers() from gnu/dist/gdb/sparcnbsd-nat.c, and
add kcore-nbsd.c to NATDEPFILES in nbsd{,elf}.mh.  regen defs.mk and init.c.

pity kcore-nbsd.c isn't in the FSF tree yet...
2002-02-10 01:32:56 +00:00
chs
dcee4d2ab2 bring forward a change from the old gdb:
Define IN_SIGTRAMP() as nbsd_in_sigtramp(), a new function which knows
how to find the address of the signal trampoline at runtime, thus allowing
one gdb binary to work on all NetBSD/m68k machines.
2002-02-09 19:37:38 +00:00
lukem
e2311f6fa0 use ${INSTALL_FILE} as appropriate 2002-02-09 09:21:47 +00:00
ross
dc5571b22e Generate <>& symbolically. I'm avoiding .../dist/... directories for now. 2002-02-08 01:21:55 +00:00
thorpej
07e8c5c63c Define TARGET_CPU_DEFAULT. From Matthias Drochner. 2002-02-07 16:52:37 +00:00
wiz
c0acf9a5ea Punctuation nits, sort sections, sort SEE ALSO. 2002-02-06 19:24:52 +00:00
fair
e02de0ae6d Patch from PR 15218 to document some options. 2002-02-04 10:35:39 +00:00
perry
84a067585a postqueue needs to be sgid maildrop. 2002-02-04 02:39:06 +00:00
ross
cc9d651712 LP64 tweak 2002-02-03 05:53:07 +00:00
perry
9944f8fbe3 resolve conflicts 2002-02-03 03:27:17 +00:00
perry
9834dfda1c Postfix 1.1.3 2002-02-03 03:10:53 +00:00
perry
ecf26eb9de add defaults for install parameters to stop errors 2002-02-03 02:20:05 +00:00
perry
13b9b0e653 And install the script as a SCRIPT... 2002-02-03 00:50:36 +00:00
perry
a292bb8303 Install post-install and postfix-files.
This is likely not enough yet.
2002-02-03 00:47:49 +00:00
perry
00f7fe97b4 resolve conflicts 2002-02-02 23:54:35 +00:00
perry
5cf194aa6d not part of release 1.1.2 2002-02-02 23:27:32 +00:00
perry
1f31e11b0f update reachovers for postfix 1.1.2 2002-02-02 23:21:45 +00:00
perry
6f59dc7aeb Postfix 1.1.2
(Postfix releases are now numbered -- 1.1.2 means 1.1, patchlevel 2.)
Lots of new features, same great security.
2002-02-02 23:10:24 +00:00
mrg
5f3d6c38d0 build sim before gdb. 2002-02-02 03:04:22 +00:00
tv
9fbd88883c Roll in fixes to permit cross-compiling from non-NetBSD hosts. This
round has been tested on Solaris/x86 and Linux hosts.

* Add host tools cap_mkdb, ctags, m4, uudecode.
* Protect __RCSID() and __COPYRIGHT() better.
* Reduce the number of places that need to include "config.h", to keep
  sources closer to their "vanilla" versions.
* Add more compat #defines and autoconf-checked functions.
2002-01-31 22:43:33 +00:00
tv
6061a17df3 itbl-parse ends in .y; itbl-lex in .l. 2002-01-31 21:15:08 +00:00
tv
5b071d154b Conditionally define M4 so it can be used as a host tool. 2002-01-31 19:12:43 +00:00
tv
3bf9a18e1c Remove extraneous declarations of yyparse() and yylex(). 2002-01-30 20:44:54 +00:00
reinoud
f3413b0e75 Back out change on Perry's request... PR 15303 is open again. 2002-01-30 17:43:52 +00:00
reinoud
d4d4c95b9e The config file mentiones that if off_t isnt defined its defined in gcc as
`long'. This gives rise to defining `off_t' to a signed 64 bit on LP64
machines giving rise to cross compiling errors.

By explicitly setting it to int32_t its forced to use signed 32 bits
integers as required and expected on the ILP32 ARM processor.

This aparently fixes PR 15303
2002-01-30 17:11:44 +00:00
tv
355d5a06c1 Restore rev. 1.2 (revert reversion). Fixes recent cc1obj bomb. 2002-01-30 15:16:06 +00:00
thorpej
1e51e492fd Sync NetBSD piece with gcc-current. 2002-01-29 18:52:09 +00:00
tv
a328e34106 Make almost all tools compile and run properly on non-NetBSD hosts. (In
particular, most tools now run correctly on Solaris 7.)
2002-01-29 10:20:28 +00:00
tv
c2f713900d Revert previous; please don't regen .y output using BSD yacc for a file that
should be run through Bison.
2002-01-29 08:12:10 +00:00
thorpej
89458c3940 * Clean up XFmode avoidance.
* If avoiding XFmode, force REAL_ARITHMETIC anyway (which will use
  the software FP emulation).
2002-01-29 01:02:06 +00:00