diff options
| author | Vineet Gupta <Vineet.Gupta1@synopsys.com> | 2017-03-31 11:22:20 -0700 | 
|---|---|---|
| committer | Waldemar Brodkorb <wbx@openadk.org> | 2017-04-01 19:31:23 +0200 | 
| commit | 9f1d9a5ab25a7cb43bae84d6d7d8c96538b3a783 (patch) | |
| tree | 5ef9ad176ab8484ccab612d5a20f82b06f3d0d7a /libpthread/nptl/sysdeps/pthread/pthread_once.c | |
| parent | cde74b83f9b204bf56f304224654e4993dc56efc (diff) | |
ldso: don't discard sysmbols for DODEBUG builds
the --discard-* toggles take away the symbols which comes in the way
when staring at objdumps for debugging low level issues
So don't discard symbols for DODEBUG builds
before
-----
    3388:	j_s.d	[blink]
    338a:	add_s	sp,sp,0x18
    338c:	b.d	332c <_dl_add_elf_hash_table+0x50>
    3390:	mov_s	r2,0
    3392:	nop_s
    3394:	push_s	blink		<--- function not called out
    3396:	st.aw	r13,[sp,-20]
    339a:	std	r14r15,[sp,4]
    339e:	std	r16r17,[sp,12]
after
-----
    3388:	j_s.d	[blink]
    338a:	add_s	sp,sp,0x18
    338c:	b.d	332c <_dl_add_elf_hash_table+0x50>
    3390:	mov_s	r2,0
    3392:	nop_s
  00003394 <add_ldso.isra.9>:
    3394:	push_s	blink
    3396:	st.aw	r13,[sp,-20]
    339a:	std	r14r15,[sp,4]
    339e:	std	r16r17,[sp,12]
Signed-off-by: Vineet Gupta <vgupta@synopsys.com>
Diffstat (limited to 'libpthread/nptl/sysdeps/pthread/pthread_once.c')
0 files changed, 0 insertions, 0 deletions
