Changeset 39f48c9 in rtems-tools for linkers/rtems-ld.cpp


Ignore:
Timestamp:
Jul 26, 2013, 9:45:01 AM (6 years ago)
Author:
Peng Fan <van.freenix@…>
Branches:
4.10, 4.11, master
Children:
347c9b5
Parents:
76d3b89
Message:

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.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • linkers/rtems-ld.cpp

    r76d3b89 r39f48c9  
    3939#include <rld.h>
    4040#include <rld-cc.h>
     41#include <rld-rap.h>
    4142#include <rld-outputter.h>
    4243#include <rld-process.h>
     
    7071  { "march",       required_argument,      NULL,           'a' },
    7172  { "mcpu",        required_argument,      NULL,           'c' },
     73  { "rap-strip",   no_argument,            NULL,           'S' },
    7274  { NULL,          0,                      NULL,            0 }
    7375};
     
    110112            << " -a march  : machine architecture (also --march)" << std::endl
    111113            << " -c cpu    : machine architecture's CPU (also --mcpu)" << std::endl
     114            << " -S        : do not include file details (also --rap-strip)" << std::endl
    112115            << " -Wl,opts  : link compatible flags, ignored" << std::endl
    113116            << "Output Formats:" << std::endl
     
    273276        case 'b':
    274277          base_name = optarg;
     278          break;
     279
     280        case 'S':
     281          rld::rap::add_obj_details = false;
    275282          break;
    276283
Note: See TracChangeset for help on using the changeset viewer.