Support read-only data symbols in ABI

This also adapts existing symbol files
This commit is contained in:
Christian Helmuth 2017-09-28 14:49:22 +02:00
parent a67d24e509
commit 170b532892
6 changed files with 57 additions and 60 deletions

View File

@ -502,42 +502,42 @@ _ZTIs D 8
_ZTIt D 8
_ZTIx D 8
_ZTIy D 8
_ZTSN10__cxxabiv115__forced_unwindE R
_ZTSN10__cxxabiv116__enum_type_infoE R
_ZTSN10__cxxabiv117__class_type_infoE R
_ZTSN10__cxxabiv117__pbase_type_infoE R
_ZTSN10__cxxabiv119__foreign_exceptionE R
_ZTSN10__cxxabiv119__pointer_type_infoE R
_ZTSN10__cxxabiv120__function_type_infoE R
_ZTSN10__cxxabiv120__si_class_type_infoE R
_ZTSN10__cxxabiv121__vmi_class_type_infoE R
_ZTSN10__cxxabiv123__fundamental_type_infoE R
_ZTSN5Timer10ConnectionE R
_ZTSN6Genode11Sliced_heapE R
_ZTSN6Genode14Rpc_entrypointE R
_ZTSN6Genode14Signal_contextE R
_ZTSN6Genode14Timeout_threadE R
_ZTSN6Genode17Region_map_clientE R
_ZTSN6Genode17Rm_session_clientE R
_ZTSN6Genode18Allocator_avl_baseE R
_ZTSN6Genode23Alarm_timeout_schedulerE R
_ZTSN6Genode4HeapE R
_ZTSN6Genode4SlabE R
_ZTSN6Genode5AlarmE R
_ZTSN6Genode5Child14Initial_threadE R
_ZTSN6Genode5ChildE R
_ZTSN6Genode6OutputE R
_ZTSN6Genode6ThreadE R
_ZTSN6Genode7ConsoleE R
_ZTSN6Genode7Timeout5AlarmE R
_ZTSSt10bad_typeid R
_ZTSSt13bad_exception R
_ZTSSt16bad_array_length R
_ZTSSt20bad_array_new_length R
_ZTSSt8bad_cast R
_ZTSSt9bad_alloc R
_ZTSSt9exception R
_ZTSSt9type_info R
_ZTSN10__cxxabiv115__forced_unwindE R 32
_ZTSN10__cxxabiv116__enum_type_infoE R 33
_ZTSN10__cxxabiv117__class_type_infoE R 34
_ZTSN10__cxxabiv117__pbase_type_infoE R 34
_ZTSN10__cxxabiv119__foreign_exceptionE R 36
_ZTSN10__cxxabiv119__pointer_type_infoE R 36
_ZTSN10__cxxabiv120__function_type_infoE R 37
_ZTSN10__cxxabiv120__si_class_type_infoE R 37
_ZTSN10__cxxabiv121__vmi_class_type_infoE R 38
_ZTSN10__cxxabiv123__fundamental_type_infoE R 40
_ZTSN5Timer10ConnectionE R 232
_ZTSN6Genode11Sliced_heapE R 23
_ZTSN6Genode14Rpc_entrypointE R 26
_ZTSN6Genode14Signal_contextE R 26
_ZTSN6Genode14Timeout_threadE R 26
_ZTSN6Genode17Region_map_clientE R 29
_ZTSN6Genode17Rm_session_clientE R 29
_ZTSN6Genode18Allocator_avl_baseE R 30
_ZTSN6Genode23Alarm_timeout_schedulerE R 35
_ZTSN6Genode4HeapE R 15
_ZTSN6Genode4SlabE R 15
_ZTSN6Genode5AlarmE R 16
_ZTSN6Genode5Child14Initial_threadE R 32
_ZTSN6Genode5ChildE R 16
_ZTSN6Genode6OutputE R 17
_ZTSN6Genode6ThreadE R 17
_ZTSN6Genode7ConsoleE R 18
_ZTSN6Genode7Timeout5AlarmE R 24
_ZTSSt10bad_typeid R 15
_ZTSSt13bad_exception R 18
_ZTSSt16bad_array_length R 21
_ZTSSt20bad_array_new_length R 25
_ZTSSt8bad_cast R 12
_ZTSSt9bad_alloc R 13
_ZTSSt9exception R 13
_ZTSSt9type_info R 13
_ZTVN10__cxxabiv115__forced_unwindE D 1
_ZTVN10__cxxabiv115__forced_unwindE D 20
_ZTVN10__cxxabiv116__enum_type_infoE D 2

View File

@ -175,7 +175,7 @@ endif
sed -e "s/^\(\w\+\) D \(\w\+\)\$$/.data; .global \1; .type \1,%object; .size \1,\2; \1:/p" \
-e "s/^\(\w\+\) V/.data; .weak \1; .type \1,%object; \1:/p" \
-e "s/^\(\w\+\) T/.text; .global \1; .type \1,%function; \1:/p" \
-e "s/^\(\w\+\) R/.section .rodata; .global \1; \1:/p" \
-e "s/^\(\w\+\) R \(\w\+\)\$$/.section .rodata; .global \1; .type \1,%object; .size \1,\2; \1:/p" \
-e "s/^\(\w\+\) W/.text; .weak \1; .type \1,%function; \1:/p" \
-e "s/^\(\w\+\) B \(\w\+\)\$$/.bss; .global \1; .type \1,%object; .size \1,\2; \1:/p" \
-e "s/^\(\w\+\) U/.text; .global \1; $(ASM_SYM_DEPENDENCY)/p" \

View File

@ -1,21 +1,21 @@
_ItL_aT R
_ItL_atanhi R
_ItL_atanlo R
_ItL_pS0 R
_ItL_pS1 R
_ItL_pS2 R
_ItL_pS3 R
_ItL_pS4 R
_ItL_pS5 R
_ItL_pS6 R
_ItL_pi_lo R
_ItL_qS1 R
_ItL_qS2 R
_ItL_qS3 R
_ItL_qS4 R
_ItL_qS5 R
_ItL_aT R 208
_ItL_atanhi R 64
_ItL_atanlo R 64
_ItL_pS0 R 16
_ItL_pS1 R 16
_ItL_pS2 R 16
_ItL_pS3 R 16
_ItL_pS4 R 16
_ItL_pS5 R 16
_ItL_pS6 R 16
_ItL_pi_lo R 16
_ItL_qS1 R 16
_ItL_qS2 R 16
_ItL_qS3 R 16
_ItL_qS4 R 16
_ItL_qS5 R 16
__exp__D T
__fe_dfl_env R
__fe_dfl_env R 32
__fedisableexcept T
__feenableexcept T
__has_sse D 4

View File

@ -150,7 +150,7 @@ _nc_tic_expand T
_nc_tic_written T
_nc_timed_wait T
_nc_tinfo_cmdch T
_nc_tinfo_fkeys R
_nc_tinfo_fkeys R 2416
_nc_tparm_analyze T
_nc_tparm_err B 4
_nc_tracing B 4

View File

@ -21,7 +21,7 @@ deflateResetKeep T
deflateSetDictionary T
deflateSetHeader T
deflateTune T
deflate_copyright R
deflate_copyright R 68
get_crc_table T
gz_error T
gzbuffer T
@ -73,7 +73,7 @@ inflateSetDictionary T
inflateSync T
inflateSyncPoint T
inflateUndermine T
inflate_copyright R
inflate_copyright R 47
inflate_fast T
inflate_table T
uncompress T

View File

@ -4,14 +4,11 @@ _Z4nouxv T
_Z5sysiov T
_ZN4Libc10vfs_configEv T
_ZN4Libc6configEv T
__bss_start R
__eh_frame_start__ R
__exidx_end D 0
__exidx_start D 0
__l4sys_invoke_indirect D 0
_ctors_end D 0
_ctors_start D 0
_edata R
_end B 0
_init T
_parent_cap D 0