Skip to content

[MC] Integrated assembler doesn't resolve local symbol differences #9316

@jsonn

Description

@jsonn
Bugzilla Link 8944
Resolution FIXED
Resolved on Feb 15, 2011 21:30
Version trunk
OS Linux
CC @tkremenek

Extended Description

OpenSSL's aes-x86_64.s does something like

    movq T-S, %rax

    .globl T

T:

    .globl S

S:

This results in a R_X86_64_PC32 text relocation, which GNU ld doesn't like. Runnning the same code through GNU as doesn't result in a relocation, e.g. the difference is handled internally. Same for using . in place of S.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugzillaIssues migrated from bugzilla

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions