Commit Graph

2431 Commits

Author SHA1 Message Date
tron
ea4809da9e Initial import of "sendmail" 8.9.3 sources. 2000-02-07 20:05:21 +00:00
kleink
cd4d224a61 (s_common): Convert byte alignment to power of two to record alignment of
the bss section.
2000-02-07 12:25:47 +00:00
kristerw
46e954b5e5 C++ exceptions doesn't work in i386 shared libs when using sjlj exceptions
(as a.out does per default.)  This is because the compiler forgets to
restore the PIC register after a builtin_setjmp (i.e. when catching an
exception.)  This fix is taken from the gcc 2.95 branch.

Fixes PR#9110.
2000-02-01 19:29:33 +00:00
tsutsui
c539ff5d84 STRIPPROG -> STRIP 2000-02-01 06:00:35 +00:00
mycroft
4170f63662 Handle arbitrarily long input lines.
(Patch taken from gas.new.)
2000-01-24 19:44:37 +00:00
mycroft
1b4eebafa7 One more .mk bug. 2000-01-24 07:27:15 +00:00
mycroft
3c08240686 Use mkstemp(). 2000-01-24 02:47:51 +00:00
mycroft
4ec77e0d35 Use mkstemp(3). 2000-01-24 02:03:37 +00:00
mycroft
fa450d541e More .mk file fallout. *sigh* 2000-01-23 22:19:27 +00:00
mycroft
615ac255bd More .mk file fallout. *sigh* 2000-01-23 22:10:52 +00:00
hubertf
12b34d4ffe Only skip some bytes if the associated object is not a dir.
Needed for some tar files.

Fixes PR 9274 by Giles Lean <giles@nemeton.com.au>
2000-01-22 14:04:15 +00:00
mycroft
f6f389921a #define POSIX 2000-01-19 03:57:17 +00:00
wiz
6ed33701a8 fixed typo in example (fixes PR 9023) 2000-01-17 12:44:39 +00:00
mycroft
493acb76cb More alloca() -> malloc(). Needed to make some shared libraries link when
compiled with -g.
2000-01-13 00:05:32 +00:00
matt
b9db4a8140 Add rudimentry VAX COFF support. enough so objdump, size, nm, etc. are happy
but no near enough for gas or ld.
2000-01-11 05:48:27 +00:00
mycroft
9b25bfd178 Semi-random code cleanup.
Also, in the RRS_PARTIAL case, go ahead and allocate a relocation entry if the
bind failed.  (Who knows?  Maybe some day we'll allow relinking an executable.)
2000-01-07 21:19:36 +00:00
mycroft
5a63d68e02 Fix two problems:
* On other systems, `-Bsymbolic' does not affect undefined (external)
  symbols at all.  We were generating invalid PLT slots in this case.
* Do not prebind GOT and PLT slots when `-r' is used; only do so if
  -Bsymbolic is used {or if we're in RRS_PARTIAL mode, but I'm not
  sure that's correct}.  Otherwise, we could inadvertantly prebind
  symbols when using `-r' with PIC files; when the resulting .o file
  is then linked into a shared library, the library would not permit
  an executable to override its symbols as it's supposed to.
2000-01-07 20:23:41 +00:00
kristerw
f59fc24c1e Made libbfd read and understand our a.out dynamic symbols.
Solves PR bin/7576 from Mike Neuman.
2000-01-06 21:50:05 +00:00
msaitoh
d64461f26b apply some patches from egcs-current (to make gcc more reliable) 2000-01-06 19:20:35 +00:00
tron
5f388312a6 Fix Y2K bug in date parser reported by Trevin Beattie in PR y2k/9123. 2000-01-05 21:34:11 +00:00
msaitoh
47956fff3f skip gdb if ${MACHINE_ARCH} == "sh3" 2000-01-02 11:20:51 +00:00
msaitoh
6bba0f3f4a pass arg 4 of the qsort() correctly. 2000-01-02 11:01:02 +00:00
msaitoh
fef1139c8c BFD for SH ELF 2000-01-02 10:53:52 +00:00
kristerw
c1d02ec5a3 Made N_TXTADDR do the righ thing with shared libs. 2000-01-01 20:52:57 +00:00
msaitoh
0845ad5a3c gas.new for NetBSD/sh3 1999-12-26 20:03:56 +00:00
msaitoh
5efb71755d ld.new for NetBSD/sh3 1999-12-26 19:59:22 +00:00
msaitoh
bec61173c4 libbfd for NetBSD/sh3 1999-12-26 19:48:00 +00:00
fair
bc2c2462e1 one too many backslashes in an nroff expression, fixed per PR 8724 1999-12-20 23:01:20 +00:00
thorpej
f777a401db Accept %fp as an alias for %a6 (prefix *MUST* be present for this alias
to work).
1999-12-14 17:05:13 +00:00
itohy
a5f38cc443 Add news68k 1999-12-10 06:04:01 +00:00
fvdl
5985528d02 Remove a few redundant splbio() calls (ACQUIRE_LOCK already does splbio()) 1999-12-05 20:34:40 +00:00
thorpej
4a9e81df67 Pass in the appropriate machine directive to the assembler if an -mcpu=...
option is given to the compiler.  It's silly to have to specify it twice
on a command line (e.g. -mcpu=ev56 -Wa,-mev56), especially considering
that if you don't, and the compiler emits e.g. a BWX instruction, the
assembler will treat it as a macro, open-coding an equivalent, which can
have some serious unwanted side-effects in some situations.

Also, don't treat e.g. 21164 and ev5 as equivalent; the assembler treats
them differently: 21164 enables PALcode-only instructions, while ev5
does not.
1999-12-03 06:37:47 +00:00
phil
aca0169f10 open(2) can legally return 0. Errors only if return value < 0.
(Test for good is >= 0.)
1999-12-01 03:45:54 +00:00
eeh
b18e309569 Allow building of PIC or profiling libraries to be disabled. 1999-11-27 23:46:09 +00:00
msaitoh
414bf126c6 add TDEPFILES.sh3
TODO: add NATDEPFILES.sh3
1999-11-26 14:39:47 +00:00
msaitoh
61dc0599cd gdb for SH (doesn't work yet) 1999-11-26 09:13:36 +00:00
msaitoh
f0af9ff8e6 add "system.h" 1999-11-26 07:55:14 +00:00
msaitoh
3954eb11cb s/sparc/sh/ 1999-11-26 07:36:48 +00:00
fvdl
ce8da2329e Use splbio() in getdirtybuf() to prevent bad things from happening due
to queue race conditions. Don't use B_VFLUSH as it's not appropriate for
this case.
1999-11-24 23:13:15 +00:00
fvdl
d901f6eae0 Be more careful to block bio interrupts for some data structures. There
were at least a few missed cases where vp->v_{clean,dirty}blkhd were
unprotected since the softdep/trickle sync merge.
1999-11-23 23:52:40 +00:00
wrstuden
6a4a304da0 Add rs6000coff_vec, which adds aixcoff-rs6000 support. Used with fixcoff. 1999-11-23 02:08:03 +00:00
fvdl
7e4423b4ea Set the limit at which flushing is sped up to prevent excessive memory
usage a little lower.
1999-11-18 12:20:45 +00:00
fair
0616ece265 add "sh3" 1999-11-17 09:59:09 +00:00
matt
37cdd0b801 simply the conditional for ld. 1999-11-17 02:52:29 +00:00
fvdl
ea314e139b Add the parts of the softdep code that fall under Kirk's more GPL-like
copyright here. To be optionally included in the kernel using the
prefix and cinclude mechanism.
1999-11-15 18:42:26 +00:00
jun
79db3ed28c add hpcmips 1999-11-13 06:57:08 +00:00
thorpej
ef9b07e056 Add register prefixes. 1999-11-10 16:54:10 +00:00
hubertf
91d9e85847 Add '\n' after error messages.
Problem reported in PR 8773 by Johan Danielsson <joda@pdc.kth.se>
1999-11-10 14:53:39 +00:00
thorpej
e3ff78dac0 Hack in (quite brutally, I might add) a flag to warn about missing
register prefixes.  Suggested by Ignatios Souvatzis.
1999-11-09 23:38:57 +00:00
lukem
fea5b77bc6 don't bother calling fwrite() if count == 0' ld.c 1999-11-08 21:58:00 +00:00