Details
Details
- Reviewers
kib jhb - Commits
- R10:7f06b217c53c: amd64: import asm strlen into libc
Diff Detail
Diff Detail
- Repository
- R10 FreeBSD src repository
- Lint
Automatic diff as part of commit; lint not applicable. - Unit
Automatic diff as part of commit; unit tests not applicable.
Event Timeline
Comment Actions
Adding the header fails to compile with:
In file included from /usr/src/lib/libc/amd64/string/strlen.S:7: /usr/include/machine/asm.h:88:9: error: 'ALTENTRY' macro redefined [-Werror,-Wmacro-redefined] #define ALTENTRY(x) _ENTRY(x) ^
with a host of other errors
Using it instead of asm.h results in:
/usr/src/lib/libc/amd64/string/strlen.S:8:22: error: expected ')' in parentheses expression __asm__(".ident\t\"" "$FreeBSD$" "\""); ^
someone(tm) needs to clean this up and I don't think it's worth the effort now