Commit graph

40410 commits

Author SHA1 Message Date
David E. O'Brien e5b502affd This brings rev 1.2 into EGCS 1.1.2. Also tweaks gleemed from EGCS
ChangeLog's.  Note that rev 1.3 changes (HOST_PTR_PRINTF) was not
brought into EGCS 1.1.2 as that is the default.
1999-08-30 10:12:33 +00:00
Peter Wemm 7d39118a94 Nearly missed this one. Turn off -DTERMCAP otherwise it defines a bunch
of conflicting symbols with ncurses.
1999-08-30 10:03:27 +00:00
David E. O'Brien 7870fcbbe0 Fix conflicts. 1999-08-30 09:58:28 +00:00
Sheldon Hearn 8559ed58e8 Only issue a warning for the first occurrence of a UID > USHRT_MAX and
the first occurrence of a GID > USHRT_MAX.

PR:	13344
Reviewed by:	bde
1999-08-30 09:55:42 +00:00
David E. O'Brien 37f5c2fd7b Use the stock EGCS 1.1.2 file here. Our previous changes are OBE. 1999-08-30 09:54:31 +00:00
Roger Hardiman a8a77e3724 Add #include <sys/select.h> ready for select() support in bt848 driver 1999-08-30 09:28:47 +00:00
David E. O'Brien a80c005075 This add Alpha and proper x86 support to EGCS 1.1.2. Functionally speaking,
this covers revs 1.{2,3}.
1999-08-30 08:41:19 +00:00
Peter Wemm 4c2a26e352 Update for ncurses5 aftermath.. 1999-08-30 08:33:15 +00:00
Peter Wemm 1da5e923ab We're using ncurses now. 1999-08-30 08:28:47 +00:00
Peter Wemm 18bfeb3d34 Take a shot at making this work under termcap/terminfo ncurses. It
cheats a bit by accessing the termcap string buffer.  A better solution
is needed.
1999-08-30 08:27:31 +00:00
Peter Wemm 046fbf6fe9 Make this compile.. (Why do we have tn3270 in the tree anyway?) 1999-08-30 08:23:33 +00:00
Peter Wemm b34453922a talk depended on side effects of curses includes. 1999-08-30 08:21:17 +00:00
Peter Wemm 3879bee426 systat is way too comfortable with curses internals... 1999-08-30 08:18:09 +00:00
Peter Wemm c7096a251d tconv is broken, it's libmytinfo dependent. 1999-08-30 08:16:31 +00:00
Peter Wemm 430299d4e7 Don't build libtermcap, libcurses, libmytinfo, just libncurses. 1999-08-30 08:15:02 +00:00
Peter Wemm efa0a3f5f5 Don't -DTERMCAP or we define a few conflicting functions and cause
recursion in a rather ugly way.
1999-08-30 08:12:20 +00:00
Peter Wemm 63fdd4420d #include <termios.h> 1999-08-30 08:10:42 +00:00
Peter Wemm 1f28eceeac baudrate() is now supplied. 1999-08-30 08:09:41 +00:00
Peter Wemm 707e2947ea flushok() isn't in ncurses. 1999-08-30 08:08:03 +00:00
Peter Wemm 9f3e1a8880 Update for libncurses. 1999-08-30 08:06:44 +00:00
Peter Wemm c507f6d0e3 Don't beat on ospeed, larn doesn't need it, and the libraries no longer
need it.
1999-08-30 08:05:07 +00:00
Peter Wemm be04388d9d Bandaid breakage due to excessive intimacy with old libcurses.. 1999-08-30 08:02:34 +00:00
Peter Wemm 04b193771d The ospeed hackery was disabled a while ago, finish the job. 1999-08-30 08:01:12 +00:00
Peter Wemm 99af2e21c7 Use src/contrib/ncurses, v5.0.990821 prerelease.
This isn't quite finished yet, there are still some unresolved problems
with ospeed and the sgtty.h (non-posix) terminal interface.  Mostly
this only causes problems with src/games.

The other tools and libraries (libform,libpanel,libmenu) will come
shortly but are seperate.

Beware, there be dragons here!  (The build will be broken for a short
while)
1999-08-30 07:58:08 +00:00
Poul-Henning Kamp 02e1576966 Make bdev userland access work like cdev userland access unless
the highly non-recommended option ALLOW_BDEV_ACCESS is used.

(bdev access is evil because you don't get write errors reported.)

Kill si_bsize_best before it kills Matt :-)

Use the specfs routines rather having cloned copies in devfs.
1999-08-30 07:56:23 +00:00
Poul-Henning Kamp 9cc99e3681 Make bdev userland access work like cdev userland access unless
the highly non-recommended option ALLOW_BDEV_ACCESS is used.

(bdev access is evil because you don't get write errors reported.)

Kill si_bsize_best.

Use the specfs routines rather having cloned copies in devfs.
1999-08-30 07:56:15 +00:00
David E. O'Brien 698a4b1cdb This brings rev 1.2 (reality check and document profiling extensions)
into EGCS 1.1.2.
1999-08-30 07:51:44 +00:00
Peter Wemm c8b9c85ee5 Tweaks for using natively under FreeBSD (with native termcap) 1999-08-30 07:50:31 +00:00
Peter Wemm 5dfc9e1565 int main, not void 1999-08-30 07:46:45 +00:00
David E. O'Brien 562502babb This brings rev 1.2 (document printf0()) into EGCS 1.1.2. 1999-08-30 07:38:42 +00:00
David E. O'Brien 7214c26ced Fix conflicts. 1999-08-30 07:28:52 +00:00
Bruce Evans 4047cd0bb2 Converted the silly SAFTEY option into a new-style option by renaming it to
DIAGNOSTIC.

Fixed an English style bug in the panic messages controlled by SAFETY.
1999-08-30 07:08:04 +00:00
David E. O'Brien 1ff1015930 Fix conflicts.
This adds rev 1.2 (-fformat-extensions) to EGCS 1.1.2.
1999-08-30 04:01:02 +00:00
Peter Wemm 4e731e62c4 If using GNUC and ELF, make __IDSTRING() expand into an inline asm
statement to put the rcsid into the .comment section.  This allows
the comments (ie:version id's of compiler, headers, source, etc) to be
stripped out with the standard tools (strip/objcopy).  SVR4 has a
tool called 'mcs' (manipulate comment section) which allows you to
add/remove/compact strings.  Removing duplicate strings helps a lot
if the headers generate them.
Using __attribute__((section(".comment"))) would probably also work,
but that still leaves the RCSID occupying C name space somewhere.
1999-08-30 03:57:47 +00:00
Bruce Evans 158562983e Yet another previously forgotten merge from Lite2. (Describe
`opaque', fix reversed description of `nodump', and don't use
`nodump' as an example of adding a `no' prefix since the double
negative would be confusing (it's still confusing -- the implicitly
documented `nonodump' flag doesn't exist).)
1999-08-30 03:40:26 +00:00
Warner Losh 8b2bfd893a Remove all non-file like things in /var/tmp/vi.recover on reboot. 1999-08-30 03:34:46 +00:00
Bruce Evans de5104ae7c "Fixed" my recent world breakage (umap_subr.c now includes opt_ddb.h).
Fixed some style bugs, especially the bogus definition of UMAPFS.
1999-08-30 03:26:45 +00:00
John Polstra a607e5d7f8 Get the actual pathname of the dynamic linker from the executable's
PT_INTERP program header entry, to ensure that gdb always finds
the right dynamic linker.

Use obj->relocbase to simplify a few calculations where appropriate.
1999-08-30 01:54:13 +00:00
John Polstra 7360ae0f2a When checking to see if a shared object is already loaded, look for
a device/inode match if no pathname match is found.
1999-08-30 01:50:41 +00:00
John Polstra 926ea445fe Revamp the symbol lookup algorithm to cope better with objects
loaded separately by dlopen that have global symbols with identical
names.  Viewing each dlopened object as a DAG which is linked by its
DT_NEEDED entries in the dynamic table, the search order is as
follows:

  * If the referencing object was linked with -Bsymbolic, search it
    internally.
  * Search all dlopened DAGs containing the referencing object.
  * Search all objects loaded at program start up.
  * Search all objects which were dlopened() using the RTLD_GLOBAL
    flag (which is now supported too).

The search terminates as soon as a strong definition is found.
Lacking that, the first weak definition is used.

These rules match those of Solaris, as best I could determine them
from its vague manual pages and the results of experiments I performed.

PR:		misc/12438
1999-08-30 01:48:19 +00:00
John Polstra 7326e0b620 When honoring -Bsymbolic, still keep searching if only a weak
definition was found in the referencing object.
1999-08-30 01:25:38 +00:00
John Polstra 6bd9374580 Simplify the logic in find_symdef(). 1999-08-30 01:24:08 +00:00
David E. O'Brien 252b86ac0b Fix conflict. 1999-08-30 01:02:55 +00:00
John Polstra a2c07ebf59 Add STAILQ_FOREACH. 1999-08-30 01:01:19 +00:00
John Polstra 30f6d5b508 Add definition for RTLD_GLOBAL, which is soon to be supported. 1999-08-30 00:50:12 +00:00
Daniel Eischen 3e12058d25 When checking for valid timevals in the wrapped select() and poll()
routines, don't return EINVAL but set errno to EINVAL and return -1.
Added a check in pthread_cond_timedwait for a null timespec pointer.
1999-08-30 00:02:08 +00:00
David E. O'Brien 293515f678 Fix conflicts. 1999-08-30 00:01:36 +00:00
David E. O'Brien e9a76e02f7 This brings rev 1.2 (FREEBSD_NATIVE) and rev 1.5 (mixed ELF/aout support)
into EGCS 1.1.2.
1999-08-29 23:53:46 +00:00
David E. O'Brien b8871f91cb Correct vfork()/exit() to vfork()/_exit().
Also return "1" rather than "-1".  According to bde: -1 is unrepresentable.
Exit statuses must be >= 0 and <= 255, at least if chars are 8 bits and
shorts are 16 bits.  This seems to only be documented indirectly in exit.2
by referring to wait.2.  WEXITSTATUS() throws away all except the low 8 bits
of the status returned by _exit(), and the kernel actually only stores 8
bits of it (if chars are 8 bits, etc.), so wait() can't return any more bits.

Obtained from: rev 1.4 of contrib/gcc/gcc.c
1999-08-29 23:46:20 +00:00
Bill Fumerola a5a388c7ab Add $FreeBSD$ and spell Eklund properly.
Approved by:	brian (well, he approved adding $Id$)
1999-08-29 23:17:04 +00:00