1. Summary
  2. Files
  3. Support
  4. Report Spam
  5. Create account
  6. Log in

Changeset 2277 for trunk/ld/ld_script.h

Show
Ignore:
Timestamp:
12/03/11 23:32:36 (2 years ago)
Author:
kaiwang27
Message:

Implement linker script "AS_NEEDED" command.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/ld/ld_script.h

    r2275 r2277  
    8383        unsigned lda_provide;           /* provide */ 
    8484        unsigned lda_hidden;            /* hidden provide */ 
     85}; 
     86 
     87struct ld_script_input_file { 
     88        unsigned ldif_as_needed;        /* as_needed list */ 
     89        union { 
     90                char *ldif_name;        /* input file name */ 
     91                struct ld_script_list *ldif_ldl; /* input file list */ 
     92        } ldif_u; 
    8593}; 
    8694 
     
    174182void    ld_script_init(struct ld *); 
    175183void    ld_script_input(struct ld *, struct ld_script_list *); 
     184struct ld_script_input_file *ld_script_input_file(struct ld *, unsigned, 
     185    void *); 
    176186struct ld_script_list *ld_script_list(struct ld *, struct ld_script_list *, 
    177187    void *);