diff options
author | Hans-Peter Nilsson <hp@bitrange.com> | 2020-07-25 23:25:09 +0200 |
---|---|---|
committer | Hans-Peter Nilsson <hp@bitrange.com> | 2020-07-25 23:25:09 +0200 |
commit | 8e807b59d87ba2d45014afab66c3d3bf5a647cf7 (patch) | |
tree | 4b428426a8a3b3c5a3346806d4088351ab4ee425 /gcc | |
parent | e0e546635a307c2a0a2c6c909e92dce3dfc967ff (diff) | |
download | gcc-8e807b59d87ba2d45014afab66c3d3bf5a647cf7.zip gcc-8e807b59d87ba2d45014afab66c3d3bf5a647cf7.tar.gz gcc-8e807b59d87ba2d45014afab66c3d3bf5a647cf7.tar.bz2 |
config/mmix/mmix.c (TARGET_ASM_OUTPUT_IDENT): Override.
Funny that default_asm_output_ident_directive isn't the default...
Anyway, since dot-pseudos like .ident are treated as comments by
mmixal, there's nothing lost compatibilitywise by supporting it.
If mmix-knuth-mmixware had included elfos.h this'd have been the
default. There might be enough reason to do that; relocatable objects
are ELF but (by default) links to produce mmo. Fixes
c-c++-common/ident-1b.c and 2b in C and C++ testing. Committed.
gcc:
* config/mmix/mmix.c (TARGET_ASM_OUTPUT_IDENT): Override the default
with default_asm_output_ident_directive.
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/config/mmix/mmix.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/gcc/config/mmix/mmix.c b/gcc/config/mmix/mmix.c index b7263a3..4c4fb21 100644 --- a/gcc/config/mmix/mmix.c +++ b/gcc/config/mmix/mmix.c @@ -220,6 +220,9 @@ static HOST_WIDE_INT mmix_starting_frame_offset (void); #undef TARGET_ASM_OUTPUT_SOURCE_FILENAME #define TARGET_ASM_OUTPUT_SOURCE_FILENAME mmix_asm_output_source_filename +#undef TARGET_ASM_OUTPUT_IDENT +#define TARGET_ASM_OUTPUT_IDENT default_asm_output_ident_directive + #undef TARGET_INIT_LIBFUNCS #define TARGET_INIT_LIBFUNCS mmix_init_libfuncs |