public inbox for binutils@sourceware.org
 help / color / mirror / Atom feed
From: Dave Korn <dave.korn.cygwin@gmail.com>
To: Kai Tietz <ktietz70@googlemail.com>
Cc: binutils@sourceware.org, Alan Modra <amodra@gmail.com>
Subject: Re: SEC_NEVER_LOAD cleanup
Date: Fri, 15 Oct 2010 22:27:00 -0000	[thread overview]
Message-ID: <4CB8DAAE.2010100@gmail.com> (raw)
In-Reply-To: <AANLkTinw_juLSrGQ7nisdA2a-7Y7tp-g8ex7bTesMbCX@mail.gmail.com>

On 15/10/2010 21:36, Kai Tietz wrote:

> Well, you can add this section to the comparison for debugging section
> in bfd's coffcode.h (like done there for the others - .debug*,
> comment, etc). Should work then.

  You mean like the attached?  Didn't work.  It's specifically this hunk here
that's losing the flag and causing the later failure:

> @@ -3491,7 +3493,7 @@ map_input_to_output_sections
>  	      flags = SEC_HAS_CONTENTS;
>  	      break;
>  	    case noload_section:
> -	      flags = SEC_HAS_CONTENTS | SEC_NEVER_LOAD;
> +	      flags = SEC_NEVER_LOAD;
>  	      break;
>  	    }
>  	  if (os->bfd_section == NULL)

from ldlang.c

    cheers,
      DaveK

  reply	other threads:[~2010-10-15 22:27 UTC|newest]

Thread overview: 23+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-09-16  0:03 Alan Modra
2010-10-15 20:31 ` Dave Korn
2010-10-15 20:36   ` Kai Tietz
2010-10-15 22:27     ` Dave Korn [this message]
2010-10-15 22:28       ` Dave Korn
2010-10-16  2:36   ` Alan Modra
2010-10-16 20:08     ` Kai Tietz
2010-10-16 20:19       ` Dave Korn
2010-10-17 10:32         ` Kai Tietz
2010-10-17 16:40           ` Dave Korn
2010-10-17 19:18             ` Kai Tietz
2010-10-17 23:29       ` Alan Modra
2010-10-18  6:22         ` Kai Tietz
2010-10-18 13:44           ` Alan Modra
2010-10-18 14:39             ` Kai Tietz
2010-10-19 15:05               ` Kai Tietz
2010-10-20 14:48                 ` Dave Korn
2010-10-26 12:46                   ` Alan Modra
2010-10-26 16:56                     ` Dave Korn
2010-11-05  4:36                     ` Dave Korn
2010-11-05  5:58                       ` Alan Modra
2010-11-05  7:24                         ` Dave Korn
2010-10-21 23:32     ` Alan Modra

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=4CB8DAAE.2010100@gmail.com \
    --to=dave.korn.cygwin@gmail.com \
    --cc=amodra@gmail.com \
    --cc=binutils@sourceware.org \
    --cc=ktietz70@googlemail.com \
    /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).