Bug 4824 - ld -O manual page option does not state which levels are supported
Summary: ld -O manual page option does not state which levels are supported
Status: RESOLVED FIXED
Alias: None
Product: binutils
Classification: Unclassified
Component: ld (show other bugs)
Version: 2.17
: P2 minor
Target Milestone: ---
Assignee: unassigned
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-07-22 11:20 UTC by Jonny Grant
Modified: 2007-07-25 14:54 UTC (History)
1 user (show)

See Also:
Host:
Target:
Build:
Last reconfirmed:


Attachments
Extend the description of the linker's -O command line option (519 bytes, patch)
2007-07-25 14:51 UTC, Nick Clifton
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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