On Wed, Mar 21, 2012 at 11:37 PM, Richard Henderson wrote: >> Attached patch enables alpha to use generic config/elfos.h headers on >> linux and *bsd targets. The most important difference to generic >> elfos.h is in >> >>       * config/alpha/elf.h (TARGET_ASM_FILE_START_FILE_DIRECTIVE): Undefine. > > This one can be deleted, since No, we are still calling default_file_start in alpha_file_start, so we have to signal that we don't want start file directive. In committed patch, I have redefined T_A_F_S_F_D as false for this purpose: +/* Do not output a .file directive at the beginning of the input file. */ + +#undef TARGET_ASM_FILE_START_FILE_DIRECTIVE +#define TARGET_ASM_FILE_START_FILE_DIRECTIVE false >> +#undef USER_LABEL_PREFIX >>  #define USER_LABEL_PREFIX "" > > This ought to be deletable. > >>  /* We use the default ASCII-output routine, except that we don't write more >>     than 50 characters since the assembler doesn't support very long lines.  */ >> >> +#undef ASM_OUTPUT_ASCII >>  #define ASM_OUTPUT_ASCII(MYFILE, MYSTRING, MYLENGTH) \ > > Likewise.  Since RO deleted all non-gas support. Both removed. Attached is the patch that was re-tested and committed. Thanks, Uros.