https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=223752
David Chisnall <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |[email protected] --- Comment #3 from David Chisnall <[email protected]> --- This doesn't look like a bug. `__attribute__((constructor))` is only defined for functions that take no arguments (for gcc and clang). I'm very surprised if you don't get a compile-time warning. If `argc`, `argv` and `envp` are appearing as arguments, it's because, on some platforms / architectures these happen to be the values in argument registers when the constructors are invoked, but it's not intended behaviour. -- You are receiving this mail because: You are the assignee for the bug. _______________________________________________ [email protected] mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-toolchain To unsubscribe, send any mail to "[email protected]"
