diff options
author | Hans-Peter Nilsson <hp@axis.com> | 2000-11-13 21:22:10 +0000 |
---|---|---|
committer | Hans-Peter Nilsson <hp@gcc.gnu.org> | 2000-11-13 21:22:10 +0000 |
commit | d9068c61428f89ce1db4bae6f5adb6acbd8b5b6b (patch) | |
tree | fd2583d1bff6b5fbb21a491a9da567cce4465262 /gcc/collect2.c | |
parent | 51d61f8686efee2132bf91c5a89993c1cbf103c7 (diff) | |
download | gcc-d9068c61428f89ce1db4bae6f5adb6acbd8b5b6b.zip gcc-d9068c61428f89ce1db4bae6f5adb6acbd8b5b6b.tar.gz gcc-d9068c61428f89ce1db4bae6f5adb6acbd8b5b6b.tar.bz2 |
c-lex.c (cb_leave_file): Harmonize conditions and order of statements to those of process_directive for...
* c-lex.c (cb_leave_file): Harmonize conditions and order of
statements to those of process_directive for (action == act_pop).
* collect2.c (main): Pass on -B options from COLLECT_GCC_OPTIONS.
* local-alloc.c (equiv_init_movable_p): References to CC0 are not
movable.
From-SVN: r37438
Diffstat (limited to 'gcc/collect2.c')
-rw-r--r-- | gcc/collect2.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/gcc/collect2.c b/gcc/collect2.c index 8277723..49cb0e7 100644 --- a/gcc/collect2.c +++ b/gcc/collect2.c @@ -1096,6 +1096,15 @@ main (argc, argv) *c_ptr++ = obstack_copy0 (&permanent_obstack, q, strlen (q)); if (strncmp (q, "-shared", sizeof ("-shared") - 1) == 0) shared_obj = 1; + if (*q == '-' && q[1] == 'B') + { + *c_ptr++ = obstack_copy0 (&permanent_obstack, q, strlen (q)); + if (q[2] == 0) + { + q = extract_string (&p); + *c_ptr++ = obstack_copy0 (&permanent_obstack, q, strlen (q)); + } + } } obstack_free (&temporary_obstack, temporary_firstobj); *c_ptr++ = "-fno-exceptions"; |