summaryrefslogtreecommitdiff
path: root/newlib/ChangeLog
blob: c741b15466372c26c800e693750ac9340d14dec5 (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
2008-02-21  Neal H. Walfield  <neal@gnu.org>

	* Makefile.am (patch_files): Add
	05-newlib-newlib-libc-include-machine-setjmp-h.patch,
	06-newlib-newlib-libc-machine-i386-i386mach-h.patch, and
	07-newlib-newlib-libm-machine-i386-i386mach-h.patch.
	(ccheaders): Remove variable.
	(SYSINCLUDES): Likewise.
	(newlib-build/libc.a newlib-build/libm.a): Set TARGET_CFLAGS to
	"$(USER_CPPFLAGS) $(USER_CFLAGS) $(USER_LDFLAGS)".
	* newlib/patches/05-newlib-newlib-libc-include-machine-setjmp-h.patch:
	New file.
	* newlib/patches/06-newlib-newlib-libc-machine-i386-i386mach-h.patch:
	New file.
	* newlib/patches/07-newlib-newlib-libm-machine-i386-i386mach-h.patch:
	New file.

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

	* addon/newlib/libc/sys/hurd/getreent.c (slab_alloc): Update use
	of storage_alloc to be consistent with new API.

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

	* addon/newlib/libc/sys/hurd/getreent.c (__getreent): Assert
	MM_INIT_DONE.

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

	* Makefile.am (noinst_LIBRARIES): Add `libc-routines.a'.
	(libc-routines.a, routines_subexp, routines): New target and helper
	expressions, partially ripped from libc-parts.
	(clean-local): Extend.

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

	* addon/newlib/libc/sys/hurd/sys/lock.h: Include <hurd/stddef.h>.
	(__newlib_trace_locks): New declaration.
	(__lock_release): Add debugging output.
	(__lock_acquire): Likewise.
	(__lock_try_acquire): Likewise.
	(__lock_acquire_recursive): Likewise.
	(__lock_try_acquire_recursive): Likewise.
	(__lock_release_recursive): Likewise.
	* addon/newlib/libc/sys/hurd/lock.c (__newlib_trace_locks): New
	definition.

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

	* addon/newlib/libc/sys/hurd/sys/errno.h: New file.
	* Makefile.am (addon): Add newlib/libc/sys/hurd/sys/errno.h.

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

	* Makefile.am: Typo fixes.

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

	* Makefile.am (newlib-configure-stamp): Don't pass CPPFLAGS and CFLAGS.
	(ccheaders, SYSINCLUDES): New variables.
	(newlib-build/libc.a): Pass TARGET_CFLAGS (summing up all the above
	flags) to the make invocation.

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

	* addon/newlib/libc/sys/hurd/malloc.c (INITIAL_LOCK): Correctly
	parenthesize use of LOCK.
	(ACQUIRE_LOCK): Likewise.
	(RELEASE_LOCK): Likewise.

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

	* Makefile.am (abs_top_builddir, abs_srcdir, abs_top_srcdir): Use
	on-demand evaluation.

	* patches/04-newlib-newlib-configure-ac.patch: Use ``readlink -f''
	instead of ``realpath''.

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

	* Makefile.am (newlib-configure-stamp): Add -fno-stack-protector
	to the configure invocation.

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

	* addon/newlib/libc/sys/hurd/getreent.c (reent_main): New
	variable.
	(reent_main_alloced): Likewise.
	(reent_key_destroy): Clear utcb[_L4_UTCB_THREAD_WORD0].
	(__getreent): If REENT_MAIN_ALLOCED is not true, then use
	REENT_MAIN.  Otherwise, use the slab.  Only initialize the key if
	we use the slab and then, only after we've initialized the new
	structure and stashed it in utcb[_L4_UTCB_THREAD_WORD0].

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

	* addon/newlib/libc/sys/hurd/isatty.c: New file.
	* addon/newlib/libc/sys/hurd/Makefile.am (GENERAL_SOURCES): Add
	isatty.c.
	* Makefile.am (addon): Add newlib/libc/sys/hurd/isatty.c.

	* addon/newlib/libc/sys/hurd/sys/config.h (_LARGEFILE64_SOURCE):
	Don't define.
	(__LARGE64_FILES): Likewise.

	* addon/newlib/libc/sys/hurd/malloc.c: Include <sys/lock.h>
	(MLOCK_T): Define.
	(INITIAL_LOCK): Likewise.
	(ACQUIRE_LOCK): Likewise.
	(RELEASE_LOCK): Likewise.

	* addon/newlib/libc/sys/hurd/writer.c: Include <hurd/rm.h>.
	(_write_r): If FD is 1 or 2, then send the buffer to the console.

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

	* addon/newlib/libc/sys/hurd/malloc.c (HAVE_MREMAP): Define to 0.

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

	* addon/newlib/libc/sys/hurd/Makefile.am (GENERAL_SOURCES): Add
	lock.c.

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

	* Makefile.am ($(srcdir)/newlib $(srcdir)/newlib-stamp): When
	extracting the tarball, remove the patch-applied stamps.
	($(addsuffix -applied,$(patch_files))): Depend on
	$(srcdir)/newlib, not $(srcdir)/newlib-stamp.

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

	* addon/newlib/libc/sys/hurd/Makefile.am: New file.
	* addon/newlib/libc/sys/hurd/aclocal.m4: Likewise.
	* addon/newlib/libc/sys/hurd/closer.c: Likewise.
	* addon/newlib/libc/sys/hurd/configure: Likewise.
	* addon/newlib/libc/sys/hurd/configure.ac: Likewise.
	* addon/newlib/libc/sys/hurd/crt0.c: Likewise.
	* addon/newlib/libc/sys/hurd/fcntlr.c: Likewise.
	* addon/newlib/libc/sys/hurd/fstatr.c: Likewise.
	* addon/newlib/libc/sys/hurd/getreent.c: Likewise.
	* addon/newlib/libc/sys/hurd/gettimeofdayr.c: Likewise.
	* addon/newlib/libc/sys/hurd/linkr.c: Likewise.
	* addon/newlib/libc/sys/hurd/lock.c: Likewise.
	* addon/newlib/libc/sys/hurd/lseekr.c: Likewise.
	* addon/newlib/libc/sys/hurd/malloc.c: Likewise.
	* addon/newlib/libc/sys/hurd/mallocr.c: Likewise.
	* addon/newlib/libc/sys/hurd/openr.c: Likewise.
	* addon/newlib/libc/sys/hurd/readr.c: Likewise.
	* addon/newlib/libc/sys/hurd/reent.c: Likewise.
	* addon/newlib/libc/sys/hurd/renamer.c: Likewise.
	* addon/newlib/libc/sys/hurd/sbrkr.c: Likewise.
	* addon/newlib/libc/sys/hurd/signalr.c: Likewise.
	* addon/newlib/libc/sys/hurd/statr.c: Likewise.
	* addon/newlib/libc/sys/hurd/timesr.c: Likewise.
	* addon/newlib/libc/sys/hurd/unlinkr.c: Likewise.
	* addon/newlib/libc/sys/hurd/writer.c: Likewise.
	* addon/newlib/libc/sys/hurd/include/assert.h: Likewise.
	* addon/newlib/libc/sys/hurd/include/pthread.h: Likewise.
	* addon/newlib/libc/sys/hurd/sys/config.h: Likewise.
	* addon/newlib/libc/sys/hurd/sys/lock.h: Likewise.
	* patches/00-newlib-configure-ac.patch: Likewise.
	* patches/01-newlib-libc-sys-configure-in.patch: Likewise.
	* patches/02-newlib-newlib-libc-string-makefile-am.patch: Likewise.
	* patches/03-newlib-newlib-configure-host.patch: Likewise.
	* patches/04-newlib-newlib-configure-ac.patch: Likewise.
	* Makefile.am (patch_files): Add 00-newlib-configure-ac.patch,
	01-newlib-libc-sys-configure-in.patch,
	02-newlib-newlib-libc-string-makefile-am.patch,
	03-newlib-newlib-configure-host.patch, and
	04-newlib-newlib-configure-ac.patch.
	(addon): newlib/libc/sys/hurd/configure.ac,
	newlib/libc/sys/hurd/configure, newlib/libc/sys/hurd/Makefile.am,
	newlib/libc/sys/hurd/Makefile.in, newlib/libc/sys/hurd/aclocal.m4,
	newlib/libc/sys/hurd/closer.c, newlib/libc/sys/hurd/reent.c,
	newlib/libc/sys/hurd/fcntlr.c, newlib/libc/sys/hurd/fstatr.c,
	newlib/libc/sys/hurd/gettimeofdayr.c,
	newlib/libc/sys/hurd/linkr.c, newlib/libc/sys/hurd/lseekr.c,
	newlib/libc/sys/hurd/openr.c, newlib/libc/sys/hurd/readr.c,
	newlib/libc/sys/hurd/renamer.c, newlib/libc/sys/hurd/signalr.c,
	newlib/libc/sys/hurd/sbrkr.c, newlib/libc/sys/hurd/statr.c,
	newlib/libc/sys/hurd/timesr.c, newlib/libc/sys/hurd/unlinkr.c,
	newlib/libc/sys/hurd/writer.c, newlib/libc/sys/hurd/getreent.c,
	newlib/libc/sys/hurd/malloc.c, newlib/libc/sys/hurd/mallocr.c,
	newlib/libc/sys/hurd/lock.c, newlib/libc/sys/hurd/crt0.c,
	newlib/libc/sys/hurd/include/pthread.h,
	newlib/libc/sys/hurd/include/assert.h,
	newlib/libc/sys/hurd/sys/lock.h, and
	newlib/libc/sys/hurd/sys/config.h.
	(abs_top_srcdir): New variable.
	(newlib-configure-stamp): Run autoreconf.  Add
	-I$(abs_top_srcdir)/libc-parts to CPPFLAGS.  Set prefix to
	newlib-install.  Add include --enable-newlib-multithread when
	invoking configure.
	(newlib-configure-stamp): Also run make install.
	(include): Link to installed include directory.

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

	* Makefile.am: (patches): Remove variable.  Update users to use
	$(patch_files) directly.
	(EXTRA_DIST): Prefix the addon fields with `addon/'.
	($(srcdir)/newlib): Make it depend on the tarball.  When
	extracted, touch it.
	($(srcdir)/newlib-patch-stamp): Remove rule.
	($(addsuffix -applied,$(patch_files))): Replace with rule to copy
	the applied patch to the build directory and use that as a
	reference.  If the source patch is changed, revert the original
	patch before applying the new patch.
	($(addprefix $(srcdir)/newlib/, $(addon))): Depend on the
	individual addon files rather than a stamp file.  When linking
	add-on files into the source tree, pass -f to ln.
	(newlib-configure-stamp): When configuring, add
	--enable-maintainer-mode.
	(clean-local): Remove the source directory.
	(CLEANFILES): Remove $(srcdir)/newlib-stamp.

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

	* Makefile.am (clean-local): New rule.
	(distclean-local): Likewise.
	(CLEANFILES): New variable.
	(DISTCLEANFILES): Likewise.

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

	* .cvsignore: New file.
	* ChangeLog: New file mentioning itself.
	* Makefile.am: New file.
	* README: Likewise.
	* addon: New directory.
	* patches: Likewise.