diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2015-07-27 10:04:31 -0700 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2015-07-27 10:11:33 -0700 |
commit | c45bd4fd43e5eb0cbad8ec410504e4778c64c65d (patch) | |
tree | 437332c0c8c52ca84beec235a45c479088aa01a2 /gdb/f-lang.h | |
parent | 077836f7cf6725386c01ae3bb7111663b8f2b85e (diff) | |
download | gdb-c45bd4fd43e5eb0cbad8ec410504e4778c64c65d.zip gdb-c45bd4fd43e5eb0cbad8ec410504e4778c64c65d.tar.gz gdb-c45bd4fd43e5eb0cbad8ec410504e4778c64c65d.tar.bz2 |
Check address of versined symbol
Since GCC 5 folds symbol address comparison, assuming each symbol has a
different address, &foo == &bar is always false for GCC 5. This patch
adds check_ptr_eq if 2 addresses are the same and uses it to check the
address of versined symbol.
PR ld/18718
* ld-elf/check-ptr-eq.c: New file.
* ld-elf/pr18718.c (main): Call check_ptr_eq.
* ld-elf/shared.exp: Add check-ptr-eq.c to PR ld/18718 tests.
Diffstat (limited to 'gdb/f-lang.h')
0 files changed, 0 insertions, 0 deletions