Skip to content

Handle GOT sections gracefully #3064

Description

@Prabhuk

If any of the libraries linked against is built as position independent code, weak undefined symbols and comdat symbols may have GOT relocations in ARM targets. We observed this in the LLVM runtime libraries (libc.a/libm.a) but this behavior is not specific to Clang/LLVM toolchains. Handle GOT sections gracefully to prevent possible broken behavior.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Fields

No fields configured for issues without a type.

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions