mirror of
https://github.com/darlinghq/darling-gdb.git
synced 2025-01-09 21:50:35 +00:00
Remove address check if HIDDEN_UNDEF_TEST is defined
* ld-elfvsb/main.c (main_visibility_checkcom): Remove address check for visibility_def if HIDDEN_UNDEF_TEST is defined. (main_visibility_checkweak): Remove address check for visibility_func if HIDDEN_UNDEF_TEST is defined.
This commit is contained in:
parent
a7dd0df59e
commit
9361f82f3a
@ -1,3 +1,10 @@
|
||||
2012-10-25 H.J. Lu <hongjiu.lu@intel.com>
|
||||
|
||||
* ld-elfvsb/main.c (main_visibility_checkcom): Remove address
|
||||
check for visibility_def if HIDDEN_UNDEF_TEST is defined.
|
||||
(main_visibility_checkweak): Remove address check for
|
||||
visibility_func if HIDDEN_UNDEF_TEST is defined.
|
||||
|
||||
2012-10-25 Nathan Sidwell <nathan@codesourcery.com>
|
||||
|
||||
* ld-scripts/empty-aligned.d: Revert last change. Allow more
|
||||
|
@ -205,13 +205,13 @@ asm (".hidden visibility_func");
|
||||
int
|
||||
main_visibility_checkcom (void)
|
||||
{
|
||||
return & visibility_def != NULL && visibility_def == 2;
|
||||
return visibility_def == 2;
|
||||
}
|
||||
|
||||
int
|
||||
main_visibility_checkweak (void)
|
||||
{
|
||||
return & visibility_func != NULL && visibility_func () == 2;
|
||||
return visibility_func () == 2;
|
||||
}
|
||||
#else
|
||||
int
|
||||
|
Loading…
Reference in New Issue
Block a user