Skip to content

Commit

Permalink
* sysdeps/unix/sysv/linux/x86_64/sysconf.c (intel_check_word): Add
Browse files Browse the repository at this point in the history
	noinline attribute.

2006-11-10  Jakub Jelinek  <jakub@redhat.com>

	* sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Add
	noinline attribute.

	* sysdeps/gnu/siglist.c (__old_sys_siglist, __old_sys_sigabbrev):
	Use __new_sys_siglist instead of _sys_siglist_internal as
	second macro argument.
	(_old_sys_siglist): Use declare_symbol_alias macro instead of
	strong_alias.

2006-11-09  Ulrich Drepper  <drepper@redhat.com>
  • Loading branch information
Ulrich Drepper committed Nov 10, 2006
1 parent 1d3bb73 commit 37afcf7
Show file tree
Hide file tree
Showing 4 changed files with 23 additions and 3 deletions.
16 changes: 16 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -1,3 +1,19 @@
2006-11-09 Ulrich Drepper <drepper@redhat.com>

* sysdeps/unix/sysv/linux/x86_64/sysconf.c (intel_check_word): Add
noinline attribute.

2006-11-10 Jakub Jelinek <jakub@redhat.com>

* sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Add
noinline attribute.

* sysdeps/gnu/siglist.c (__old_sys_siglist, __old_sys_sigabbrev):
Use __new_sys_siglist instead of _sys_siglist_internal as
second macro argument.
(_old_sys_siglist): Use declare_symbol_alias macro instead of
strong_alias.

2006-11-09 Ulrich Drepper <drepper@redhat.com>

[BZ #3493]
Expand Down
8 changes: 5 additions & 3 deletions sysdeps/gnu/siglist.c
Original file line number Diff line number Diff line change
Expand Up @@ -40,13 +40,15 @@ const char *const __new_sys_sigabbrev[NSIG] =
strong_alias (__new_sys_sigabbrev, _sys_sigabbrev_internal)

#if SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_1)
declare_symbol_alias (__old_sys_siglist, _sys_siglist_internal, object,
declare_symbol_alias (__old_sys_siglist, __new_sys_siglist, object,
OLD_SIGLIST_SIZE * __WORDSIZE / 8)

declare_symbol_alias (__old_sys_sigabbrev, _sys_sigabbrev_internal, object,
declare_symbol_alias (__old_sys_sigabbrev, __new_sys_sigabbrev, object,
OLD_SIGLIST_SIZE * __WORDSIZE / 8)

declare_symbol_alias (_old_sys_siglist, __new_sys_siglist, object,
OLD_SIGLIST_SIZE * __WORDSIZE / 8)

strong_alias (__old_sys_siglist, _old_sys_siglist)
compat_symbol (libc, __old_sys_siglist, _sys_siglist, GLIBC_2_0);
compat_symbol (libc, _old_sys_siglist, sys_siglist, GLIBC_2_0);
compat_symbol (libc, __old_sys_sigabbrev, sys_sigabbrev, GLIBC_2_0);
Expand Down
1 change: 1 addition & 0 deletions sysdeps/unix/sysv/linux/i386/sysconf.c
Original file line number Diff line number Diff line change
Expand Up @@ -140,6 +140,7 @@ intel_02_known_compare (const void *p1, const void *p2)


static long int
__attribute__ ((noinline))
intel_check_word (int name, unsigned int value, bool *has_level_2,
bool *no_level_2_or_3)
{
Expand Down
1 change: 1 addition & 0 deletions sysdeps/unix/sysv/linux/x86_64/sysconf.c
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,7 @@ intel_02_known_compare (const void *p1, const void *p2)


static long int
__attribute__ ((noinline))
intel_check_word (int name, unsigned int value, bool *has_level_2,
bool *no_level_2_or_3)
{
Expand Down

0 comments on commit 37afcf7

Please sign in to comment.