Rev 1.2 appears to have come from this commit to gcc-2.6.1:
phk 95/03/10 00:24:10
Modified: gnu/usr.bin/cc/cc_int final.c
Since we are in the gcc bashing mood anyway: Add two changes for
basic-block profiling:
1. use a .stabs(25) symbol to link all the data structures together
with. The regular method isn't safe for the kernel.
2. add a BB before the prologue and add a BB after the epilogue,
this alows us to find the length of any counted BB. This is a
cheap and somewhat reasonable measure of actual cost.
Sean Eric Fagan [Sun, 7 Nov 1999 07:52:02 +0000 (07:52 +0000)]
Make an incredibly stupid change because Warner threatened to do it and
continue doing it despite objections by me (the principal author).
Note that this doesn't fix the real problem -- the real problem is generally
bad setup by ignorant users, and education is the right way to fix it.
So while this doesn't actually solve the prolem mentioned in the complaint
(since it's still possible to do it via other methods, although they mostly
involve a bit more complicity), and there are better methods to do this,
nobody was willing or able to provide me with a real world example that
couldn't be worked around using the existing permissions and group
mechanism. And therefore, security by removing features is the method of
the day.
I only had three applications that used it, in any event. One of them would
have made debugging easier, but I still haven't finished it, and won't
now, so it doesn't really matter.
Brian Feldman [Sun, 7 Nov 1999 05:58:38 +0000 (05:58 +0000)]
Fix the advisory file locking by restoring previous ordering in closef()/
fdrop(). This only showed up when a file descriptor was duplicated
and then closed once, where the lock would be released on the first close().
Eivind Eklund [Sat, 6 Nov 1999 23:41:10 +0000 (23:41 +0000)]
Options cleanup.
* GC unused options
* Move options that exist on all architectures to conf/options
* Add missing options to LINT
* Sort undocumented options list in LINT
John Birrell [Sat, 6 Nov 1999 22:46:45 +0000 (22:46 +0000)]
Use the simplified genscripts.sh and set the cross-compiled library
directory to /usr/cross/${MACHINE_ARCH}-freebsdelf/usr/lib so that
the cross tools behave the same way that the host versions do. When
building cross tools, Cygnus doesn't set the default library directory.
This doesn't suit FreeBSD IMHO.
Add WinNT emulation support too. You only get this if you've set
BINUTILSDISTDIR because the contrib/binutils repository doesn't
contain the required sources.
John Birrell [Sat, 6 Nov 1999 22:44:32 +0000 (22:44 +0000)]
Use the simplified genscripts.sh and set the cross-compiled library
directory to /usr/cross/${MACHINE_ARCH}-freebsdelf/usr/lib so that
the cross tools behave the same way that the host versions do. When
building cross tools, Cygnus doesn't set the default library directory.
This doesn't suit FreeBSD IMHO.
John Birrell [Sat, 6 Nov 1999 22:26:43 +0000 (22:26 +0000)]
This one might be a bit controversial. 8-)
gas for i386 targeted to NT for those (like me) who have to do work
targeted to NT, but can't stand actually looking at it all day long.
I cross build apps on FreeBSD and just run them on NT later. Life is
better that way.
John Birrell [Sat, 6 Nov 1999 21:13:47 +0000 (21:13 +0000)]
Change CROSS_TOOLS to CROSS_ARCH because that makes more sense.
Allow for the case where the host architecture might also be listed
in CROSS_ARCH, so don't do things twice. This situation can arise if you
want NT support in binutils (CROSS_ARCH=i386 CROSS_FORMAT=winnt).
John Birrell [Sat, 6 Nov 1999 21:09:40 +0000 (21:09 +0000)]
Teach binutils how to understand NT format objects and libs. This is useful
for those who want to objdump --disassemble things that they're not
supposed to. 8-)
John Birrell [Sat, 6 Nov 1999 21:04:46 +0000 (21:04 +0000)]
Add a BINUTILSDISTDIR hook to provide a path to a full binutils release
outside the contrib files that FreeBSD distributes. This for use by
those who want to work on porting FreeBSD to additional architectures.
Martin Cracauer [Fri, 5 Nov 1999 12:06:30 +0000 (12:06 +0000)]
When a backquote command inside a here-document had a pipe with more
than two processes (got that? :-), the stdin fd of the middle
processes that has just been set up was accidetially closed. Don't do
this.
Joerg Wunsch [Fri, 5 Nov 1999 07:36:33 +0000 (07:36 +0000)]
Back out rev 1.21. bde and dcs convinced me that all this is messed up
anyway, and there can't be any solution that will universally work in any
case (make world, cross-compilation, simple `make' without `make world'
after incompatible options have been added to strfile, ...)
Julian Elischer [Fri, 5 Nov 1999 02:18:08 +0000 (02:18 +0000)]
Add the option for a socket node to shut down when the last hook
to an adjoining node is removed. Also move file scope definitions back
within the file, and remove un-needed include file.
As of GCC 2.95 these files from libiberty are absolutely required:
ansidecl.h libiberty.h splay-tree.h splay-tree.c
To keep from having to import all of libiberty, they are imported here
for now. Before all is said and done, libiberty might be imported, or
these files might move elsewhere.
As of GCC 2.95 these files:
choose-temp.c demangle.h getopt.h obstack.c pexecute.c
cplus-dem.c getopt.c getopt1.c obstack.h
were removed from the GCC compilers proper to libiberty. To continue our
revision history, and to keep from having to import all of libiberty,
they are imported here as if they were never moved.