Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(330)

Issue 4426065: [google] GRTE static link spec

Can't Edit
Can't Publish+Mail
Start Review
Created:
13 years ago by Ollie Wild
Modified:
13 years ago
Reviewers:
Diego Novillo
CC:
gcc-patches_gcc.gnu.org
Visibility:
Public.

Description

commit 44417f1103b0823f950f539a38a5539b8ff74330 Author: Ollie Wild <aaw@google.com> Date: Mon Apr 25 21:55:44 2011 -0400 When using GRTE (libc) and linking statically, instead of just -lc add: -lc -lnss_borg -lnss_cache -lnss_dns -lnss_files -lresolv to the link by modifying LIB_SPEC to redirect to several new specs which are GRTE-specific. To be applied to google/integration branch. M gcc/config.gcc M gcc/config/i386/linux.h M gcc/config/i386/linux64.h A gcc/config/linux-grtev2.h Tested: Tested via buildit bootstrap and tests and by executing gcc with -v to validate supplied link options. ChangeLog: 2011-04-27 Ollie Wild <aaw@google.com> * config.gcc: Add GRTE detection. * config/i386/linux.h (LINUX_GRTE_EXTRA_SPECS): New macro. (SUBTARGET_EXTRA_SPECS): Add LINUX_GRTE_EXTRA_SPECS. * config/i386/linux64.h (LINUX_GRTE_EXTRA_SPECS): New macro. (SUBTARGET_EXTRA_SPECS): New macro with LINUX_GRTE_EXTRA_SPECS. * config/linux-grtev2.h: New file.

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+64 lines, -0 lines) Patch
M gcc/config.gcc View 2 chunks +6 lines, -0 lines 0 comments Download
M gcc/config/i386/linux.h View 1 chunk +6 lines, -0 lines 0 comments Download
M gcc/config/i386/linux64.h View 1 chunk +9 lines, -0 lines 0 comments Download
A gcc/config/linux-grtev2.h View 1 chunk +43 lines, -0 lines 0 comments Download

Messages

Total messages: 2
Ollie Wild
commit 44417f1103b0823f950f539a38a5539b8ff74330 Author: Ollie Wild <aaw@google.com> Date: Mon Apr 25 21:55:44 2011 -0400 When using ...
13 years ago (2011-04-27 19:13:15 UTC) #1
Diego Novillo
13 years ago (2011-04-27 19:18:14 UTC) #2
On Wed, Apr 27, 2011 at 15:13, Ollie Wild <aaw@google.com> wrote:

> ChangeLog:
> 2011-04-27  Ollie Wild  <aaw@google.com>
>
>        * config.gcc: Add GRTE detection.
>        * config/i386/linux.h (LINUX_GRTE_EXTRA_SPECS): New macro.
>        (SUBTARGET_EXTRA_SPECS): Add LINUX_GRTE_EXTRA_SPECS.
>        * config/i386/linux64.h (LINUX_GRTE_EXTRA_SPECS): New macro.
>        (SUBTARGET_EXTRA_SPECS): New macro with LINUX_GRTE_EXTRA_SPECS.
>        * config/linux-grtev2.h: New file.

OK.


Diego.
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b