Conversation
Due to a missing assert, eld crashes when trying to link AArch64 objects including unsupported relocations. This commit add the missing assert, as well as two additional checks on the size (that triggered when the size was pointing to invalid data in memory). A unit test is making sure eld is asserting on invalid/unsupported relocations. Signed-off-by: Cedric Tessier <ctessier@qti.qualcomm.com>
create a singleton register timer class to house llvm::Timers/TimerGroup. Remove eld::Timer as not used. Signed-off-by: Shankar Easwaran <seaswara@qti.qualcomm.com>
Allow getAllOutputSections() to be called during the Initializing link state in addition to CreatingSections, CreatingSegments, and AfterLayout. This enables plugins to query output sections earlier in the linking process during initialization. Signed-off-by: Rishabh Bali <rbali@qti.qualcomm.com>
Emit data for nightly, sanitizer, reverse_iterator and release build workflows. Signed-off-by: Shakti Suman <shaksuma@qti.qualcomm.com>
Signed-off-by: Shankar Easwaran <seaswara@qti.qualcomm.com>
ScriptMemoryRegion::getPhysicalAddr() reused the previous section's paddr for ALIGN_WITH_INPUT based only on matching VMA region. That let an earlier >RAM AT>ROM section incorrectly put later >RAM AT>RAM sections into ROM-ish LMAs triggering a bogus "RAM exceeded" error. Closes qualcomm#798 Signed-off-by: quic-areg <aregmi@qti.qualcomm.com>
This commit fix the behavior of searching script inputs such that if the script input is found in the specified absolute / relative path, then the sysroot is not used to find the script. This change is done to make to eld behavior consistent with the other major linkers (such as bfd). Resolves qualcomm#786 Signed-off-by: Parth Arora <partaror@qti.qualcomm.com>
Signed-off-by: Shakti Suman <shaksuma@qti.qualcomm.com>
This reverts commit e58583e. Signed-off-by: Shankar Easwaran <seaswara@qti.qualcomm.com>
Signed-off-by: Shankar Easwaran <seaswara@qti.qualcomm.com>
Signed-off-by: Shakti Suman <shaksuma@qti.qualcomm.com>
Signed-off-by: Shankar Easwaran <seaswara@qti.qualcomm.com>
Signed-off-by: Shankar Easwaran <seaswara@qti.qualcomm.com>
Signed-off-by: Shankar Easwaran <seaswara@qti.qualcomm.com>
Standard symbols (ex: __ehdr_start) are defined by the linker during layout (if not defined earlier). This caused these symbols to be incorrectly treated as preemptible during relocation scanning (as it happens before layout). Fix by checking if an undefined symbol is a standard symbol that will be linker-provided, and treating it as non-preemptible. Signed-off-by: Cedric Tessier <ctessier@qti.qualcomm.com>
Bumps [pillow](https://github.com/python-pillow/Pillow) from 10.3.0 to 12.1.1. - [Release notes](https://github.com/python-pillow/Pillow/releases) - [Changelog](https://github.com/python-pillow/Pillow/blob/main/CHANGES.rst) - [Commits](python-pillow/Pillow@10.3.0...12.1.1) --- updated-dependencies: - dependency-name: pillow dependency-version: 12.1.1 dependency-type: direct:production ... Signed-off-by: dependabot[bot] <support@github.com>
Run .ctors constructors first Signed-off-by: Kushal Pal <kushpal@qti.qualcomm.com>
Signed-off-by: quic-areg <aregmi@qti.qualcomm.com>
ELD's --thread-count option wasn't affecting `llvm::parallelFor()` because `llvm::parallel::strategy` was never set, so LLVM always defaulted to hardware concurrency. Set the strategy from --thread-count so `parallelFor()` uses the requested thread limit. Signed-off-by: quic-areg <aregmi@qti.qualcomm.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.