Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | [test] Change llvm-readobj -long-option to --long-option or well-known short ↵ | Fangrui Song | 2019-05-01 | 1 | -1/+1 |
| | | | | | | | | | | | | options. NFC Also change some options that have different semantics (cause confusion) in llvm-readelf mode: -s => -S -t => --symbols -sd => --section-data llvm-svn: 359651 | ||||
* | [ELF] .gnu.hash bloom filter: use Shift2 = 26 instead of 6 | Fangrui Song | 2018-12-21 | 1 | -2/+2 |
| | | | | | | | | | | | | | | | | | | | | | Summary: For the 2-bit bloom filter, we currently pick the bits Hash%64 and Hash>>6%64 (Shift2=6), but bits [6:...] are also used to select a word, causing a loss of precision. In this patch, we choose Shift2=26, with is suggested by Ambrose Feinstein. Note, Shift2 is computed as maskbitslog2 in bfd/elflink.c and gold/dynobj.cc It is varying with the number of dynamic symbols but we don't necessarily copy its rule. Reviewers: ruiu, espindola Reviewed By: ruiu Subscribers: emaste, arichardson, llvm-commits Differential Revision: https://reviews.llvm.org/D55971 llvm-svn: 349966 | ||||
* | Fix broken .gnu.hash section if -no-rosegment is given. | Rui Ueyama | 2017-12-06 | 1 | -0/+20 |
We fill executable sections with trap instructions (0xcc or equivalent). If a .gnu.hash section was put into an executable segment, we created corrupted .gnu.hash section. This patch fixes the issue. llvm-svn: 319863 |