Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 16194 Details for
Bug 26756
recent NPTL breaks static binaries
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
Test C program, with custom entrypoint, that prints a classic message
helloworld.c (text/plain), 434 bytes, created by
Boyd Waters
on 2003-08-16 16:18:21 UTC
(
hide
)
Description:
Test C program, with custom entrypoint, that prints a classic message
Filename:
MIME Type:
Creator:
Boyd Waters
Created:
2003-08-16 16:18:21 UTC
Size:
434 bytes
patch
obsolete
> >/* Note: this program does not initialize C library, so all level 3 */ >/* library calls are forbidden. Only level 2 systems calls are allowed. */ > >static inline void strCat(char *d, char *s) >{ > while(*d) d++; > while(*s) *d++ = *s++; > *d = 0; >} > > >static inline void wrStr(char *s) >{ > char *p = s; > int x = 0; > > while(*p) p++, x++; > write(1, s, x); >} > > >void _start() >{ > wrStr("hello world!\n"); > _exit(0); >}
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 26756
: 16194