Changeset 6506aa1 in rtems-tools for linkers/rld-config.h


Ignore:
Timestamp:
Sep 8, 2014, 6:06:48 AM (7 years ago)
Author:
Chris Johns <chrisj@…>
Branches:
4.10, 4.11, 5, master
Children:
17c8364
Parents:
b28e8b3
Message:

RTEMS trace linker builds trace applications.

The trace linker builds the both_hello example in examples-v2.

Move the various string support functions into a C++ file and stop being
inlined. Make them return const std::string.

Add ld support to rld-cc.

Add search path support to rld-config so installed common files can be used.

Fix the path bugs.

Add an absolute path function to rld-path.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • linkers/rld-config.h

    rb28e8b3 r6506aa1  
    9696       * error is thrown.
    9797       */
    98       std::string get_record_item (const std::string& name) const;
     98      const std::string get_record_item (const std::string& name) const;
    9999
    100100      /**
     
    123123       * Construct an empty configuration.
    124124       */
    125       config();
     125      config(const std::string& search_path = "");
     126
     127      /**
     128       * Desctruct the configuration object.
     129       */
    126130      virtual ~config();
     131
     132      /**
     133       * Set the search path.
     134       */
     135      void set_search_path (const std::string& search_path);
    127136
    128137      /**
     
    155164    private:
    156165
    157       paths    paths_; /**< The path's of the loaded files. */
    158       sections secs;   /**< The sections loaded from configuration files */
     166      paths    search; //< The paths to search for config files in.
     167      paths    paths_; //< The path's of the loaded files.
     168      sections secs;   //< The sections loaded from configuration files
    159169    };
    160170
Note: See TracChangeset for help on using the changeset viewer.