https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=165970
Jilles Tjoelker <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |[email protected] --- Comment #8 from Jilles Tjoelker <[email protected]> --- To keep libc.so size and rtld work down, it would be better to eliminate the ev array and set a pair of variables instead of 'error'. The compiler will merge the two copies of the string literal "invalid" (the C standard does not require this, but gcc and clang have done this for many years). Rationale: rtld must fix up any pointer inside libc's data segment for the load address, which adds a relocation entry of several words and increases the amount of written memory in every process (including processes that do not use strtonum() at all). Referring to a string constant in code does not have this issue. -- You are receiving this mail because: You are the assignee for the bug. _______________________________________________ [email protected] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-bugs To unsubscribe, send any mail to "[email protected]"
