summaryrefslogtreecommitdiffstats
path: root/gnu
Commit message (Collapse)AuthorAgeFilesLines
* Use .An/.Aq.PR:charnier1998-03-311-4/+3
|
* Give up on a.out support in binutils. It has too many problems tojdp1998-03-309-20/+44
| | | | | | | be worth much effort. Install all i386 binutils programs in "/usr/libexec/elf". Disable a.out support in libbfd. It's too dangerous to leave it in. Some of the utilities think they can handle a.out, but they generate bad object files.
* Add c++filt.jdp1998-03-301-3/+2
|
* Add support for the AT&T style "fildll" and "fistpll" mnemonics.jdp1998-03-291-1/+3
| | | | | | | | | These are equivalent to "fildq" and "fistpq" respectively. This fixes the bad floating point object code that resulted after recent changes in the compiler. Test driven by: "Mike Burgett" <mburgett@awen.com>, Amancio Hasty <hasty@rah.star-gate.com>
* Activate CVS regression test.eivind1998-03-281-1/+22
|
* Don't build sperl if you don't want to.dima1998-03-261-1/+5
|
* Support building of libgcc.a without building all of gcc. This isbde1998-03-232-30/+68
| | | | | useful for bootstrapping. Compatible versions of gcc and cc1 should should be installed before using this feature.
* Honour -static in LDLAGS. ld without -Bstatic is happy to choosebde1998-03-231-4/+4
| | | | | static libraries if there are no shared libraries in the search path, but gcc without -static blindly attempts to link crt0.o.
* Generate files at build time, not at install time. This should be thebde1998-03-211-24/+23
| | | | | | | | | | last fix of this type. Installing from a read-only object tree should work now. Install files using a single install command where this is easy; don't use shell loops. Don't use MANDEPEND to complicate things.
* Don't use beforedepend to complicate and break things. The usualbde1998-03-201-140/+65
| | | | | | | | | | fix of putting generated source files in SRCS breaks many special cases (many dependencies had to be incomplete for ${.ALLSRC} not to give .h files that would break compiling with c++ -c). Reduce these special cases to the general case so that SRCS works normally and bsd.lib.mk handles most of the complications. Now we only have to duplicate rules from bsd.lib.mk to add special CFLAGS in some cases.
* Don't use beforedepend to complicate and break things. Just putbde1998-03-201-1/+1
| | | | generated source files in SRCS.
* Put generated source files in SRCS. This fixes races generatingbde1998-03-201-9/+6
| | | | | | | | | the source files. E.g., the stale version of locate.cc in the source directory was sometimes used. We didn't even use beforedepend. Added temporary files to CLEANFILES. Fixed some style bugs.
* Don't use beforedepend to complicate and break things. Just putbde1998-03-201-11/+9
| | | | | | | | | | | | | generated source files in SRCS. Don't use MANDEPEND to complicate things. Just put the generated man page in CLEANFILES. Partly fixed yacc header brokenness, as in ../eqn/Makefile. Added temporary files to CLEANFILES. Fixed some style bugs.
* Don't use beforedepend to complicate and break things. Just putbde1998-03-201-15/+14
| | | | | | | | | | | | | | | | | | | | | | | generated source files in SRCS. Don't use MANDEPEND to complicate things. Just set MAN1 and put generated man pages in CLEANFILES. Added temporary files to CLEANFILES. Partly fixed a potentially fatal bug involving the yacc header. We generate eqn.cc (even if there is a version of it in the source directory older than eqn.y) and a matching eqn.tab.h, but only use the possibly-non-matching eqn.tab.h in the source directory. This works because Cygnus's yacc happened to generate a y.tab.h identical to the current generated one. The correct version will be used when the wrong version is deleted from the source tree. Kludge to get the header generated early enough. Yacc headers are mishandled everywhere they are renamed (and used). Generate neqn at build time, not at install time. Fixed some style bugs.
* Removed bogus -I path. The correct path is in all subdir Makefilesbde1998-03-201-2/+2
| | | | where it matters.
* Removed vestiges of use of beforedepend target.bde1998-03-192-6/+6
|
* I goofed on the `LINKS' syntax.obrien1998-03-181-2/+3
| | | | Submitted by: Dmitrij Tejblum <dima@tejblum.dnttm.rssi.ru>
* This is uulog.1, not uuname.1.hoek1998-03-161-2/+2
| | | | PR: docs/5980
* Make the binutils strip ELF-only for now. It isn't quite right for a.out.jdp1998-03-151-0/+5
|
* Disable support for the a.out-i386-bsd target. Everything it can dojdp1998-03-141-5/+3
| | | | | | seems to be supported in the a.out-i386-freebsd target. When both are present, there are sometimes complaints of "ambiguous file format."
* Add binutils if BINFORMAT is elf. This is needed for alpha, and itjb1998-03-131-2/+6
| | | | works on i386, but is still disabled until you set BINFORMAT.
* Put sources in SRCS and don't depend on them in beforedepend. IIRC,bde1998-03-122-6/+8
| | | | | this is to fix `make -j50' where `make -j18' worked. The race may just have been more likely to be lost for -j50.
* Configure alpha to disassemble both alpha and i386 opcodes.jb1998-03-121-0/+6
|
* Fixed `make -jN depend' (N >= 2) by removing the beforedependbde1998-03-121-5/+2
| | | | | | | | | | target. .ORDER doesn't work right, but is used for things related to the depend target. It "works" for the depend target by skipping the build of .depend when N >= 2 and there is a non-default beforedepend target with no rules. Recent fixes made almost all the beforedepend targets in the tree a no-op except for this bug. Removed vestiges of elf and aout targets.
* Configure bfd for elf64, elf32, and aout. Yes alpha can handle i386jb1998-03-121-0/+30
| | | | formats. No i386 can't handle alpha formats. 8-)
* Define the target type for alpha.jb1998-03-121-0/+5
|
* Add the alpha makefile.jb1998-03-123-4/+12
| | | | | Move tc-i386.c from Makefile to Makefile.i386 'cause alpha doesn't like trying to swallow it. Indigestion, I think.
* Change the include path for bfd.h to libbfd/${MACHINE_ARCH} sincejb1998-03-121-2/+2
| | | | I moved the location of that architecture specific file.
* This file was generated on i386, so it has been moved to the i386jb1998-03-121-2678/+0
| | | | sub-directory. It differs from the alpha version.
* This file was generated on i386 by the update.sh script injb1998-03-121-0/+2678
| | | | src/gnu/usr.bin/binutils.
* These files were generated on alpha by the update.sh script injb1998-03-122-0/+2761
| | | | src/gnu/usr.bin/binutils.
* Replace empty install targets with definitions of INTERNALLIB andjdp1998-03-124-12/+12
| | | | INTERNALSTATICLIB to suppress installation of internal libraries.
* Change script to get the machine type from `uname -m' and makejb1998-03-121-5/+8
| | | | | | | | | | | the binutils headers for (machine)-unknown-freebsdelf. Also copy the bfd.h header to an architecture specific directory because there are two fundamental lines that differ (32-bit vs 64-bit) between i386 and alpha. The config.h for libbinutils generates the same on alpha as i386, so I didn't change that (though I was tempted!).
* Restructure the binutils hierarchy somewhat in order to betterjdp1998-03-1257-452/+192
| | | | | | | | | | | | | | | | | | | | support building it for variant architectures. It was already becoming clear that the former structure was too rigid and didn't scale well. The usual sort of makefile magic arranges to .include an architecture specific makefile "Makefile.${MACHINE_ARCH}" in each directory where it exists. Also, sources will be found in each subdirectory "${MACHINE_ARCH}" that exists. This is all taken care of automatically by the top level "Makefile.inc0". This all seems to work right for the i386 now. I have also converted those alpha pieces already present to the new schema as best I could. Also: change the BINDIR on the i386 to /usr/libexec/elf for "ar" and "ranlib". They are not object format independent enough to put into /usr/bin.
* mktemp -> mkstemp as pointed out on bugtraqguido1998-03-101-6/+19
| | | | Obtained from: Theo de Raadt
* indicate ability to support the PerservePermissions stuffpeter1998-03-102-0/+6
|
* add new file (hardlink.c) into sourcespeter1998-03-101-2/+3
|
* Eliminate duplicated lines.jkh1998-03-091-3/+1
| | | | | PR: 5956 Submitted by: Kazuo Horikawa <k-horik@yk.rim.or.j>
* We want ld in /usr/bin, not some weird and wonderful hiding placejb1998-03-091-2/+2
| | | | that might be inspired by some creation from Intel. Doh.
* This commit was generated by cvs2svn to compensate for changes in r34336,jb1998-03-0911-0/+282
|\ | | | | | | which included commits to RCS files with non-trunk default branches.
| * Import of alpha specific bits to configure binutils for FreeBSD/Alpha.jb1998-03-0911-0/+282
| | | | | | | | | | Other changes that affect the i386-elf work are on hold to avoid stuffing up other work in progress.
| * This commit was manufactured by cvs2svn to create branch 'JB'.cvs2svn1998-01-101383-411985/+0
| |
* | Use cc -E rather than cpp when looking for __ELF__peter1998-03-081-2/+2
| |
* | add `CC' as a link to `c++' for compatablity with SGI.obrien1998-03-081-2/+2
| |
* | Set LIB_PATH explicitly otherwise genscripts makes (incorrect) referencespeter1998-03-081-3/+5
| | | | | | | | all over the place.
* | First round of changes to support generation of assembler for the oldpeter1998-03-083-34/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | a.out gas and the binutils gas (elf or a.out) with a single compiler. This uses other infrastructure not yet committed, in order to support both a.out and elf it needs to be able to get to both a.out and elf gas, ld, libs, crt* etc. So for now, the support is pretty much dormant. The new freebsd.h file is based on the old freebsd-elf.h file (which has a long lineage, right back through linux and svr4 files). The change is pretty dramatic from a gcc internals standpoint as it overrides a lot of definitions in order to generate different output based on target mode. There is potential for screw-ups, so please be on the lookout - gcc's configuration mechanism wasn't really meant for this kind of thing. It's believed to compile world etc just fine under both a.out and elf, can handle global constructors and destructors, handles the differences in a.out and elf stabs, and what sections things like exceptions go in. The initial idea came from i386/osfrose.h which is a dual rose/elf format target. These two are not as diverse as a.out and elf it would seem. The cc front-end uses external configuration to determine default object format (still being thrashed out, so read the source if you want to see it so far), and has a '-aout' and '-elf' override command line switch. There are some other internal switches that can be accessed, namely -maout, -mno-aout, -munderscores and -mnounderscores. The underscore and local symbol prefixing rules are controllable seperately to the output format. (ie: it's possible to generate a.out without the _ prefixes on symbols and also to generate elf with the _ prefixes. This isn't quite optimal, but does seem to work pretty well, except the linkers don't always recognise the local symbols without their normal names) The default format is a.out (still), nobody should see any major changes. With both elf and a.out tools and libraries installed: [1:26pm]/tmp-223> cc -elf -o hello hello.c peter@beast[1:27pm]/tmp-224> file hello hello: ELF 32-bit LSB executable, Intel 80386, version 1 (FreeBSD), dynamically linked, not stripped [1:27pm]/tmp-225> ./hello hello world! [1:27pm]/tmp-226> cc -aout -o hello hello.c [1:27pm]/tmp-227> file hello hello: FreeBSD/i386 compact demand paged dynamically linked executable not stripped 1:27pm]/tmp-228> ./hello hello world! Since my co-conspirators put a lot of effort into this too, I'll add them so they can share the blame^H^H^H^H^Hglory. :-) Reviewed by: sos, jdp
* | Delete cc(1) debug option, typo from last commit.wosch1998-03-071-2/+1
| | | | | | | | Pointed out by: Søren Schmidt
* | Use `foo/bar.a' instead of `-Lfoo -lbar' for linking to static internalbde1998-03-073-15/+14
| | | | | | | | | | | | | | libraries so that `ld -f' in can create correct dependencies for yet-to-be-built libraries. Get the default BINDIR correctly (by including ../Makefile.inc recursively.
* | Use `foo/bar.a' instead of `-Lfoo -lbar' for linking to static internalbde1998-03-072-44/+18
| | | | | | | | | | libraries, so that `ld -f' in can create correct dependencies for yet-to-be-built libraries.
* | Open temporary files with O_EXCL.guido1998-03-061-1/+1
| | | | | | | | Obtained from:bugtraq
OpenPOWER on IntegriCloud