public inbox for binutils@sourceware.org
 help / color / mirror / Atom feed
From: Nick Clifton <nickc@redhat.com>
To: "H. J. Lu" <hjl@lucon.org>
Cc: binutils@sources.redhat.com
Subject: Re: PATCH: PR 797: Alignment in empty section changes the output layout
Date: Tue, 17 May 2005 15:13:00 -0000	[thread overview]
Message-ID: <428A0926.70807@redhat.com> (raw)
In-Reply-To: <20050507191607.GA10070@lucon.org>

Hi H. J.

> bfd/
> 2005-05-07  H.J. Lu  <hongjiu.lu@intel.com>
> 
> 	PR 797
> 	* elf32-i386.c (elf_i386_size_dynamic_sections): Also remove
> 	empty sdynbss section.
> 	* elf64-x86-64.c (elf64_x86_64_size_dynamic_sections): Likewise.
> 
> ld/
> 2005-05-07  H.J. Lu  <hongjiu.lu@intel.com>
> 
> 	PR 797
> 	* ldexp.c (exp_fold_tree_1): Renamed from exp_fold_tree and
> 	take take a bfd_boolean, mark_used. Ignore assert failure if
> 	mark_used is TRUE.
> 	(exp_fold_tree) Call exp_fold_tree_1 with mark_used == FALSE.
> 	(exp_fold_tree_no_dot): Updated to take a bfd_boolean,
> 	mark_used and pass down.
> 	(fold_unary): Likewise.
> 	(fold_binary): Likewise.
> 	(fold_trinary): Likewise.
> 	(exp_binop): Add FALSE to call to exp_fold_tree_no_dot.
> 	(exp_trinop): Likewise.
> 	(exp_unop): Likewise.
> 	(exp_nameop): Likewise.
> 	(exp_get_vma): Likewise.
> 	(exp_get_fill): Likewise.
> 	(exp_get_abs_int): Likewise.
> 	(fold_name): Likewise. Set SEC_KEEP in output section flags.
> 	(exp_mark_used_section): New.
> 
> 	* ldexp.h (exp_mark_used_section): New.
> 
> 	* ldlang.c (lang_output_section_statement_lookup_1): Set the
> 	ignored field to FALSE.
> 	(lang_mark_used_section_1): New.
> 	(lang_mark_used_section): Call lang_mark_used_section_1.
> 	(strip_excluded_output_sections): Call lang_mark_used_section
> 	and check for unused sections.
> 	(lang_size_sections_1): Skip an output section if it should
> 	be ignored.
> 	(lang_do_assignments_1): Likewise.
> 	(lang_process): Don't call lang_mark_used_section here.
> 
> 	* ldlang.h (lang_output_section_statement_type): Change
> 	all_input_readonly to bitfield. Add ignored.

Approved - please apply - but could also generate a test case to make 
sure that this problem does not reoccur.

Cheers
   Nick

  reply	other threads:[~2005-05-17 15:10 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-05-04 19:53 H. J. Lu
2005-05-05  3:48 ` Alan Modra
2005-05-05  4:52   ` H. J. Lu
2005-05-05  5:35     ` Alan Modra
2005-05-05  5:56       ` H. J. Lu
2005-05-05  6:33         ` Alan Modra
2005-05-05 16:12           ` H. J. Lu
2005-05-06  6:20             ` Alan Modra
2005-05-07 19:16               ` H. J. Lu
2005-05-07 20:08                 ` H. J. Lu
2005-05-17 15:13                   ` Nick Clifton [this message]
  -- strict thread matches above, loose matches on Subject: below --
2005-03-24 11:45 H. J. Lu
2005-03-25  2:22 ` H. J. Lu
2005-03-29  4:21   ` Alan Modra
2005-03-29  7:13     ` H. J. Lu
2005-03-29  8:12       ` Alan Modra
2005-03-30 16:30         ` H. J. Lu

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=428A0926.70807@redhat.com \
    --to=nickc@redhat.com \
    --cc=binutils@sources.redhat.com \
    --cc=hjl@lucon.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).