Changeset c46980e in rtems-tools for linkers/rld-outputter.h


Ignore:
Timestamp:
Nov 21, 2012, 2:04:47 AM (7 years ago)
Author:
Chris Johns <chrisj@…>
Branches:
4.10, 4.11, master
Children:
43ec8b0
Parents:
b770b0c
Message:

Add entry point support.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • linkers/rld-outputter.h

    rb770b0c rc46980e  
    4545     * Output the object file list as a string.
    4646     *
     47     * @param entry The name of the entry point symbol.
    4748     * @param dependents The list of dependent object files
    4849     * @param cache The file cache for the link. Includes the object list
     
    5051     * @return std::string The list as a text string.
    5152     */
    52     std::string script_text (rld::files::object_list& dependents,
    53                              rld::files::cache&       cache);
     53    std::string script_text (const std::string&        entry,
     54                             const files::object_list& dependents,
     55                             const files::cache&       cache);
    5456    /**
    5557     * Output the object files as an archive format file with the metadata as
     
    5759     *
    5860     * @param name The name of the archive.
     61     * @param entry The name of the entry point symbol.
    5962     * @param dependents The list of dependent object files
    6063     * @param cache The file cache for the link. Includes the object list
    6164     *              the user requested.
    6265     */
    63     void archive (const std::string&       name,
    64                   rld::files::object_list& dependents,
    65                   rld::files::cache&       cache);
     66    void archive (const std::string&        name,
     67                  const std::string&        entry,
     68                  const files::object_list& dependents,
     69                  const files::cache&       cache);
    6670
    6771    /**
     
    6973     *
    7074     * @param name The name of the script.
     75     * @param entry The name of the entry point symbol.
    7176     * @param dependents The list of dependent object files
    7277     * @param cache The file cache for the link. Includes the object list
    7378     *              the user requested.
    7479     */
    75     void script (const std::string&       name,
    76                  rld::files::object_list& dependents,
    77                  rld::files::cache&       cache);
     80    void script (const std::string&        name,
     81                 const std::string&        entry,
     82                 const files::object_list& dependents,
     83                 const files::cache&       cache);
    7884
    7985    /**
     
    8187     *
    8288     * @param name The name of the script.
     89     * @param entry The name of the entry point symbol.
    8390     * @param dependents The list of dependent object files
    8491     * @param cache The file cache for the link. Includes the object list
    8592     *              the user requested.
    8693     */
    87     void application (const std::string&  name,
    88                       files::object_list& dependents,
    89                       files::cache&       cache);
     94    void application (const std::string&        name,
     95                      const std::string&        entry,
     96                      const files::object_list& dependents,
     97                      const files::cache&       cache);
    9098
    9199  }
Note: See TracChangeset for help on using the changeset viewer.