This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [Patch][ld] ELF: update ld man page on `--gc-sections`


On Thu, Oct 25, 2018 at 09:21:41PM +0200, Christoph Conrads wrote:
> A recent patch fixes the behavior of ld when `--gc-sections` and
> `--gc-keep-exported` are both given on the linker command line [1].
> This commit below complements the patch and updates the ld man page.

Thanks, applied.

> This is my first binutils contribution and I will happily fix submission issues.

There were two small issues to bear in mind for future patches.  We
normally expect a ChangeLog entry in the body of your email, so I made
one saying:

2018-10-26  Christoph Conrads  <christoph.conrads@fluent.ai>

	* ld.texi (--gc-sections): Update.

Secondly, your email client wraps long lines

$ git am /tmp/christoph.conrads
Applying: ELF: update ld man page on `--gc-sections`
error: corrupt patch at line 6
Patch failed at 0001 ELF: update ld man page on `--gc-sections`

-- 
Alan Modra
Australia Development Lab, IBM


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]