a0ba0189 | 09-Sep-2015 |
John Marino <draco@marino.st> |
libc: fix environ symbol by syncing getenv.c with FreeBSD
The environ symbol can't be found by rtld with libc symbol versioning. On Release 4.2, readelf produces this output, indicating "environ" is
libc: fix environ symbol by syncing getenv.c with FreeBSD
The environ symbol can't be found by rtld with libc symbol versioning. On Release 4.2, readelf produces this output, indicating "environ" is classified as an object:
> readelf -a /lib/libc.so.8 | grep environ 00000032af20 01ed00000006 R_X86_64_GLOB_DAT 0000000000351380 environ + 0 493: 0000000000351380 8 OBJECT GLOBAL DEFAULT 24 environ 1636: 0000000000351380 8 OBJECT GLOBAL DEFAULT 24 environ
After this commit:
> readelf -a /lib/libc.so.8 | grep environ 000000330c78 000700000006 R_X86_64_GLOB_DAT 0000000000000000 environ + 0 7: 0000000000000000 0 NOTYPE GLOBAL DEFAULT UND environ 1660: 0000000000000000 0 NOTYPE GLOBAL DEFAULT UND environ
The above is the desired output.
show more ...
|
d66febeb | 08-Sep-2015 |
John Marino <draco@marino.st> |
libc symbols bound to rtld must have matching version numbers
Reset the version of symbols bound to rtld back to DF306.0 version. While here, remove definition for __progname and environ which canno
libc symbols bound to rtld must have matching version numbers
Reset the version of symbols bound to rtld back to DF306.0 version. While here, remove definition for __progname and environ which cannot be versioned.
show more ...
|
f5331ec2 | 02-Sep-2015 |
John Marino <draco@marino.st> |
Update some more symbols maps for libc
This continues the work towards versioning libc. I found that a wchar function, open_wmemstream(), had a prototype but was not implemented on DragonFly (but i
Update some more symbols maps for libc
This continues the work towards versioning libc. I found that a wchar function, open_wmemstream(), had a prototype but was not implemented on DragonFly (but it is on FreeBSD) so I filtered it out with #if 0 block.
show more ...
|