Skip to content

Merge lld r369828 and r371013 into 9.0 #42581

@DimitryAndric

Description

@DimitryAndric
Bugzilla Link 43236
Resolution FIXED
Resolved on Sep 06, 2019 04:21
Version unspecified
OS All
Blocks #41819
CC @zmodem,@rui314,@smithp35

Extended Description

Please merge https://reviews.llvm.org/rLLD371013 ("Align output segments correctly") and its prerequisite https://reviews.llvm.org/rLLD369828 ("[ELF] Align the first section of a PT_LOAD even if its type is SHT_NOBITS") into lld 9.0.

This fixes bug 43212, which was about incorrectly aligned segments when the --omagic or --nmagic link options were used.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions