Bug 4824

Summary: ld -O manual page option does not state which levels are supported
Product: binutils Reporter: Jonny Grant <jg>
Component: ldAssignee: unassigned
Status: RESOLVED FIXED    
Severity: minor CC: bug-binutils
Priority: P2    
Version: 2.17   
Target Milestone: ---   
Host: Target:
Build: Last reconfirmed:
Attachments: Extend the description of the linker's -O command line option

Description Jonny Grant 2007-07-22 11:20:22 UTC
I found the ld manual page online here:
http://sourceware.org/binutils/docs-2.17/ld/index.html

My query is, what are the level's ld supports? It's not quite clear from the
options section of the page: 
 
http://sourceware.org/binutils/docs-2.17/ld/Options.html#Options

-O level
	If level is a numeric values greater than zero ld optimizes the
output. This might take significantly longer and therefore probably should
only be enabled for the final binary.

Could the manual page be updated to show the optimization level supported please.

Also, I noticed the Title of the page was "Untitled", perhaps they can be
rexported with binutils/ld 2.17 docs in the title, to make it easier to find
the page on search engines etc.

Kind regards, Jon
Comment 1 Nick Clifton 2007-07-25 14:51:17 UTC
Created attachment 1930 [details]
Extend the description of the linker's -O command line option
Comment 2 Nick Clifton 2007-07-25 14:54:51 UTC
Hi Jon,

  I will apply the attached patch to update the documentation as requested.

  Unfortunately I do not know how to update the web page, but I will see if I
can pass the request on to someone who does.

Cheers
  Nick