ALT Linux Team development discussions
 help / color / mirror / Atom feed
From: Alexey Tourbin <at@altlinux.ru>
To: ALT Devel discussion list <devel@lists.altlinux.org>
Subject: Re: [devel] Q: debuginfo strip controls & deps
Date: Sat, 5 Feb 2011 17:52:40 +0300
Message-ID: <20110205145240.GC11374@altlinux.org> (raw)
In-Reply-To: <20110205140056.GC7246@altlinux.org>

On Sat, Feb 05, 2011 at 05:00:57PM +0300, Dmitry V. Levin wrote:
> Будет так:
> $ readelf -aW /lib64/libc.so.6 |fgrep IFUNC
>     39: 0000000000085c50    55 IFUNC   WEAK   DEFAULT   12 strcasestr@@GLIBC_2.2.5
>     90: 000000000007b8c0    41 IFUNC   GLOBAL DEFAULT   12 strcpy@@GLIBC_2.2.5
>    100: 0000000000080d40    41 IFUNC   GLOBAL DEFAULT   12 __rawmemchr@@GLIBC_2.2.5
>    173: 000000000007c090    60 IFUNC   GLOBAL DEFAULT   12 strncmp@@GLIBC_2.2.5
>    216: 000000000007d950    41 IFUNC   GLOBAL DEFAULT   12 strrchr@@GLIBC_2.2.5
>    309: 000000000007f920    41 IFUNC   WEAK   DEFAULT   12 stpncpy@@GLIBC_2.2.5
>    387: 000000000007d920    41 IFUNC   GLOBAL DEFAULT   12 strncpy@@GLIBC_2.2.5
>    518: 000000000007da20    41 IFUNC   GLOBAL DEFAULT   12 strpbrk@@GLIBC_2.2.5
>    541: 000000000007ddb0    41 IFUNC   GLOBAL DEFAULT   12 strspn@@GLIBC_2.2.5
>    602: 000000000007f920    41 IFUNC   GLOBAL DEFAULT   12 __stpncpy@@GLIBC_2.2.5
>    751: 000000000007be80    41 IFUNC   GLOBAL DEFAULT   12 strlen@@GLIBC_2.2.5
>    836: 00000000000848b0    55 IFUNC   GLOBAL DEFAULT   12 strstr@@GLIBC_2.2.5
>    841: 000000000007b9d0    41 IFUNC   GLOBAL DEFAULT   12 strcspn@@GLIBC_2.2.5
>   1219: 00000000000c3440    55 IFUNC   GLOBAL DEFAULT   12 __sched_cpucount@@GLIBC_2.6
>   1401: 000000000007a310    41 IFUNC   WEAK   DEFAULT   12 index@@GLIBC_2.2.5
>   1656: 000000000007a310    41 IFUNC   GLOBAL DEFAULT   12 strchr@@GLIBC_2.2.5
>   1695: 000000000007d950    41 IFUNC   WEAK   DEFAULT   12 rindex@@GLIBC_2.2.5
>   1718: 000000000007f810    41 IFUNC   GLOBAL DEFAULT   12 __stpcpy@@GLIBC_2.2.5
>   1758: 0000000000085c50    55 IFUNC   GLOBAL DEFAULT   12 __strcasestr@@GLIBC_2.2.5
>   1994: 0000000000080d40    41 IFUNC   GLOBAL DEFAULT   12 rawmemchr@@GLIBC_2.2.5
>   2023: 000000000007a3c0    60 IFUNC   GLOBAL DEFAULT   12 strcmp@@GLIBC_2.2.5
>   2055: 000000000007f810    41 IFUNC   WEAK   DEFAULT   12 stpcpy@@GLIBC_2.2.5

Интересно.  В этом списке есть strcmp, но нет memcmp.  Скорее всего,
strcmp будет работать даже быстрее, чем memcmp.  Так что нет смысла
заниматься оптипизацией и заменять strcmp на memcmp (когда длина строки
уже известна).

> 
> -- 
> ldv


  reply	other threads:[~2011-02-05 14:52 UTC|newest]

Thread overview: 30+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-01-31 15:23 Alexey Tourbin
2011-01-31 15:46 ` Dmitry V. Levin
2011-02-03  9:20   ` Alexey Tourbin
2011-02-03  9:55     ` REAL
2011-02-03 10:16       ` Alexey Tourbin
2011-02-03 10:45         ` REAL
2011-02-04 17:40     ` Dmitry V. Levin
2011-02-04 19:24       ` Dmitry V. Levin
2011-02-04 20:38       ` Alexey Tourbin
2011-02-04 22:21         ` Dmitry V. Levin
2011-02-04 23:00           ` Alexey Tourbin
2011-02-05  5:41             ` Alexey Tourbin
2011-02-05 14:00               ` Dmitry V. Levin
2011-02-05 14:52                 ` Alexey Tourbin [this message]
2011-02-06 10:01                 ` Alexey Tourbin
2011-02-06 21:19                   ` Dmitry V. Levin
2011-02-05 21:11               ` Alexey Tourbin
2011-02-06  2:05               ` Alexey Tourbin
2011-02-06 21:22                 ` Dmitry V. Levin
2011-02-06 21:29                   ` Dmitry V. Levin
2011-01-31 15:58 ` REAL
2011-01-31 15:42   ` Alexey Tourbin
2011-01-31 16:17     ` REAL
2011-01-31 16:33 ` Afanasov Dmitry
2011-01-31 17:25   ` Alexey Tourbin
2011-01-31 21:46 ` Dmitry V. Levin
2011-01-31 23:33   ` Dmitry V. Levin
2011-02-01  4:02     ` Alexey Tourbin
2011-02-01  9:29       ` Dmitry V. Levin
2011-02-01 17:00         ` Alexey Tourbin

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20110205145240.GC11374@altlinux.org \
    --to=at@altlinux.ru \
    --cc=devel@lists.altlinux.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

ALT Linux Team development discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/devel/0 devel/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 devel devel/ http://lore.altlinux.org/devel \
		devel@altlinux.org devel@altlinux.ru devel@lists.altlinux.org devel@lists.altlinux.ru devel@linux.iplabs.ru mandrake-russian@linuxteam.iplabs.ru sisyphus@linuxteam.iplabs.ru
	public-inbox-index devel

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.devel


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git