summaryrefslogtreecommitdiff
path: root/libc-parts/ChangeLog
blob: 8c1ff9b6052ac9a5280152b42ca2119b4db54c85 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
2008-06-23  Neal H. Walfield  <neal@gnu.org>

	* s-printf.h (s_printf): Use gcc's format attribute.

2008-06-22  Neal H. Walfield  <neal@gnu.org>

	* process-spawn.c (process_spawn): [! NDEBUG]: Only free folios
	address space after we are really done using it.

2008-06-22  Neal H. Walfield  <neal@gnu.org>

	* errno.h (_ERRNO_H) [! _ENABLE_TESTS && ! RM_INTERN]: Undef.
	[! _ENABLE_TESTS && ! RM_INTERN]: Include next <errno.h>.

2008-06-18  Thomas Schwinge  <tschwinge@gnu.org>

	* strings.h: New file, from today's glibc CVS HEAD.

2008-06-11  Neal H. Walfield  <neal@gnu.org>

	* s-printf.h: New file.
	* Makefile.am (common_sources): Add s-printf.h.
	* s_printf.c: Include "s-printf.h".

2008-06-07  Neal H. Walfield  <neal@gnu.org>

	* process-spawn.c (process_spawn): When allocating a folio, only
	update the shadow capability's type after the folio has actually
	been allocated.

2008-06-05  Neal H. Walfield  <neal@gnu.org>

	* process-spawn.c (as_insert_custom): Replace use of as_insert
	with as_insert_full.
	(allocate_object): Change return type to struct
	as_allocate_pt_ret.  Replace use of as_slot_ensure with
	as_ensure_use.
	(allocate_page_table): New function.
	(process_spawn): Update use of as_insert_custom to be consistent
	with new API, in particular, pass allocate_page_table instead of
	allocate_object.  Replace use of object_lookup_rel with
	as_object_lookup_rel.

2008-05-31  Neal H. Walfield  <neal@gnu.org>

	* ucontext.h: New file.

2008-05-30  Neal H. Walfield  <neal@gnu.org>

	* s_printf.c (s_cputs): New function.
	(s_puts): Reimplement in terms of this.
	(print_nr): Take additional parameter, the putchar routine to use.
	(print_signed_nr): Likewise.
	(s_cvprintf): New function.
	(s_vprintf): Reimplement in terms of this.
	(s_cprintf): New function.
	(s_printf): Call s_cvprintf, not s_vprintf.

2008-05-29  Thomas Schwinge  <tschwinge@gnu.org>

	* headers.m4: New file.
	* Makefile.am [ENABLE_TESTS]: Don't build package's libraries.

	* assert.h [_ENABLE_TESTS]: Handle as done with [_L4_TEST_ENVIRONMENT].
	* errno.h [_ENABLE_TESTS]: Handle specially.
	* features.h [_ENABLE_TESTS]: Use the system's standard file instead.
	
	* sys/cdefs.h: New file, from today's glibc CVS HEAD.
	[_ENABLE_TESTS]: Use the system's standard file instead.
	* bits/wchar.h: Likewise.
	* time.h: Likewise.
	* stdint.h: Likewise.

	* stdio.h: New file.
	* stdlib.h: Likewise.
	* string.h: Likewise.
	* unistd.h: Likewise.
	* bits/types.h: Likewise.
	* sys/types.h: Likewise.

	* Makefile.am (t_setjmp_CPPFLAGS): Remove special `printf' handling.

2008-05-29  Neal H. Walfield  <neal@gnu.org>

	* ia32-crt0.S: Increase size of stack.
	(stack): Declare.
	(stack_end): Likewise.

2008-05-28  Neal H. Walfield  <neal@gnu.org>

	* process-spawn.c (process_spawn): Update use of
	folio_object_alloc to be consistent with new API.

2008-02-21  Neal H. Walfield  <neal@gnu.org>

	* Makefile.am (COMMON_CPPFLAGS): Remove variable.
	(libc_parts_a_CPPFLAGS): Set to $(USER_CPPFLAGS).
	(libc_parts_a_CFLAGS): New variable.
	(libc_kernel_a_CPPFLAGS): Set to $(KERNEL_CPPFLAGS).
	(libc_kernel_a_CFLAGS): New variable.
	(t_setjmp_CPPFLAGS): Remove use of $(COMMON_CPPFLAGS) with
	$(CHECK_CPPFLAGS).

2008-02-20  Thomas Schwinge  <tschwinge@gnu.org>

	* alloca.h: New file, from today's glibc CVS HEAD.

2008-02-16  Neal H. Walfield  <neal@gnu.org>

	* process-spawn.c (process_spawn) [RM_INTERN]: Don't take
	LRU_LOCK.

2008-02-13  Neal H. Walfield  <neal@gnu.org>

	* assert.h (assertx): Improve printing of backtrace.

2008-02-13  Neal H. Walfield  <neal@gnu.org>

	* ia32-cmain.c (cmain): Update user of _pthread_init_routine to
	reflect API change.

2008-02-11  Neal H. Walfield  <neal@gnu.org>

	* process-spawn.h: New file.
	* process-spawn.c: New file.
	* Makefile.am (common_sources): Add process-spawn.h and
	process-spawn.c.

2008-02-11  Neal H. Walfield  <neal@gnu.org>

	* loader.h (loader_allocate_object_callback_t): Add parameter ro.
	* loader.c (loader_elf_load): When calling ALLOC, pass whether or
	not the page should be mapped read-only to the callback.

2008-02-11  Neal H. Walfield  <neal@gnu.org>

	* ia32-cmain.c (program_name): Change type to char *.
	* t-setjmp.c (program_name): Likewise.
	* assert.h (assertx): Change program_name's type to char *.

2008-02-11  Neal H. Walfield  <neal@gnu.org>

	* ia32-crt0.S (_start): Clear EBP before jumping to cmain.

	* backtrace.c (backtrace): Limit to 21 stack frames.

2008-02-11  Neal H. Walfield  <neal@gnu.org>

	* backtrace.c (RA): Return if __builtin_frame_address returns 0.
	Correctly assign the return address to the appropriate slot in
	ARRAY.
	(backtrace): Limit to four stack frames.

2008-02-11  Neal H. Walfield  <neal@gnu.org>

	* _exit.c (_exit): Destroy the activity by finding its associated
	storage and deallocating that.  If killing the activity fails, try
	the same approach with the thread.

2008-02-08  Thomas Schwinge  <tschwinge@gnu.org>

	* Makefile.am (routines, routines_subexp, routines_objects)
	(routines_varname, $(routines_objects)): Remove.  Partially moved to
	newlib.

2008-02-05  Neal H. Walfield  <neal@gnu.org>

	* errno.h: Protect from multiple inclusion.  Don't include the
	next errno.h.  Include <hurd/error.h>.
	(errno): Don't undef.
	(error_t): Define.

2008-01-26  Neal H. Walfield  <neal@gnu.org>

	* features.h: Don't include <gnu/stubs.h>.
	(__GNU_LIBRARY__): Don't define.
	(__GLIBC__): Likewise.
	(__GLIBC_MINOR__): Likewise.
	(__GLIBC_PREREQ): Likewise.
	(__USE_LARGEFILE): Likewise.
	(__USE_LARGEFILE64): Likewise.
	(__USE_EXTERN_INLINES): Define even if __extern_inline is not
	defined.

2008-01-26  Thomas Schwinge  <tschwinge@gnu.org>

	* features.h: New file, from today's glibc CVS HEAD.

2008-01-25  Neal H. Walfield  <neal@gnu.org>

	* loader.h: Include <stdint.h> and <stdbool.h>.  Don't include
	<l4/types.h>, "cap.h", or "as.h".
	(struct activity): Remove forward.
	(struct thread): Remove forward.
	(loader_allocate_object_callback_t): New definition.
	(loader_lookup_object_callback_t): New definition.
	(loader_elf_load): Change prototype to take an allocation, a
	lookup, a start, an end, and an entry arguments.  Return a
	boolean.
	* loader.c: Don't include "cap.h", "object.h", "as.h" or
	"thread.h".  Include <l4.h>.
	(loader_elf_load): Change prototype to take an
	allocation, a lookup, a start, an end, and an entry arguments.
	Return a boolean.  Don't panic on an error.  Instead, print some
	debugging output and return false.  On success, return true.
	Update to use alloc and lookup callback functions.
	* elf.h: Move here from ../viengoos.
	* Makefile.am (common_sources): Add elf.h, loader.h and loader.c.

2008-01-24  Neal H. Walfield  <neal@gnu.org>

	* ia32-cmain.c (finish): Only copy what comes after the last '/'
	into program_name.
	* Makefile.am (routines): Add strrchr.

2008-01-24  Neal H. Walfield  <neal@gnu.org>

	* Makefile.am (ARCH_SOURCES): Rename from this...
	(ARCH_COMMON_SOURCES): ... to this.
	(ARCH_USER_SOURCES): New variable.
	(ARCH_KERNEL_SOURCES): Likewise.
	(noinst_LIBRARIES): Add libc-kernel.a.
	(common_sources): New variable.
	(libc_parts_a_SOURCES): Move most files to common_sources.  Add
	$(ARCH_COMMON_SOURCES), $(ARCH_USER_SOURCES)
	(libc_parts_a_CPPFLAGS): Add -I$(LIBC)/include.
	(libc_kernel_a_SOURCES): New variable.
	(libc_kernel_a_CPPFLAGS): Likewise.
	(libc_kernel_a_LIBADD): Likewise.
	* s_printf.c: Move from ../ruth/output.c.
	(s_putchar) [RM_INTERN || _L4_TEST_ENVIRONMENT]: Add appropriate
	implementation.
	* _exit.c: New file.
	* getpagesize.c: Likewise.
	* ia32-cmain.c: Copied from ../ruth/ia32-cmain.c.  Removed dead
	code.  Don't include "ruth.h".  Add prototype for main.
	(program_name): New variable.
	(finish): Setup program_name based on ARGV[0].
	* ia32-crt0.S: Copied from ../ruth/ia32-crt0.S.
	* panic.c: Copied from ../ruth/panic.c.
	(panic_): Call _exit.
	* startup.c: New file.

2008-01-24  Neal H. Walfield  <neal@gnu.org>

	* Makefile.am (t_setjmp_CPPFLAGS): Remove -D_L4_TEST_ENVIRONMENT.
	Add -DS_PRINTF=printf.

2008-01-24  Neal H. Walfield  <neal@gnu.org>

	* assert.h: Include <hurd/stddef.h>.
	(assertx): Use S_PRINTF rather than printf.

2008-01-23  Neal H. Walfield  <neal@gnu.org>

	* sys/mman.h: New file based on Glibc's <sys/mman.h> and
	<bits/mman.h>.

2008-01-13  Neal H. Walfield  <neal@gnu.org>

	* backtrace.c: New file.
	* Makefile.am (libc_parts_a_SOURCES): Add backtrace.c.

	* assert.h (assertx): Print a back trace.

2008-01-08  Neal H. Walfield  <neal@gnu.org>

	* setjmp.h: New file.
	* ia32-setjmp.S: New file.
	* t-setjmp.c: New file.
	* Makefile.am (ARCH_SOURCES): New variable.
	[ARCH_IA32]: Set to ia32-setjmp.S.
	(libc_parts_a_SOURCES): Add $(ARCH_SOURCES).
	(COMMON_CPPFLAGS): New variable.
	(libc_parts_a_CPPFLAGS): Set it to $(COMMON_CPPFLAGS).
	(TESTS): New variable.
	(check_PROGRAMS): Likewise.
	(t_setjmp_CPPFLAGS): Likewise.
	(t_setjmp_SOURCES): Likewise.

2007-12-23  Neal H. Walfield  <neal@gnu.org>

	* strtol.c: Don't inlcude <stdlib.h>.

2007-12-12  Neal H. Walfield  <neal@gnu.org>

	* assert.h (assertx): New macro.

2007-12-10  Neal H. Walfield  <neal@gnu.org>

	* assert.h [! NDEBUG]: Include <l4/thread.h>.
	[! NDEBUG] (assert): Also print the caller's thread id.

2007-11-16  Neal H. Walfield  <neal@gnu.org>

	* assert.h (assert): Print program_name and EXPR as a string.

2007-10-17  Neal H. Walfield  <neal@gnu.org>

	* assert.h [_L4_TEST_ENVIRONMENT]: Include the next <assert.h>.

2005-01-12  Neal H. Walfield  <neal@gnu.org>

	* assert.h: Include prototype for printf.
	(assert) [!NDEBUG]: Rewrite to do something useful.

2004-10-20  Marcus Brinkmann  <marcus@gnu.org>

	* assert.h (assert): Only define if not defined.

2004-04-05  Marcus Brinkmann  <marcus@gnu.org>

	* assert.h (assert): Fix last change.

2004-03-25  Marcus Brinkmann  <marcus@gnu.org>

	* assert.h (assert): Provide a dummy statement.

2003-10-16  Johan Rydberg  <jrydberg@night.trouble.net>

	* Makefile.am (libc_parts_a_SOURCES): Add assert.h.
	* assert.h: New file.

2003-09-19  Marcus Brinkmann  <marcus@gnu.org>

	* ctype.h, errno.h, errno.c: New files.
	* c-ctype.h, c-ctype.c, strtol.c: New files from gnulib.
	* Makefile.am (libc_parts_a_SOURCES): Add ctype.h, c-ctype.h,
	c-ctype.c, errno.h, errno.c, strtol.c, strtoll.c, strtoul.c and
	strtoull.c.
	(routines): Add atoi, atoll, strtoimax and strtoumax.