summaryrefslogtreecommitdiffstats
path: root/linkers/rld-rap.h
diff options
context:
space:
mode:
authorPeng Fan <van.freenix@gmail.com>2013-07-26 17:45:01 +0800
committerPeng Fan <van.freenix@gmail.com>2013-07-26 17:45:01 +0800
commit39f48c9047be57df78b95d660b568283afb46da0 (patch)
tree174fb48ecaf840e4af346c1bdf20ffe58f16ecf7 /linkers/rld-rap.h
parentcollect 'STT_NOTYPE' symbols (diff)
downloadrtems-tools-39f48c9047be57df78b95d660b568283afb46da0.tar.bz2
Add object file details to RAP format
This change added the object file details to the RAP format so aid debugging support. The information can be optionally stripped for production images not needed this information if space is an issue,with '--rap-strip' assigned to rtems-ld.
Diffstat (limited to 'linkers/rld-rap.h')
-rw-r--r--linkers/rld-rap.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/linkers/rld-rap.h b/linkers/rld-rap.h
index df74bbe..b612e49 100644
--- a/linkers/rld-rap.h
+++ b/linkers/rld-rap.h
@@ -32,6 +32,11 @@ namespace rld
namespace rap
{
/**
+ * Output details or not.
+ */
+ extern bool add_obj_details;
+
+ /**
* The RAP relocation bit masks.
*/
#define RAP_RELOC_RELA (1UL << 31)