Ed Maste
19703503ba
lld: Omit PT_NOTE for SHT_NOTE without SHF_ALLOC
...
A non-alloc note section should not have a PT_NOTE program header.
Found while linking ghc (Haskell compiler) with lld on FreeBSD. Haskell
emits a .debug-ghc-link-info note section (as the name suggests, it
contains link info) as a SHT_NOTE section without SHF_ALLOC set.
For this case ld.bfd does not emit a PT_NOTE segment for
.debug-ghc-link-info. lld previously emitted a PT_NOTE with p_vaddr = 0
and FreeBSD's rtld segfaulted when trying to parse a note at address 0.
LLVM PR: https://llvm.org/pr37361
LLVM review: https://reviews.llvm.org/D46623
PR: 226872
Reviewed by: dim
Sponsored by: The FreeBSD Foundation
2018-05-09 11:17:01 +00:00
..
2017-10-31 00:07:04 +00:00
2018-05-09 11:17:01 +00:00
2017-11-26 02:00:33 +00:00
2017-10-31 00:07:04 +00:00
2017-10-31 00:07:04 +00:00
2018-01-24 14:24:17 +00:00
2017-10-31 00:07:04 +00:00
2017-10-31 00:07:04 +00:00
2017-10-31 00:07:04 +00:00
2017-10-31 00:07:04 +00:00
2018-05-01 08:03:12 +00:00
2017-11-26 02:00:33 +00:00
2017-10-31 00:07:04 +00:00
2017-10-31 00:07:04 +00:00
2017-10-31 00:07:04 +00:00
2018-05-09 10:33:25 +00:00
2017-11-26 02:00:33 +00:00
2017-10-31 00:07:04 +00:00
2017-07-11 00:32:48 +00:00
2017-11-26 02:00:33 +00:00
2017-12-27 21:36:37 +00:00
2018-05-07 20:38:09 +00:00
2018-03-18 19:50:32 +00:00
2017-12-25 13:17:29 +00:00
2017-10-31 00:07:04 +00:00
2018-02-10 14:45:29 +00:00
2018-02-02 05:04:43 +00:00
2017-11-26 02:00:33 +00:00
2017-10-31 00:07:04 +00:00
2018-01-23 22:41:13 +00:00
2017-10-31 00:07:04 +00:00
2018-02-14 23:52:39 +00:00
2017-12-21 04:21:59 +00:00
2017-11-26 02:00:33 +00:00
2018-03-29 19:43:29 +00:00
2018-03-14 20:55:28 +00:00
2017-10-31 00:07:04 +00:00
2018-01-29 22:38:23 +00:00
2018-03-02 15:12:18 +00:00
2017-10-31 00:07:04 +00:00
2018-04-27 13:59:24 +00:00
2017-10-31 00:07:04 +00:00
2017-10-31 00:07:04 +00:00
2017-10-31 00:07:04 +00:00
2017-11-30 20:33:45 +00:00
2018-03-14 20:55:28 +00:00
2017-10-31 00:03:36 +00:00
2018-01-31 21:41:42 +00:00
2017-11-26 02:00:33 +00:00
2017-10-31 00:07:04 +00:00
2017-11-26 02:00:33 +00:00
2018-01-21 21:09:08 +00:00
2018-04-23 21:10:33 +00:00
2018-03-11 19:26:34 +00:00
2018-03-21 14:37:04 +00:00
2018-05-04 20:54:27 +00:00
2017-11-26 02:00:33 +00:00
2017-11-26 02:00:33 +00:00
2017-10-31 00:07:04 +00:00
2017-10-31 00:07:04 +00:00
2018-03-09 18:51:24 +00:00
2018-04-17 17:23:47 +00:00
2018-01-12 23:25:05 +00:00
2017-10-31 00:07:04 +00:00
2017-11-26 02:00:33 +00:00
2017-11-03 21:04:22 +00:00
2017-11-26 02:00:33 +00:00
2018-01-16 21:43:21 +00:00
2017-11-08 12:34:47 +00:00
2017-10-31 00:07:04 +00:00
2017-11-26 02:00:33 +00:00
2017-12-28 01:31:28 +00:00
2018-04-04 14:31:56 +00:00
2017-10-31 00:07:04 +00:00
2017-11-26 02:00:33 +00:00
2017-10-31 19:52:30 +00:00
2017-10-31 00:07:04 +00:00
2017-01-20 04:37:03 +00:00
2017-11-26 02:00:33 +00:00
2018-01-17 16:41:22 +00:00
2018-01-16 09:31:01 +00:00
2017-12-06 17:52:01 +00:00
2017-11-26 02:00:33 +00:00
2017-11-26 02:00:33 +00:00
2018-01-29 14:00:33 +00:00
2017-11-26 02:00:33 +00:00
2017-11-18 14:26:50 +00:00
2017-10-31 00:07:04 +00:00
2017-11-26 02:00:33 +00:00
2017-11-26 02:00:33 +00:00
2017-10-31 00:07:04 +00:00
2018-04-30 10:15:58 +00:00
2017-01-20 04:35:36 +00:00
2017-10-31 00:07:04 +00:00
2017-01-20 04:35:18 +00:00
2017-01-20 04:34:34 +00:00
2018-05-08 06:09:49 +00:00
2017-11-26 02:00:33 +00:00
2017-11-26 02:00:33 +00:00
2018-05-01 16:30:48 +00:00
2017-11-26 02:00:33 +00:00
2017-07-31 19:07:45 +00:00
2018-03-21 21:13:26 +00:00
2017-11-26 02:00:33 +00:00
2017-10-31 00:07:04 +00:00
2018-04-17 09:05:46 +00:00
2017-11-26 02:00:33 +00:00
2017-11-26 02:00:33 +00:00
2017-10-31 00:07:04 +00:00
2018-03-23 09:40:41 +00:00
2017-11-26 02:00:33 +00:00
2018-03-04 18:00:32 +00:00
2017-11-26 02:00:33 +00:00
2018-04-08 19:24:49 +00:00
2017-10-31 00:07:04 +00:00
2017-10-31 00:07:04 +00:00
2017-11-20 19:49:47 +00:00
2017-11-26 02:00:33 +00:00
2017-10-31 00:07:04 +00:00
2018-03-18 03:42:57 +00:00
2018-04-19 20:36:15 +00:00
2017-11-20 19:49:47 +00:00
2018-04-04 14:31:56 +00:00