HomePhabricator

[mips][micromips] Fix overlaping FDEs error

Authored by abeserminji on Oct 15 2018, 7:39 AM.

Description

[mips][micromips] Fix overlaping FDEs error

When compiling static executable for micromips, CFI symbols
are incorrectly labeled as MICROMIPS, which cause
".eh_frame_hdr refers to overlapping FDEs." error.

This patch does not label CFI symbols as MICROMIPS, and FDEs do not
overlap anymore. This patch also exposes another bug, which is fixed
here: https://reviews.llvm.org/D52985

Differential Revision: https://reviews.llvm.org/D52987

llvm-svn: 344516

Details

Committed
abeserminjiOct 15 2018, 7:39 AM
Differential Revision
D52987: [mips][micromips] Fix overlaping FDEs error
Parents
rG585f55bb8b55: [mips][micromips] Revert "Fix overlaping FDEs error"
Branches
Unknown
Tags
Unknown