aboutsummaryrefslogtreecommitdiff
path: root/tools/update_glibc.zig
AgeCommit message (Collapse)Author
2025-08-30update tools and other miscellaneous things to new APIsAndrew Kelley
2023-11-22Revert "Merge pull request #12060 from Vexu/IterableDir"Andrew Kelley
This reverts commit da94227f783ec3c92859c4713b80a668f1183f96, reversing changes made to 8f943b3d33432a26b7e242c1181e4220ed400501. I was against this change originally, but decided to approve it to keep an open mind. After a year of trying it in practice, I firmly believe that the previous way of doing it was better.
2023-10-13tools/update_glibc: exempt some more filesAndrew Kelley
2023-05-25std.fs.file: Rename File.Kind enum values to snake caseLinus Groh
2022-07-15std.fs: split `Dir` into `IterableDir`Veikka Tuominen
Also adds safety check for attempting to iterate directory not opened with `iterate = true`.
2021-12-15glibc: remove duplicate files between generic-glibc/ and glibc/include/Andrew Kelley
2021-12-15tools/update_glibc: ignore some more filesAndrew Kelley
2021-12-15update glibc start files to 2.34Andrew Kelley
This commit introduces tools/update_glibc.zig to update the start files for next time. Some notable changes in recent glibc: * abi-note.S has been changed to abi-note.c but we resist the change to keep it easier to compile the start files. * elf-init.c has been deleted upstream. Further testing should be done to verify that binaries against glibc omitting elf-init.c still run properly on oldel glibc linux systems. Closes #4926
2021-12-14remove tools/update_glibc.zigAndrew Kelley
It has been replaced by https://github.com/ziglang/glibc-abi-tool/ and should have been removed in 1442aa7dc039fd77c483862e37b099fe6d43f369.
2021-11-30allocgate: renamed getAllocator function to allocatorLee Cannon
2021-11-30allocgate: stage 1 and 2 buildingLee Cannon
2021-11-30std lib API deprecations for the upcoming 0.9.0 releaseAndrew Kelley
See #3811
2021-08-06Update all usages of mem.split/mem.tokenize for generic versionRyan Liptak
2021-06-21fix code broken from previous commitJacob G-W
2021-06-03Breaking hash map changes for 0.8.0Martin Wickham
- hash/eql functions moved into a Context object - *Context functions pass an explicit context - *Adapted functions pass specialized keys and contexts - new getPtr() function returns a pointer to value - remove functions renamed to fetchRemove - new remove functions return bool - removeAssertDiscard deleted, use assert(remove(...)) instead - Keys and values are stored in separate arrays - Entry is now {*K, *V}, the new KV is {K, V} - BufSet/BufMap functions renamed to match other set/map types - fixed iterating-while-modifying bug in src/link/C.zig
2021-02-27HashMap.put returns !void, not a !booldaurnimator
2021-02-02fix superfluous fmt specifier in update_glibcMichael Dusan
2021-02-01update update_glibc to format strings with "{s}"Michael Dusan
2021-01-07Reduce use of deprecated IO typesJay Petacat
Related: #4917
2020-12-23update depreciated code (#7502)g-w1
* `zig env`: * fix depreciated interface, update outStream -> writer * make code more readable by updating `anytype` -> `std.fs.File.Writer`
2020-12-12glibc: do not provide -lcryptAndrew Kelley
glibc is dropping this functionality moving forward. This is a partial revert of commit 97c0e1cc41c24c6cbb60117751d5b82dcd9d0e43
2020-12-08glibc: additionally provide -lcryptAndrew Kelley
also remove redundant "util" string matching.
2020-11-07remove deprecated uses of ArrayList.spanJosh Holland
2020-08-22update update_glibc and process_headers to latest zigJan200101
2020-06-12Fix a few std.sort.sort invocationsCassidy Dingenskirchen
2020-04-04add libutil to zig's glibc supportAndrew Kelley
2020-03-30std lib API deprecations for the upcoming 0.6.0 releaseAndrew Kelley
See #3811
2020-03-20include ld symbols when generating glibc dummy objectsAndrew Kelley
closes #4748
2020-03-04update glibc abilists for 2.31Andrew Kelley
2020-03-03update update_glibc tool to latest zigAndrew Kelley
2020-01-09Fix remaining variadic formatted printsRyan Liptak
Used a series of regex searches to try to find as many instances of the old pattern as I could and update them.
2019-11-25rename std.heap.direct_allocator to std.heap.page_allocatorAndrew Kelley
std.heap.direct_allocator is still available for now but it is marked deprecated.
2019-09-07update glibc ABI lists to 2.30Andrew Kelley
2019-08-24hash_map: adding a StringHashMap for convenienceSahnvour
2019-07-07add an update_glibc tool, delete dummy libc filesAndrew Kelley
This is the beginning of supporting minimum GLIBC version as part of the target. See #2509 for the motivation. The dummy libc zig files are removed. A future commit will build them on-the-fly, using the generated text files generated by the new tool, which are checked into source control and distributed along with zig. These generated text files are, together, 142KB (20KB gzipped). Compare that to a naive bundling of the .abilist files, which would be 2.2MiB (375KB gzipped). This is based on glibc 2.29.