summaryrefslogtreecommitdiffstats
path: root/contrib/gcc
Commit message (Collapse)AuthorAgeFilesLines
* Re-initialize gp after a jsr.obrien2001-08-171-0/+4
| | | | | | | | | | | | | | | When rtld runs the .fini section in a shared lib (C++), the code in question from .../contrib/gdb/config/alpha/crtbegin.asm first calls __do_globals_dtors_aux and then __do_frame_takedown. Unfortunately, the value of gp after a jsr is undefined and in this case had changed from before the call, probably as a result of calling code in some other shared library. The normal calling convention for alpha is to re-initialize gp using 'ldgp gp,0(ra)' after a jsr instruction but in this case no such re-initialization is done. This leads to a bogus value being read for the address of __do_frame_takedown and a quick segfault. Submitted by: dfr Obtained from: GCC 3.0
* Add the `WANT_FORCE_OPTIMIZATION_DOWNGRADE' knob. If set to an integerobrien2001-08-161-7/+12
| | | | | | value, it forces GCC to not optimize above this level. For intance, GCC made with "WANT_FORCE_OPTIMIZATION_DOWNGRADE=1" is a good setting for the Alpha platform when building ports.
* Correct the version number.obrien2001-08-011-1/+1
|
* libiberty file list for the 11-July-2000 import.obrien2001-07-121-0/+35
|
* Support the environmental var "GCC_OPTIONS". Which can hold a set ofobrien2001-05-291-0/+52
| | | | | | default options for GCC. These options are interpreted first and can be overwritten by explicit command line parameters. This provides one way of adding [temporary] options to your world build w/o editing /etc/make.conf.
* Teach gcc about '%+' so it will not warn when using '%+' in a formatobrien2001-05-251-1/+1
| | | | | | | string when using strftime(), since our libc supports it. PR: 26827 Submitted by: Marc Olzheim <marcolz@ilse.nl>
* Make it easy for people to use define DWARF2 exceptions unwinding.obrien2001-05-141-0/+5
| | | | | | | | If "WANT_DWARF2_UNWIND" you get it. Note that this is a different C++ ABI than the FreeBSD default. So you will need to recompile all your C++ apps that uses exceptions if you turn this on. I am adding it here for Yahoo!'s use and for those that want to be early adopters to what I will make as the default with the GCC 3.0 import.
* Choose the right LIB_SPEC for threads based on "__FreeBSD_version".obrien2001-05-121-3/+19
| | | | | | This allows someone with an older -current to update their compiler [only]. Inspired by: Loren James Rittle <rittle@rsch.comm.mot.com>
* Remove MIPS support.obrien2001-04-111-0/+1
| | | | It has rotted quite badly and no one has provided updates for it.
* This commit was generated by cvs2svn to compensate for changes in r74722,obrien2001-03-244-72/+140
|\ | | | | | | which included commits to RCS files with non-trunk default branches.
| * Import the setjump/longjump exception handling fixes from GCC 2.95.3.test3obrien2001-03-244-72/+140
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | that were removed from GCC 2.95.3.test4 and the subsequent release due to problems on HP-UX. However, they work just fine on all the BSD's. W/o these patches the following program segmentation faults if compiled with -O2 (but not -Os or -O or -O0): #include <stdio.h> class A { public: A() { printf("c'tor A\n"); } ~A(){ printf("d'tor A\n"); } }; class foo : public A { public: foo() { printf("C'tor foo\n"); throw 8; } ~foo() { printf("D'tor foo\n"); } }; int main(){ try { foo fii; } catch (int){ printf("catch ...\n"); } return 0; }
* | Remove some files that are no longer in the FSF branch.obrien2001-03-191-26/+0
| |
* | Merge gcc-2.95.3 changes onto mainline. Update FreeBSD changes to convergeobrien2001-03-1910-2670/+172
| | | | | | | | with changes made in the FSF tree.
* | This commit was generated by cvs2svn to compensate for changes in r74473,obrien2001-03-1910-151/+119
|\ \ | |/ | | | | which included commits to RCS files with non-trunk default branches.
| * Virgin import of the GCC 2.95.3 compilersobrien2001-03-1913-154/+122
| |
* | Change "NO_PROFILE_DATA" to "NO_PROFILE_COUNTERS" to match the commit byobrien2001-03-021-2/+2
| | | | | | | | | | the FSF/GCC people in the stock 2.97 source that is like our custom change modulo the conditional compilation symbol.
* | Move the obvious bits of mixed ELF and a.out support down into this MDobrien2001-03-021-0/+108
| | | | | | | | | | | | | | header to reduce the difference of our sources to the stock GNU/FSF ones. While the mix binary format support was nice to have in the FreeBSD MI header as a frame work, it just clutters up too much and makes the FreeBSD MI header more different from the FSF/GNU stock one than it needs to be.
* | Push as much as was easy of the mixed ELF & a.out support for the i386obrien2001-03-021-130/+21
| | | | | | | | | | | | into the i386 MD FreeBSD header. Also comment tweaking, continuation line style changes, and other minor changes to make this closer to the latest FSF/GNU 3.0 sources (to reduce my headache when 3.0 is imported).
* | Stylistic changes mirroring ones done in the FSF/GNU 3.0 development sources.obrien2001-02-281-50/+49
| |
* | Merge rev 1.2 (-fformat-extensions); 1.{7,9} (complain about -O2 on theobrien2001-02-171-2/+3
| | | | | | | | | | Alpha & FORCE_OPTIMIZATION_DOWNGRADE); 1.8 (-Wnon-const-format) into GCC 2.95.3(RC#3).
* | Merge gcc-2.95.3-test3 changes onto mainline. Bump FreeBSD cc version.obrien2001-02-178-139/+151
| |
* | This commit was generated by cvs2svn to compensate for changes in r72562,obrien2001-02-1738-1127/+2898
|\ \ | |/ | | | | which included commits to RCS files with non-trunk default branches.
| * Enlist the FreeBSD-CURRENT users as testers of GCC 2.95.3 Release Candidate #3obrien2001-02-1747-1268/+3052
| |
| * Enlist the FreeBSD-CURRENT users as testers of GCC 2.95.3 Release Candidate #1peter2001-01-031-5/+5
| |
* | Bump __FreeBSD_cc_version to 500002 to show the -pthread option change.obrien2001-02-081-1/+1
| |
* | Make the "-pthread" option work again, now that libc_r has to bejdp2001-01-251-7/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | linked in addition to libc rather than instead of libc. Ideally, "-pthread" would now be equivalent to adding "-lc_r" to the end of the link command. But it is slightly different in this implementation. Adding "-lc_r" to the link command would produce a "ld" command line containing this: ... -lc_r /usr/lib/libgcc.a -lc /usr/lib/libgcc.a ... but this implementation of the "-pthread" option produces this: ... /usr/lib/libgcc.a -lc_r -lc /usr/lib/libgcc.a ... It would be possible to make them identical, but that doesn't fit as nicely into GCC's way of doing things. I don't think the ordering change will make any difference in practice.
* | Upgrade instructions that describe the 11-July-2000 import.obrien2001-01-042-6/+7
| |
* | Merge rev 1.2 (-fformat-extensions); 1.{7,9} (complain about -O2 on theobrien2001-01-031-4/+11
| | | | | | | | | | Alpha & FORCE_OPTIMIZATION_DOWNGRADE); 1.8 (-Wnon-const-format) into GCC 2.95.3(RC#1).
* | Merge gcc.2.95.3-test1 changes onto mainlineobrien2001-01-038-805/+4478
| |
* | Merge gcc 2.95.3-test1 changes onto vendor branchobrien2001-01-031-14/+14
| |
* | This commit was generated by cvs2svn to compensate for changes in r70635,obrien2001-01-0336-292/+1262
|\ \ | |/ | | | | which included commits to RCS files with non-trunk default branches.
| * Enlist the FreeBSD-CURRENT users as testers of GCC 2.95.3 Release Candidate #1obrien2001-01-0343-574/+1646
| |
* | Update the 3-June-2000 import delete list to keep mkdeps.[ch] whichobrien2000-12-011-1/+0
| | | | | | | | is needed by the new C preprocessor.
* | Comment an endif.obrien2000-12-011-1/+1
| |
* | Properly format the SUBTARGET_SWITCHES so that ``gcc -v --help'' printsobrien2000-11-111-6/+6
| | | | | | | | | | | | | | them out. PR: 19326 Submitted by: Naohiko Tsuji <yakisoba@f2.dion.ne.jp>
* | Remove the -kthread option that matched [sort of] the LinuxThreads port.obrien2000-11-071-3/+4
| | | | | | | | | | | | | | | | | | | | This option depended on bits not part of the base system and required people to install the LinuxThreads port in a manner non-consistent with the workings of our Ports Collection. The directions for properly linking with LinuxThreads are given by that port at install time. Requested by: jasone
* | Start using crt[in].o to adhear to the ELF ABIobrien2000-10-301-2/+2
| | | | | | | | (and crtstuff.c's requirements).
* | Helper listing file specs to remove from a FSF/GCC anoncvs checkoutobrien2000-10-131-0/+85
| | | | | | | | | | | | | | | | before importing new versions of GCC. This differs from FREEBSD-Xlist in that this is for use only with anoncvs checkouts, not tarball'ed releases [snapshots]. This delete list applies to the 3-June-2000 import.
* | Upgrade instructions that describe the 3-June-2000 import.obrien2000-10-131-0/+17
| |
* | Fix conflicts.obrien2000-05-274-258/+669
| |
* | This commit was generated by cvs2svn to compensate for changes in r60967,obrien2000-05-2718-76/+1339
|\ \ | |/ | | | | which included commits to RCS files with non-trunk default branches.
| * Bring in bug fixes from the GCC anoncvs server's "gcc-2_95-branch"obrien2000-05-2724-336/+2010
| | | | | | | | branch as of May 26th, 2000. [these are changes March 31 - May 24th]
* | Do not use DWARF2 unwinding mechanisms for C++ exceptions on all of ourobrien2000-05-223-12/+6
| | | | | | | | platforms.
* | ASM_DECLARE_OBJECT_NAME and ASM_FINISH_DECLARE_OBJECT are ELF MI routinesobrien2000-05-203-98/+54
| | | | | | | | | | | | | | | | | | to generate the special .type and .size directives which are used to set the corresponding fields of the linker symbol table entries in the ELF object file. As such they are not i386-specific and thus belong in our MI header. Otherwise on the Alpha we don't properly give the type and size of dynamic symbols. Bintuil versions past 2.9.1 warn of this and w/o this change, `ld' generates a lot of warnings during a `make world'.
* | Clarify that the "yields only last 2 digits of year in some locales" warningobrien2000-04-181-1/+1
| | | | | | | | | | | | does not apply to BSD. Submitted by: ache
* | From FSFChangeLog: (tfaff): Now a function, not a string. All users changed.obrien2000-04-181-2/+2
| | | | | | | | | | | | | | | | | | I did not catch this on the EGCS 1.1.x --> GCC 2.95 upgrade. So propogate this change to our custom hacks. PR: 15549 Submitted by: Naohiko Tsuji <yakisoba@osaka.interq.or.jp> Patrick Bihan-Faou <patrick@mindstep.com>
* | Sparc64 configure section.obrien2000-04-061-0/+8
| | | | | | | | Submitted by: steve
* | This commit was generated by cvs2svn to compensate for changes in r58809,obrien2000-03-304-2/+27
|\ \ | |/ | | | | which included commits to RCS files with non-trunk default branches.
| * Bring in bug fixes from the GCC anoncvs server's "gcc-2_95-branch"obrien2000-03-304-2/+27
| | | | | | | | branch as of March 29th, 2000. [these are changes March 7-29th]
* | Yell about -O2 on the Alpha. Forceably downgrade -O2+ ifobrien2000-03-261-0/+13
| | | | | | | | "FORCE_OPTIMIZATION_DOWNGRADE" is defined when GCC is built.
OpenPOWER on IntegriCloud