diff options
| -rw-r--r-- | gcc/ChangeLog | 5 | ||||
| -rw-r--r-- | gcc/config/darwin.h | 6 |
2 files changed, 9 insertions, 2 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index b093e54..4c07f72 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,5 +1,10 @@ 2010-11-13 Iain Sandoe <iains@gcc.gnu.org> + * config/darwin.h (LINK_COMMAND_SPEC_A): Update for changes to lto + switches. + +2010-11-13 Iain Sandoe <iains@gcc.gnu.org> + * dwarf2out.c (macinfo_entry): New struct. (output_comp_unit): Emit the section start label here and flag that we will emit an info section. diff --git a/gcc/config/darwin.h b/gcc/config/darwin.h index 5a4be8a..c80c261 100644 --- a/gcc/config/darwin.h +++ b/gcc/config/darwin.h @@ -170,12 +170,14 @@ extern GTY(()) int darwin_ms_struct; #define LINK_COMMAND_SPEC_A \ "%{!fdump=*:%{!fsyntax-only:%{!c:%{!M:%{!MM:%{!E:%{!S:\ - %(linker) %l %X %{d} %{s} %{t} %{Z} %{u*} \ + %(linker) \ + %{flto*:%<fcompare-debug*} \ + %{flto*} \ + %l %X %{d} %{s} %{t} %{Z} %{u*} \ %{A} %{e*} %{m} %{r} \ %{o*}%{!o:-o a.out} \ %{!A:%{!nostdlib:%{!nostartfiles:%S}}} \ %{L*} %(link_libgcc) %o %{fprofile-arcs|fprofile-generate*|coverage:-lgcov} \ - %{flto} %{fwhopr} \ %{fopenmp|ftree-parallelize-loops=*: \ %{static|static-libgcc|static-libstdc++|static-libgfortran: libgomp.a%s; : -lgomp } } \ %{!nostdlib:%{!nodefaultlibs: %(link_ssp) %G %L }} \ |
