aboutsummaryrefslogtreecommitdiff
path: root/contrib
Commit message (Collapse)AuthorAgeFilesLines
* Ouch, my local cvs walloped the version I thought I was committing.John Birrell1998-03-141-18/+52
| | | | | | | Here is what I intended. Notes: svn path=/head/; revision=34570
* On i386, freebsd.h and freebsd-elf.h have been merged to combineJohn Birrell1998-03-131-71/+0
| | | | | | | | | | | aout and elf support. freebsd-elf.h died as a result, so the BINFORMAT test for elf in src/gnu/usr.bin/cc/cc_tool/Makefile will need to use freebsd.h, not freebsd-elf.h. That means that alpha will have to go the same way. The new alpha/freebsd.h has the alpha/freebsd-elf.h definitions merged in. Notes: svn path=/head/; revision=34559
* Nuke crti.o from the STARTFILE_SPEC again. No asm code is needed on alpha.John Birrell1998-03-111-1/+8
| | | | | | | | Add the define that lets gas know how to ".set" and enable pragmas so that #pragma weak will work. Notes: svn path=/head/; revision=34490
* Tweak from the cvs sources just after the 1.9.26 release:Peter Wemm1998-03-111-1/+1
| | | | | | | | | | | 1998-03-07 Tim Pierce <twp@skepsis.com> * rcs.c (RCS_checkout): Negation bug when checking out symlinks: existence_error should be !existence_error. This shouldn't cause any major merge problems later. Notes: svn path=/head/; revision=34482
* Remove test sub-directory.James Raynard1998-03-10217-4534/+1
| | | | Notes: svn path=/head/; revision=34476
* Merge changes from vendor branch into mainlinePeter Wemm1998-03-1013-829/+2813
| | | | Notes: svn path=/head/; revision=34467
* This commit was generated by cvs2svn to compensate for changes in r34461,Peter Wemm1998-03-1047-1853/+4003
|\ | | | | | | | | | | | | which included commits to RCS files with non-trunk default branches. Notes: svn path=/head/; revision=34462
| * Import cvs-1.9.26 onto vendor branchPeter Wemm1998-03-1060-2682/+6816
| | | | | | | | Notes: svn path=/vendor/cvs/dist/; revision=34461
* | Change the LINK_SPEC to specify the same runtime loader as used onJohn Birrell1998-03-101-12/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | i386-elf because that is what will be used for FreeBSD/Alpha. Change the STARTFILE_SPEC to match the non-aout version of i386 so that the csu files can be built in exactly the same way as i386-elf. This means that FreeBSD/Alpha departs from NetBSD/Alpha which uses crt0 and crtbegin/crtend. Since i386-aout uses crt0, I guess it was decided that i386-elf should use crt1. i386-elf also references crti and with this change, so does FreeBAS/Alpha. I think it is important for FreeBSD to have a consistent implementation across architectures and since ELF is quite compatible (ignoring differences in 32 and 64 bits), gcc might as well be configured the same. Another change is that the entry symbol is _start, not __start as in NetBSD. Notes: svn path=/head/; revision=34451
* | Both our a.out (hacked) gas and the binutils gas support .weakPeter Wemm1998-03-092-4/+0
| | | | | | | | | | | | | | Prompted by: bde Notes: svn path=/head/; revision=34363
* | Only do a.out/elf switching on i386 familyPeter Wemm1998-03-091-6/+8
| | | | | | | | Notes: svn path=/head/; revision=34356
* | This commit was generated by cvs2svn to compensate for changes in r34351,John Birrell1998-03-091-0/+517
|\ \ | | | | | | | | | | | | | | | | | | which included commits to RCS files with non-trunk default branches. Notes: svn path=/head/; revision=34352
| * | Import an extra source file from binutils 2.8.1 that is included onJohn Birrell1998-03-091-0/+517
| | | | | | | | | | | | | | | | | | | | | alpha. Notes: svn path=/vendor/binutils/dist/; revision=34351
| * | This commit was manufactured by cvs2svn to create branchcvs2svn1998-03-011-0/+8
| | | | | | | | | | | | | | | | | | | | | 'VENDOR-binutils'. Notes: svn path=/vendor/binutils/dist/; revision=33974
* | | Add a FreeBSD entry for alpha-elf.John Birrell1998-03-092-0/+2
| | | | | | | | | | | | Notes: svn path=/head/; revision=34350
* | | Don't disable the use of $ in assembler labels.. It changes libstdc++Peter Wemm1998-03-092-0/+6
| | | | | | | | | | | | | | | | | | | | | | | | and libg++ so that they won't work with existing binaries (including netscape!!). Notes: svn path=/head/; revision=34349
* | | Our default rules tend to shove asm code through cpp, so commentsJohn Birrell1998-03-088-0/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | starting with hashes have a sub-optimal impact. This change adds /* */ around the block comment in the header of each file to make them friendly to cpp. Also added an Id keyword cause I like to see revision numbers in source. Notes: svn path=/head/; revision=34325
* | | Spell -Bshareable correctly... :-]Peter Wemm1998-03-082-2/+2
| | | | | | | | | | | | Notes: svn path=/head/; revision=34314
* | | svr4.h defines ASM_IDENTIFY_GCC, but neglects to definePeter Wemm1998-03-082-0/+20
| | | | | | | | | | | | | | | | | | | | | | | | ASM_IDENTIFY_LANGUAGE. Use the osfrose.h method, because gdb assumes 'C' by default, so there's no need to further clutter the symbol table. Notes: svn path=/head/; revision=34285
* | | Cosmetic cleanup for a.out asm generation.. Don't put the end-of-filePeter Wemm1998-03-082-6/+20
| | | | | | | | | | | | | | | | | | | | | markers that the stabs-in-elf system uses. Notes: svn path=/head/; revision=34284
* | | Put the function stabs in traditional order on a.out, or gdb doesn't seePeter Wemm1998-03-083-12/+22
| | | | | | | | | | | | | | | | | | | | | function local variables. Notes: svn path=/head/; revision=34269
* | | Add hooks for John Birrell's kernel thread support library.Peter Wemm1998-03-082-2/+2
| | | | | | | | | | | | | | | | | | | | | Submitted by: John Birrell <jb@cimlogic.com.au> Notes: svn path=/head/; revision=34230
* | | First round of changes to support generation of assembler for the oldPeter Wemm1998-03-087-704/+1022
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 Notes: svn path=/head/; revision=34229
* | | This commit was generated by cvs2svn to compensate for changes in r34204,John Birrell1998-03-079-0/+903
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | which included commits to RCS files with non-trunk default branches. Notes: svn path=/head/; revision=34205
| * | | Import of the mpn asm source files for alpha from V2.0.2 whichJohn Birrell1998-03-079-0/+903
| | | | | | | | | | | | | | | | | | | | | | | | | | | | appears to match the other libgmp files in the repository. Notes: svn path=/vendor/libgmp/dist/; revision=34204
* | | | Configuration changes to support FreeBSD. The linker only works forJohn Polstra1998-03-018-25/+86
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ELF, not a.out. But all the other tools support both. I'm not so sure about the assembler -- it might need more work. Notes: svn path=/head/; revision=33973
* | | | Don't use "/" as a comment starter. In some FreeBSD sources, "/"John Polstra1998-03-011-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | means divide (duh). Notes: svn path=/head/; revision=33972
* | | | Fix the output format of "nm" so that it works properly for FreeBSD'sJohn Polstra1998-03-011-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | "lorder" command. GNU rejected this change because they felt it would be an unacceptable incompatibility to change the output format at this point -- even though it was wrong to begin with. Notes: svn path=/head/; revision=33971
* | | | Fix a bug which incorrectly caused files to be labeled as havingJohn Polstra1998-03-011-4/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | text relocations in certain situations. Notes: svn path=/head/; revision=33970
* | | | Add automatic branding of FreeBSD ELF files.John Polstra1998-03-011-0/+5
| | | | | | | | | | | | | | | | Notes: svn path=/head/; revision=33969
* | | | Add upgrade instructions and helper file.John Polstra1998-03-012-0/+103
| | | | | | | | | | | | | | | | Notes: svn path=/head/; revision=33968
* | | | This commit was generated by cvs2svn to compensate for changes in r33965,John Polstra1998-03-01574-0/+335157
|\ \ \ \ | | |/ / | |/| | | | | | | | | | | | | | | | | | which included commits to RCS files with non-trunk default branches. Notes: svn path=/head/; revision=33966
| * | | Initial import of GNU binutils version 2.8.1. Believe it or not,John Polstra1998-03-01574-0/+335157
| / / | | | | | | | | | | | | | | | | | | this is heavily stripped down. Notes: svn path=/vendor/binutils/dist/; revision=33965
* | | Add #include <string.h> to get prototypes.John Birrell1998-02-205-0/+5
| | | | | | | | | | | | Notes: svn path=/head/; revision=33663
* | | A hack to work around the sleep prior to calling the built-in diff. ThisPeter Wemm1998-02-141-4/+114
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | affects speed of doing 'cvs diff' (in all modes) and 'cvs update' over the network. 1: don't pause at all unless running in server protocol mode. 2: if running in server protocol mode, do a kludge that intercepts the stdout and stderr write functions and diverts them to cvs_output() and cvs_outerr(). Yes, this might be done with fwopen() etc, but that also requires copying "FILE" structs since you can't freopen stdout etc and specify functions at the same time. This HACK will go away once the cvs folks have done their changes to the library version of gnu diff to use the callbacks as mentioned in the comments. Notes: svn path=/head/; revision=33340
* | | Reduce the sleep(1) inbetween each diff, as suggested by bde some timePeter Wemm1998-02-081-2/+4
| | | | | | | | | | | | | | | | | | | | | ago. The real fix is rather large. Notes: svn path=/head/; revision=33169
* | | Painless merge...Chris Timmons1998-02-023-4/+9
| | | | | | | | | | | | Notes: svn path=/head/; revision=33014
* | | This commit was generated by cvs2svn to compensate for changes in r33011,Chris Timmons1998-02-0211-46/+201
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | which included commits to RCS files with non-trunk default branches. Notes: svn path=/head/; revision=33012
| * | | Global v2.24Chris Timmons1998-02-0234-107/+320
| | | | | | | | | | | | | | | | Notes: svn path=/vendor/global/dist/; revision=33011
* | | | Cosmetic cleanups for the local tag support. Since rcs isn't calledPeter Wemm1998-01-312-17/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | anymore, don't do all the putenv's for it's benefit. Notes: svn path=/head/; revision=32914
* | | | Merge vendor changes to files that we've touched onto mainline.Peter Wemm1998-01-303-8/+47
| | | | | | | | | | | | | | | | | | | | | | | | | | | | (If only all import/merges were this trivial :-) Notes: svn path=/head/; revision=32899
* | | | This commit was generated by cvs2svn to compensate for changes in r32896,Peter Wemm1998-01-3011-11/+391
|\ \ \ \ | | |_|/ | |/| | | | | | | | | | | | | | | | | | which included commits to RCS files with non-trunk default branches. Notes: svn path=/head/; revision=32897
| * | | Import cvs-1.9.24 since it came quite soon after the snapshot that wasPeter Wemm1998-01-3014-19/+438
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | imported a few days ago. There is very little difference, except that the remote protocol apparently supports wrappers and -k options better. Notes: svn path=/vendor/cvs/dist/; revision=32896
* | | | Update import instructions from last time.Peter Wemm1998-01-301-1/+2
| | | | | | | | | | | | | | | | Notes: svn path=/head/; revision=32895
* | | | Merge CYCLIC branch changesPeter Wemm1998-01-261-11/+18
| | | | | | | | | | | | | | | | Notes: svn path=/head/; revision=32800
* | | | Restore file that was inadvertently deleted last timePeter Wemm1998-01-261-0/+97
| | | | | | | | | | | | | | | | Notes: svn path=/head/; revision=32799
* | | | Remove stray filesPeter Wemm1998-01-265-475/+0
| | | | | | | | | | | | | | | | Notes: svn path=/head/; revision=32798
* | | | missing bracketPeter Wemm1998-01-261-0/+1
| | | | | | | | | | | | | | | | Notes: svn path=/head/; revision=32790
* | | | Merge changes from CYCLIC onto main branchPeter Wemm1998-01-262-476/+2981
| | | | | | | | | | | | | | | | Notes: svn path=/head/; revision=32789
* | | | Merge changes from CYCLIC branch onto mainline. rcs.[ch] still to come.Peter Wemm1998-01-2611-882/+1904
| | | | | | | | | | | | | | | | Notes: svn path=/head/; revision=32788