Add @generated tag to libc syscall asm wrappers
Although libc syscall wrappers do not get checked in this can aid in finding the source of generated files when spelunking in the objdir. Multiple tools use @generated to identify generated files (for example, in a review Phabricator will by default hide diffs in generated files). For consistency use the @generated tag in makesyscalls.sh as we've done for other generated files, even though these wrappers aren't checked in to the tree.
This commit is contained in:
parent
2fe25d1638
commit
3afdc7303c
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=351122
@ -134,12 +134,14 @@ NOTE_GNU_STACK=''
|
||||
.endif
|
||||
|
||||
${SASM}:
|
||||
printf '#include "compat.h"\n' > ${.TARGET}
|
||||
printf '/* %sgenerated by libc/sys/Makefile.inc */\n' @ > ${.TARGET}
|
||||
printf '#include "compat.h"\n' >> ${.TARGET}
|
||||
printf '#include "SYS.h"\nRSYSCALL(${.PREFIX})\n' >> ${.TARGET}
|
||||
printf ${NOTE_GNU_STACK} >>${.TARGET}
|
||||
|
||||
${SPSEUDO}:
|
||||
printf '#include "compat.h"\n' > ${.TARGET}
|
||||
printf '/* %sgenerated by libc/sys/Makefile.inc */\n' @ > ${.TARGET}
|
||||
printf '#include "compat.h"\n' >> ${.TARGET}
|
||||
printf '#include "SYS.h"\nPSEUDO(${.PREFIX:S/_//})\n' \
|
||||
>> ${.TARGET}
|
||||
printf ${NOTE_GNU_STACK} >>${.TARGET}
|
||||
|
Loading…
Reference in New Issue
Block a user