Bug 9824 - Missing documentation for Linker Script Keywords
Summary: Missing documentation for Linker Script Keywords
Status: RESOLVED FIXED
Alias: None
Product: binutils
Classification: Unclassified
Component: ld (show other bugs)
Version: 2.19
: P2 normal
Target Milestone: ---
Assignee: unassigned
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-02-06 16:15 UTC by Rich Barton
Modified: 2009-04-09 16:05 UTC (History)
1 user (show)

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


Attachments
Document the ONLY_IF_RO, ONLY_IF_RW and CONSTANT linker script directives. (1.50 KB, patch)
2009-04-09 16:04 UTC, Nick Clifton
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Rich Barton 2009-02-06 16:15:21 UTC
Documentation for the following Linker Script syntax is missing from the
documentation.

ONLY_IF_RO
ONLY_IF_RW
CONSTANT

All of these are used in default ld scripts.
Comment 1 Nick Clifton 2009-04-09 16:04:39 UTC
Created attachment 3869 [details]
Document the ONLY_IF_RO, ONLY_IF_RW and CONSTANT linker script directives.
Comment 2 Nick Clifton 2009-04-09 16:05:14 UTC
Hi Rich,

  I am going to check in the uploaded patch to document these keywords.

Cheers
  Nick
Comment 3 cvs-commit@gcc.gnu.org 2009-04-09 16:07:10 UTC
Subject: Bug 9824

CVSROOT:	/cvs/src
Module name:	src
Changes by:	nickc@sourceware.org	2009-04-09 16:06:48

Modified files:
	ld             : ChangeLog ld.texinfo 

Log message:
	PR 9824
	* ld.texinfo (Output Section Constraint): New node.  Documents the
	ONLY_IF_RO and ONLY_IF_RW constraints.
	(Symbolic Constants): New node.  Documents the CONSTANT operator.

Patches:
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/ld/ChangeLog.diff?cvsroot=src&r1=1.1964&r2=1.1965
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/ld/ld.texinfo.diff?cvsroot=src&r1=1.240&r2=1.241