Changeset 24984


Ignore:
Timestamp:
2011-01-14T11:49:41+01:00 (7 years ago)
Author:
jow
Message:

[tools] mklibs: import missing symbol workaround from Freetz project (#7590)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tools/mklibs/patches/009-uclibc_libgcc_link.patch

    r24283 r24984  
    99             symbols.update(library_symbols_used[library]) 
    1010  
    11 @@ -575,6 +576,7 @@ while 1: 
     11@@ -575,6 +576,10 @@ while 1: 
    1212                 symbols.add(ProvidedSymbol('__uClibc_init', None, None, True)) 
    1313                 symbols.add(ProvidedSymbol('__uClibc_fini', None, None, True)) 
    1414                 extra_flags.append("-Wl,-init,__uClibc_init") 
    1515+                libgcc_link = "-lgcc_s_pic" 
     16+ 
     17+            if soname in ("libm.so.0"): 
     18+                libgcc_link = "-lgcc_s_pic" 
    1619  
    1720             map_file = find_pic_map(library) 
    1821             if map_file: 
    19 @@ -590,7 +592,7 @@ while 1: 
     22@@ -590,7 +595,7 @@ while 1: 
    2023             cmd.append(pic_file) 
    2124             cmd.extend(extra_post_obj) 
Note: See TracChangeset for help on using the changeset viewer.