public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "iains at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/48108] lto should be containerized in a single mach-o section on darwin
Date: Sun, 13 Nov 2011 16:10:00 -0000	[thread overview]
Message-ID: <bug-48108-4-NuUfOOjxBT@http.gcc.gnu.org/bugzilla/> (raw)
In-Reply-To: <bug-48108-4@http.gcc.gnu.org/bugzilla/>

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48108

--- Comment #23 from Iain Sandoe <iains at gcc dot gnu.org> 2011-11-13 13:58:47 UTC ---
Author: iains
Date: Sun Nov 13 13:58:43 2011
New Revision: 181336

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=181336
Log:

gcc:

    PR target/48108
    Backport from mainline r180523
    * config/darwin.c (top level): Amend comments concerning LTO output.
    (lto_section_num): New variable.  (darwin_lto_section_e): New GTY.
    (LTO_SECTS_SECTION, LTO_INDEX_SECTION): New.
    (LTO_NAMES_SECTION): Rename.
    (darwin_asm_named_section): Record LTO section counts and switches
    in a vec of darwin_lto_section_e.
    (darwin_file_start): Remove unused code.
    (darwin_file_end): Put an LTO section termination label.  Handle
    output of the wrapped LTO sections, index and names table.

libiberty:

    PR target/48108
    Backport from mainline r180523
    * simple-object-mach-o.c  (GNU_WRAPPER_SECTS, GNU_WRAPPER_INDEX,
    GNU_WRAPPER_NAMES): New macros.
    (simple_object_mach_o_segment): Handle wrapper scheme.
    (simple_object_mach_o_write_section_header): Allow the segment name
    to be supplied.
    (simple_object_mach_o_write_segment): Handle wrapper scheme.  Ensure
    that the top-level segment name in the load command is empty.
    (simple_object_mach_o_write_to_file): Determine the number of
    sections during segment output, use that in writing the header.


Modified:
    branches/gcc-4_6-branch/gcc/ChangeLog
    branches/gcc-4_6-branch/gcc/config/darwin.c
    branches/gcc-4_6-branch/libiberty/ChangeLog
    branches/gcc-4_6-branch/libiberty/simple-object-mach-o.c


  parent reply	other threads:[~2011-11-13 14:00 UTC|newest]

Thread overview: 27+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-03-14  3:07 [Bug lto/48108] New: " howarth at nitro dot med.uc.edu
2011-03-14  3:10 ` [Bug lto/48108] " howarth at nitro dot med.uc.edu
2011-03-14  3:13 ` mikestump at comcast dot net
2011-03-14  9:01 ` iains at gcc dot gnu.org
2011-03-14 11:26 ` [Bug target/48108] " rguenth at gcc dot gnu.org
2011-03-14 23:34 ` mikestump at comcast dot net
2011-03-17 12:04 ` howarth at nitro dot med.uc.edu
2011-05-30 12:11 ` vincenzo.innocente at cern dot ch
2011-05-30 12:26 ` dominiq at lps dot ens.fr
2011-05-30 12:58 ` vincenzo.innocente at cern dot ch
2011-05-30 13:12 ` dominiq at lps dot ens.fr
2011-05-30 15:17 ` howarth at nitro dot med.uc.edu
2011-05-30 15:22 ` howarth at nitro dot med.uc.edu
2011-05-30 16:02 ` iains at gcc dot gnu.org
2011-07-07 10:23 ` iains at gcc dot gnu.org
2011-07-08 10:34 ` iains at gcc dot gnu.org
2011-07-08 11:20 ` howarth at nitro dot med.uc.edu
2011-07-10  4:41 ` fang at csl dot cornell.edu
2011-08-05 18:52 ` howarth at nitro dot med.uc.edu
2011-08-09 12:59 ` iains at gcc dot gnu.org
2011-09-25  9:57 ` iains at gcc dot gnu.org
2011-09-26  2:16 ` howarth at nitro dot med.uc.edu
2011-09-27 14:56 ` howarth at nitro dot med.uc.edu
2011-10-26 12:39 ` iains at gcc dot gnu.org
2011-10-26 13:29 ` howarth at nitro dot med.uc.edu
2011-11-13 16:10 ` iains at gcc dot gnu.org [this message]
2011-11-13 16:11 ` iains at gcc dot gnu.org

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=bug-48108-4-NuUfOOjxBT@http.gcc.gnu.org/bugzilla/ \
    --to=gcc-bugzilla@gcc.gnu.org \
    --cc=gcc-bugs@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).