diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2021-01-26 08:18:39 -0800 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2021-01-26 08:18:52 -0800 |
commit | 1f583bc2fcb1b5c4125faf8b8e815255b2b21b62 (patch) | |
tree | 3edf29303405b2e9a25fc8766a08a2b68733705f /libiberty/pex-unix.c | |
parent | 4ef367bffd73d50002339deba40983530ccb9d15 (diff) | |
download | binutils-1f583bc2fcb1b5c4125faf8b8e815255b2b21b62.zip binutils-1f583bc2fcb1b5c4125faf8b8e815255b2b21b62.tar.gz binutils-1f583bc2fcb1b5c4125faf8b8e815255b2b21b62.tar.bz2 |
nios2: Don't disable relaxation with --gdwarf-N
GCC 11 passes --gdwarf-5 to assembler to enable DWARF5 debug info. Don't
disable relaxation when --gdwarf-N is specified. The assembler generated
debug information will treat the sequence of the relaxed instructions as
a single instruction.
PR gas/27243
* config/tc-nios2.c (md_begin): Don't disable relaxation with
--gdwarf-N.
* testsuite/gas/nios2/relax.d: New file.
* testsuite/gas/nios2/relax.s: Likewise.
Diffstat (limited to 'libiberty/pex-unix.c')
0 files changed, 0 insertions, 0 deletions