H.J. Lu
6fe014bcd3
LTO: Properly handle wrapper symbols in IR
...
When a wrapper symbol, __wrap_FOO, is defined in IR, its resolution
should be LDPR_PREVAILING_DEF, not PREVAILING_DEF_IRONLY, since LTO
doesn't know that __wrap_FOO provides definition of FOO. And resolution
of FOO should be LDPR_RESOLVED_IR since it is resolved by __wrap_FOO in
IR.
PR ld/24406
* ld.texi: Remove LTO warning from --wrap.
* plugin.c (get_symbols): Update resolution for wrapper and
wrapped symbols.
* testsuite/ld-plugin/lto.exp: Run ld/24406 tests.
* testsuite/ld-plugin/pr24406-1.c: New file.
* testsuite/ld-plugin/pr24406-2a.c: Likewise.
* testsuite/ld-plugin/pr24406-2b.c: Likewise.
2019-04-25 07:54:00 -07:00
..
2019-04-24 12:14:56 -07:00
2019-04-25 11:37:25 +01:00
2019-01-01 22:06:53 +10:30
2019-01-01 22:06:53 +10:30
2019-04-15 12:31:42 +01:00
2019-04-24 12:14:56 -07:00
2019-01-01 22:06:53 +10:30
2019-01-01 22:06:53 +10:30
2019-01-01 22:06:53 +10:30
2019-01-01 22:06:53 +10:30
2019-01-01 22:06:53 +10:30
2019-01-01 22:06:53 +10:30
2018-07-30 12:24:14 +01:00
2019-04-24 12:14:56 -07:00
2019-01-01 22:06:53 +10:30
2019-01-01 22:06:53 +10:30
2019-04-24 12:14:56 -07:00
2019-04-24 12:14:56 -07:00
2019-04-24 12:14:56 -07:00
2019-04-24 12:14:56 -07:00
2019-04-24 12:14:56 -07:00
2019-01-01 22:06:53 +10:30
2019-01-01 22:06:53 +10:30
2019-04-24 12:14:56 -07:00
2019-01-01 22:06:53 +10:30
2019-04-24 12:14:56 -07:00
2019-01-01 22:06:53 +10:30
2019-04-24 12:14:56 -07:00
2019-01-01 22:06:53 +10:30
2019-01-01 22:06:53 +10:30
2019-01-01 22:06:53 +10:30
2019-01-08 18:50:54 +10:30
2019-01-01 22:06:53 +10:30
2019-01-01 22:06:53 +10:30
2019-04-22 20:41:03 -07:00
2019-01-01 22:06:53 +10:30
2019-01-01 22:06:53 +10:30
2019-04-24 12:14:56 -07:00
2019-04-17 15:05:08 +01:00
2019-01-01 22:06:53 +10:30
2019-01-01 22:06:53 +10:30
2019-04-24 12:14:56 -07:00
2019-04-24 12:14:56 -07:00
2019-04-25 07:54:00 -07:00
2019-04-05 12:20:49 +10:30
2018-05-09 11:39:32 +01:00
2019-01-21 12:39:24 +00:00
2019-01-01 22:06:53 +10:30
2019-03-01 15:35:00 +01:00
2019-04-24 12:14:56 -07:00
2019-01-01 22:06:53 +10:30
2019-04-24 12:14:56 -07:00
2019-04-24 12:14:56 -07:00
2019-04-24 12:14:56 -07:00
2019-01-01 22:06:53 +10:30
2019-01-01 22:06:53 +10:30
2019-04-24 12:14:56 -07:00
2019-01-01 22:06:53 +10:30
2019-01-01 22:06:53 +10:30
2019-01-01 22:06:53 +10:30
2019-04-24 12:14:56 -07:00
2019-04-24 12:14:56 -07:00
2019-01-01 22:06:53 +10:30
2019-01-01 22:06:53 +10:30
2019-01-01 22:06:53 +10:30
2019-01-01 22:06:53 +10:30
2019-04-24 12:14:56 -07:00
2019-01-01 22:06:53 +10:30
2019-01-01 22:06:53 +10:30
2019-03-29 10:02:10 -07:00
2019-01-01 22:06:53 +10:30
2019-04-24 12:14:56 -07:00