aboutsummaryrefslogtreecommitdiff
path: root/config/ChangeLog
blob: 15c7c3e0ae31e5ef902983d6c26d2ccb5a0415bc (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
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
2002-12-28  Alexandre Oliva  <aoliva@redhat.com>

	* acx.m4: Name cache variables properly.
	(NCN_STRICT_CHECK_TOOL): If program is not found and 
	value-if-not-found is empty, use ${ncn_tool_prefix}$2 or $2,
	depending on whether build != host or not.
	(NCN_STRICT_CHECK_TARGET_TOOL): Ditto, with the target prefix.

2002-12-28  Nathanael Nerode  <neroden@gcc.gnu.org>

	* acx.m4: New.
	* mh-a68bsd, mh-aix386, mh-apollo68, mh-delta88, mh-hp300,
	mh-hpux, mh-hpux8, mh-irix5, mh-irix6, mh-ncrsvr43, mh-openedition,
	mh-riscos, mh-sysv: Delete.
	* mh-cxux, mh-dgux386, mh-interix, mh-lynxrs6k, mh-ncr3000,
	mh-necv4, mh-sco, mh-solaris, mh-sysv4, mh-sysv5, mt-v810: Simplify.

2002-12-16  Christopher Faylor  <cgf@redhat.com>

	* mh-cygwin: Don't build libtermcap if it doesn't exist.

2002-11-23  H.J. Lu <hjl@gnu.org>

	* accross.m4: New.

2002-11-10  Stan Shebs  <shebs@apple.com>

	Retire common MPW configury bits.
	* mpw-mh-mpw: Remove.
	* mpw: Remove directory along with all of its files.

2002-05-16  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>

	* acinclude.m4: Allow for PWDCMD to override hardcoded pwd.

2002-05-13  Nathanael Nerode  <neroden@twcny.rr.com>

	* mh-apollo68: remove unused HDEFINES setting.
	* mh-dgux: remove unused HDEFINES setting.
	* mh-dgux386: remove unused HDEFINES setting, duplicate RANLIB=true.

2002-04-29  Nathanael Nerode  <neroden@twcny.rr.com>

	* config/mh-cxux: remove dead code
	* config/mh-dgux386: remove dead code
	* config/mh-hp300: remove dead code
	* config/mh-hpux: remove dead code
	* config/mh-hpux8: remove dead code
	* config/mh-irix5: remove dead code
	* config/mh-irix6: remove dead code
	* config/mh-ncr3000: remove dead code
	* config/mh-ncrsvr43: remove dead code
	* config/mh-necv4: remove dead code
	* config/mh-sco: remove dead code
	* config/mh-solaris: remove dead code
	* config/mh-sysv: remove dead code
	* config/mh-sysv4: remove dead code
	* config/mh-sysv5: remove dead code
	* config/mh-irix4: remove, contains only dead code

	* config/mt-armpic: Delete.
	* config/mt-elfalphapic: Delete.
	* config/mt-i370pic: Delete.
	* config/mt-ia64pic: Delete.
	* config/mt-m68kpic: Delete.
	* config/mt-papic: Delete.
	* config/mt-ppcpic: Delete.
	* config/mt-s390pic: Delete.
	* config/mt-sparcpic: Delete.
	* config/mt-x86pic: Delete.

2002-04-19  Nathanael Nerode  <neroden@twcny.rr.com>

	* mh-a68bsd: clean out dead code
	* mh-apollo68: clean out dead code
	* mh-cxux: clean out dead code
	* mh-decstation: clean out dead code
	* mh-dgux: clean out dead code
	* mh-dgux386: clean out dead code
	* mh-hp300: clean out dead code
	* mh-hpux: clean out dead code
	* mh-hpux8: clean out dead code
	* mh-interix: clean out dead code
	* mh-irix4: clean out dead code
	* mh-lynxrs6k: clean out dead code
	* mh-mingw32: clean out dead code
	* mh-ncr3000: clean out dead code
	* mh-ncrsvr43: clean out dead code
	* mh-necv4: clean out dead code
	* mh-openedition: clean out dead code
	* mh-riscos: clean out dead code
	* mh-sco: clean out dead code
	* mh-sysv4: clean out dead code
	* mh-lynxos: removed, contained only dead code
	* mh-vaxult2: removed, contained only dead code
	* mh-sun3: removed, contained only dead code

2002-04-15  Keith Seitz  <keiths@redhat.com>

	* acinclude.m4 (CYG_AC_PATH_TCLCONFIG): Search the win/ directory,
	too.
	(CYG_AC_PATH_TKCONFIG): Likewise.

2001-10-07  Joseph S. Myers  <jsm28@cam.ac.uk>

	* acinclude.m4: Fix spelling error of "separate" as "seperate".

2001-05-22  Jason Merrill  <jason_merrill@redhat.com>

	* mt-linux (CXXFLAGS_FOR_TARGET): Lose -fvtable-thunks.

2001-01-27  Richard Henderson  <rth@redhat.com>

	* mt-alphaieee: New file.

2001-01-02  Laurynas Biveinis  <lauras@softhome.net>

	* mh-djgpp: do not set CFLAGS.

2000-08-04  Mark Elbrecht  <snowball3@bigfoot.com>

	* mh-djgpp: Conditionally set 'target_alias' to djgpp. Conditionally
	modify 'gcc_version'.

2000-07-21  Andrew Haley  <aph@cygnus.com>

	* mh-ia64pic: New file.
	* mt-ia64pic: New file.	

2001-02-09  Martin Schwidefsky  <schwidefsky@de.ibm.com>

	* mh-s390pic: New file.
	* mt-s390pic: New file.

2000-07-14  Mark P Mitchell  <mark@codesourcery.com>

	* mh-irix6 (CC): Don't set it.

2000-06-21  Branko Cibej  <branko.cibej@hermes.si>

	* mh-sparcpic: Use single instead of double quotes.
	* mt-sparcpic: Likewise.

2000-06-19  Syd Polk <spolk@redhat.com>

	* acinclude.m4: Updated for Incr Tcl 3.0.

2000-02-23  Linas Vepstas <linas@linas.org>

	* mh-i370pic: New file.
	* mt-i370pic: New file.

2000-02-22  Nick Clifton  <nickc@cygnus.com>

	* config/mt-wince: new file: Makefile fragment for WinCE targets.

2000-01-06  Geoff Keating  <geoffk@cygnus.com>

	* mh-aix43: Delete, move to mt-aix43.
	* mt-aix43: New file.

Tue Sep  7 23:31:01 1999  Linas Vepstas  <linas@linas.org>

	* mh-openedition: New file.

1999-04-07  Michael Meissner  <meissner@cygnus.com>

	* mt-d30v: New file, pass -g -Os -Wa,-C as default options.

1999-02-08  Syd Polk  <spolk@cygnus.com>

	* acinclude.m4: Added macros to find itcl files.
	Export TCL_CFLAGS from tclConfig.sh.
	Export TCL_LIB_FULL_PATH, TK_LIB_FULL_PATH, ITCL_LIB_FULL_PATH,
	ITK_LIB_FULL_PATH, and TIX_LIB_FULL_PATH
	Replace TIX macros with better ones from snavigator.

Tue Feb  2 22:51:21 1999 Philip Blundell  <philb@gnu.org>

	* mh-armpic: New file.  Patch from Jim Pick <jim@jimpick.com>.
	* mt-armpic: Likewise.

Mon Jan 18 19:41:08 1999  Christopher Faylor <cgf@cygnus.com>

	* cygwin.mh: Activate commented out dependencies for
	gdb: libtermcap.

Wed Nov 18 20:29:46 1998  Christopher Faylor <cgf@cygnus.com>

	* cygwin.mh: Add extra libtermcap target information.
	Add commented out dependency for gdb to libtermcap for
	future readline requirement.

Mon Nov  2 15:15:33 1998  Geoffrey Noer  <noer@cygnus.com>

        * mh-cygwin32: delete
        * mh-cygwin: was mh-cygwin32

1998-10-26  Syd Polk  <spolk@cygnus.com>

	* acinclude.m4: TCLHDIR and TKHDIR need to be run through
	cygpath for Microsoft builds.

1998-10-20  Syd Polk  <spolk@cygnus.com>

	* acinclude.m4: Re-exported TCL_LIBS and TCL_LD_SEARCH_FLAGS
	because itcl needs them.

Mon Aug 31 17:50:53 1998  David Edelsohn  <edelsohn@mhpcc.edu>

	* mh-aix43 (NM_FOR_TARGET): Add -X32_64 as well.

Sat Aug 29 14:32:55 1998  David Edelsohn  <edelsohn@mhpcc.edu>

	* mh-aix43: New file.

Mon Aug 10 00:15:47 1998  HJ Lu (hjl@gnu.org)

	* mt-linux (CXXFLAGS_FOR_TARGET): Add -D_GNU_SOURCE.

1998-05-29  Rob Savoye  <rob@chinadoll.cygnus.com>

	* acinclude.m4: New collection of generic autoconf macros.
	
Wed Apr 22 12:24:28 1998  Michael Meissner  <meissner@cygnus.com>

	* mt-ospace: New file, support using -Os instead of -O2 to compile
	the libraries.

Wed Apr 22 10:53:14 1998  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>

	* mt-linux (CXXFLAGS_FOR_TARGET): Set this instead of CXXFLAGS.

Sat Apr 11 22:43:17 1998  J. Kean Johnston  <jkj@sco.com>

	* mh-svsv5: New file - support for SCO UnixWare 7 / SVR5.

Thu Mar 26 01:54:25 1998  Geoffrey Noer  <noer@cygnus.com>

	* mh-cygwin32: stop configuring and building dosrel.

Thu Sep 11 16:43:27 1997  Jim Wilson  <wilson@cygnus.com>

	* mh-elfalphapic, mt-elfalphapic: New files.

Wed Jul 23 12:32:18 1997  Robert Hoehne <robert.hoehne@Mathematik.TU-Chemnitz.DE>

	* mh-go32 (CFLAGS): Don't set -fno-omit-frame-pointer.

Mon Jun 16 19:06:41 1997  Geoff Keating  <geoffk@ozemail.com.au>

	* mh-ppcpic: New file.
	* mt-ppcpic: New file.

Thu Mar 27 15:52:40 1997  Geoffrey Noer  <noer@cygnus.com>

	* mh-cygwin32: override CXXFLAGS, setting to -O2 only
	(no debug)

Tue Mar 25 18:16:43 1997  Geoffrey Noer  <noer@cygnus.com>

	* mh-cygwin32: override LIBGCC2_DEBUG_CFLAGS so debug info
	isn't included in cygwin32-hosted libgcc2.a by default

Wed Jan  8 19:56:43 1997  Geoffrey Noer  <noer@cygnus.com>

        * mh-cygwin32: override CFLAGS so debug info isn't included
        in cygwin32-hosted tools by default

Tue Dec 31 16:04:26 1996  Ian Lance Taylor  <ian@cygnus.com>

	* mh-linux: Remove.

Mon Nov 11 10:29:51 1996  Michael Meissner  <meissner@tiktok.cygnus.com>

	* mt-ppc: Delete file, options moved to newlib configure.

Fri Oct  4 12:21:03 1996  Angela Marie Thomas (angela@cygnus.com)

	* mh-dgux386: New file.  x86 dgux specific flags

Mon Sep 30 15:10:07 1996  Stan Shebs  <shebs@andros.cygnus.com>

	* mpw-mh-mpw (EXTRALIBS_PPC_XCOFF): New, was EXTRALIBS_PPC.
	(EXTRALIBS_PPC): Use shared libraries instead of xcoff.

Sat Aug 17 04:56:25 1996  Geoffrey Noer  <noer@skaro.cygnus.com>

	* mh-cygwin32: don't -D_WIN32 here anymore

Thu Aug 15 19:46:44 1996  Stan Shebs  <shebs@andros.cygnus.com>

	* mpw-mh-mpw (SEGFLAG_68K, SEGFLAG_PPC): Remove.
	(EXTRALIBS_PPC): Add libgcc.xcoff.

Thu Aug  8 14:51:47 1996  Michael Meissner  <meissner@tiktok.cygnus.com>

	* mt-ppc: New file, add -mrelocatable-lib and -mno-eabi to all
	target builds for PowerPC eabi targets.

Fri Jul 12 12:06:01 1996  Stan Shebs  <shebs@andros.cygnus.com>

	* mpw: New subdir, Mac MPW configuration support bits.

Mon Jul  8 17:30:52 1996  Jim Wilson  <wilson@cygnus.com>

	* mh-irix6: New file.

Mon Jul  8 15:15:37 1996  Jason Merrill  <jason@yorick.cygnus.com>

	* mt-sparcpic (PICFLAG_FOR_TARGET): Use -fPIC.

Fri Jul  5 11:49:02 1996  Ian Lance Taylor  <ian@cygnus.com>

	* mh-irix4 (RANLIB): Don't define; Irix 4 does have ranlib.

Sun Jun 23 22:59:25 1996  Geoffrey Noer  <noer@cygnus.com>

	* mh-cygwin32: new file.  Like mh-go32 without the CFLAGS entry.

Tue Mar 26 14:10:41 1996  Ian Lance Taylor  <ian@cygnus.com>

	* mh-go32 (CFLAGS): Define.

Thu Mar 14 19:20:54 1996  Ian Lance Taylor  <ian@cygnus.com>

	* mh-necv4: New file.

Thu Feb 15 13:07:43 1996  Ian Lance Taylor  <ian@cygnus.com>

	* mh-cxux (CC): New variable.
	(CFLAGS, LDFLAGS): Remove.
	* mh-ncrsvr43 (CC): New variable.
	(CFLAGS): Remove.
	* mh-solaris (CFLAGS): Remove.

	* mh-go32: Remove most variable settings, since they presumed a
	Canadian Cross, which is now handled correctly by the configure
	script.

	* mh-sparcpic (PICFLAG): Set to -fPIC, not -fpic.

Mon Feb 12 14:53:39 1996  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>

	* mh-m68kpic, mt-m68kpic: New files.

Thu Feb  1 14:15:42 1996  Stan Shebs  <shebs@andros.cygnus.com>

	* mpw-mh-mpw (CC_MWC68K): Add options similar to those used
	in CC_MWCPPC, and -mc68020 -model far.
	(AR_MWLINK68K): Add -xm library.
	(AR_AR): Define.
	(CC_LD_MWLINK68K): Remove -d.
	(EXTRALIBS_MWC68K): Define.

Thu Jan 25 16:05:33 1996  Ian Lance Taylor  <ian@cygnus.com>

	* mh-ncrsvr43 (CFLAGS): Remove -Hnocopyr.

Tue Nov  7 15:41:30 1995  Stan Shebs  <shebs@andros.cygnus.com>

	* mpw-mh-mpw (CC_MWC68K, CC_MWCPPC): Remove unused include path.
	(CC_MWCPPC): Add -mpw_chars, disable warnings, add comments
	explaining reasons for various flags.
	(EXTRALIBS_PPC, EXTRALIBS_MWCPPC ): Put runtime library first.
	
Fri Oct 13 14:44:25 1995  Jason Molenda  (crash@phydeaux.cygnus.com)

	* mh-aix, mh-sun:  Removed.

	* mh-decstation (X11_EXTRA_CFLAGS): Define.

	* mh-sco, mh-solaris, mh-sysv4 (X11_EXTRA_LIBS): Define.

        * mh-hp300, mh-hpux, mh-hpux8, mh-solaris, mh-sun3, mh-sysv4: Don't 
	hardcode location of X stuff here.

Thu Sep 28 13:14:56 1995  Stan Shebs  <shebs@andros.cygnus.com>

	* mpw-mh-mpw: Add definitions for various 68K and PowerMac
	compilers, add definitions for library and link steps for
	PowerMacs.

Thu Sep 14 08:20:04 1995  Fred Fish  <fnf@cygnus.com>

	* mh-hp300 (CC): Add "CC = cc -Wp,-H256000" to avoid
	"too much defining" errors from the HPUX compiler.

Thu Aug 17 17:28:56 1995  Ken Raeburn  <raeburn@kr-laptop.cygnus.com>

	* mh-hp300 (RANLIB): Use "ar ts", in case GNU ar was used and
	didn't build a symbol table.

Thu Jun 22 17:47:24 1995  Stan Shebs  <shebs@andros.cygnus.com>

	* mpw-mh-mpw (CC): Define ANSI_PROTOTYPES.

Mon Apr 10 12:29:48 1995  Stan Shebs  <shebs@andros.cygnus.com>

	* mpw-mh-mpw (EXTRALIBS): Always link in Math.o, CSANELIB.o,
        and ToolLibs.o.

	* mpw-mh-mpw (CC): Define ALMOST_STDC.
	(CFLAGS): Remove ALMOST_STDC, -mc68881.
	(LDFLAGS): add -w.

	* mpw-mh-mpw (CFLAGS): Add -b option to put strings at the ends of
	functions.

	* mpw-mh-mpw: New file, host makefile definitions for MPW.

Fri Mar 31 11:35:17 1995  Jason Molenda (crash@phydeaux.cygnus.com)

	* mt-netware: New file.

Mon Mar 13 12:31:29 1995  Ian Lance Taylor  <ian@cygnus.com>

	* mh-hpux8: New file.
	* mh-hpux: Use X11R5 rather than X11R4.

Thu Feb  9 11:04:13 1995  Ian Lance Taylor  <ian@cygnus.com>

	* mh-linux (SYSV): Don't define.
	(RANLIB): Don't define.

Wed Jan 11 16:29:34 1995  Jason Merrill  <jason@phydeaux.cygnus.com>

	* m?-*pic (LIBCXXFLAGS): Add -fno-implicit-templates.

Thu Nov  3 17:27:19 1994  Ken Raeburn  <raeburn@cujo.cygnus.com>

	* mh-irix4 (CC): Increase maximum string length.

	* mh-sco (CC): Define away const, it doesn't work right; elements
	of arrays of ptr-to-const are considered const themselves.

Sat Jul 16 12:17:49 1994  Stan Shebs  (shebs@andros.cygnus.com)

	* mh-cxux: New file, from Bob Rusk (rrusk@mail.csd.harris.com).

Sat Jun  4 17:22:12 1994  Per Bothner  (bothner@kalessin.cygnus.com)

	* mh-ncrsvr43:  New file from Tom McConnell
	<tmcconne@sedona.intel.com>.

Thu May 19 00:32:11 1994  Jeff Law  (law@snake.cs.utah.edu)

	* mh-hpux (CC): Add -Wp,-H256000 to avoid "too much defining"
	errors from the HPUX 8 compilers.

Wed May  4 20:14:47 1994  D. V. Henkel-Wallace  (gumby@cygnus.com)

	* mh-lynxrs6k: set SHELL to /bin/bash

Tue Apr 12 12:38:17 1994  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)

	* mh-irix4 (CC): Change -XNh1500 to -XNh2000.

Sat Dec 25 20:03:45 1993  Jeffrey A. Law  (law@snake.cs.utah.edu)

	* mt-hppa: Delete.

Tue Nov 16 22:54:39 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)

	* mh-a68bsd: Define CC to gcc.

Mon Nov 15 16:56:51 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)

	* mh-linux: Don't put -static in LDFLAGS.  Add comments.

Mon Nov 15 13:37:58 1993  david d `zoo' zuhn  (zoo@cirdan.cygnus.com)

	* mh-sysv4 (AR_FLAGS): change from cq to cr

Fri Nov  5 08:12:32 1993  D. V. Henkel-Wallace  (gumby@blues.cygnus.com)

	* mh-unixware: remove.  It's the same as sysv4, and config.guess
	can't tell the difference.  So don't allow skew.

Wed Oct 20 20:35:14 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)

	* mh-hp300: Revert yesterday's change, but add comment explaining.

Tue Oct 19 18:58:21 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)

	* mh-hp300: Don't define CFLAGS to empty.  Why should hp300 be
	different from anything else?  ("gdb doesn't understand the native
	debug format" isn't a good enough answer because we might be using
	gcc).

Tue Oct  5 12:17:40 1993  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)

	* mh-alphaosf: Remove, no longer necessary now that gdb knows
	how to handle OSF/1 shared libraries.

Tue Jul  6 11:27:33 1993  Steve Chamberlain  (sac@phydeaux.cygnus.com)

	* mh-alphaosf: New file.

Thu Jul  1 15:49:33 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)

	* mh-riscos: New file.

Mon Jun 14 12:03:18 1993  david d `zoo' zuhn  (zoo at rtl.cygnus.com)

	* mh-aix, mh-aix386, mh-decstation, mh-delta88, mh-hpux, mh-irix4,
	mh-ncr3000, mh-solaris, mh-sysv, mh-sysv4: remove INSTALL=cp line,
	now that we're using install.sh globally

Fri Jun  4 16:09:34 1993  Ian Lance Taylor  (ian@cygnus.com)

	* mh-sysv4 (INSTALL): Use cp, not /usr/ucb/install.

Thu Apr  8 11:21:52 1993  Ian Lance Taylor  (ian@cygnus.com)

	* mt-a29k, mt-ebmon29k, mt-os68k, mt-ose68000, mt-ose68k,
	mt-vxworks68, mt-vxworks960: Removed obsolete, unused target
	Makefile fragment files.

Mon Mar  8 15:05:25 1993  Ken Raeburn  (raeburn@cambridge.cygnus.com)

	* mh-aix386: New file; old mh-aix, plus no-op RANLIB.

Thu Oct  1 13:50:48 1992  david d `zoo' zuhn  (zoo at cirdan.cygnus.com)

	* mh-solaris: INSTALL is NOT /usr/ucb/install

Mon Aug 24 14:25:35 1992  Ian Lance Taylor  (ian@cygnus.com)

	* mt-ose68000, mt-ose68k: renamed from mt-OSE*.

Tue Jul 21 02:11:01 1992  D. V. Henkel-Wallace  (gumby@cygnus.com)

	* mt-OSE68k, mt-680000: new configs.

Thu Jul 16 17:12:09 1992  K. Richard Pixley  (rich@rtl.cygnus.com)

	* mh-irix4: merged changes from progressive.

Tue Jun  9 23:29:38 1992  Per Bothner  (bothner@rtl.cygnus.com)

	* Everywhere: Change RANLIB=echo>/dev/null (which confuses
	some shells - and I don't blame them) to RANLIB=true.
	* mh-solaris:  Use /usr/ucb/install for INSTALL.

Sun May 31 14:45:23 1992  Mark Eichin  (eichin at cygnus.com)

	* mh-solaris2: Add new configuration for Solaris 2 (sysv, no ranlib)

Fri Apr 10 23:10:08 1992  Fred Fish  (fnf@cygnus.com)

	* mh-ncr3000:  Add new configuration for NCR 3000.

Tue Dec 10 00:10:55 1991  K. Richard Pixley  (rich at rtl.cygnus.com)

	* ChangeLog: fresh changelog.

="hl str">"rtlbsx", "rtlblo", "rtlbhi", "rslr", "rshr" }; #define MICROBLAZE_NUM_REGS ARRAY_SIZE (microblaze_register_names) static unsigned int microblaze_debug_flag = 0; static void microblaze_debug (const char *fmt, ...) { if (microblaze_debug_flag) { va_list args; va_start (args, fmt); printf_unfiltered ("MICROBLAZE: "); vprintf_unfiltered (fmt, args); va_end (args); } } /* Return the name of register REGNUM. */ static const char * microblaze_register_name (struct gdbarch *gdbarch, int regnum) { if (regnum >= 0 && regnum < MICROBLAZE_NUM_REGS) return microblaze_register_names[regnum]; return NULL; } static struct type * microblaze_register_type (struct gdbarch *gdbarch, int regnum) { if (regnum == MICROBLAZE_SP_REGNUM) return builtin_type (gdbarch)->builtin_data_ptr; if (regnum == MICROBLAZE_PC_REGNUM) return builtin_type (gdbarch)->builtin_func_ptr; return builtin_type (gdbarch)->builtin_int; } /* Fetch the instruction at PC. */ static unsigned long microblaze_fetch_instruction (CORE_ADDR pc) { enum bfd_endian byte_order = gdbarch_byte_order (target_gdbarch ()); gdb_byte buf[4]; /* If we can't read the instruction at PC, return zero. */ if (target_read_code (pc, buf, sizeof (buf))) return 0; return extract_unsigned_integer (buf, 4, byte_order); } static const gdb_byte * microblaze_breakpoint_from_pc (struct gdbarch *gdbarch, CORE_ADDR *pc, int *len) { static gdb_byte break_insn[] = MICROBLAZE_BREAKPOINT; *len = sizeof (break_insn); return break_insn; } /* Allocate and initialize a frame cache. */ static struct microblaze_frame_cache * microblaze_alloc_frame_cache (void) { struct microblaze_frame_cache *cache; cache = FRAME_OBSTACK_ZALLOC (struct microblaze_frame_cache); /* Base address. */ cache->base = 0; cache->pc = 0; /* Frameless until proven otherwise. */ cache->frameless_p = 1; return cache; } /* The base of the current frame is actually in the stack pointer. This happens when there is no frame pointer (microblaze ABI does not require a frame pointer) or when we're stopped in the prologue or epilogue itself. In these cases, microblaze_analyze_prologue will need to update fi->frame before returning or analyzing the register save instructions. */ #define MICROBLAZE_MY_FRAME_IN_SP 0x1 /* The base of the current frame is in a frame pointer register. This register is noted in frame_extra_info->fp_regnum. Note that the existance of an FP might also indicate that the function has called alloca. */ #define MICROBLAZE_MY_FRAME_IN_FP 0x2 /* Function prologues on the Xilinx microblaze processors consist of: - adjustments to the stack pointer (r1) (addi r1, r1, imm) - making a copy of r1 into another register (a "frame" pointer) (add r?, r1, r0) - store word/multiples that use r1 or the frame pointer as the base address (swi r?, r1, imm OR swi r?, fp, imm) Note that microblaze really doesn't have a real frame pointer. Instead, the compiler may copy the SP into a register (usually r19) to act as an arg pointer. For our target-dependent purposes, the frame info's "frame" member will be the beginning of the frame. The SP could, in fact, point below this. The prologue ends when an instruction fails to meet either of these criteria. */ /* Analyze the prologue to determine where registers are saved, the end of the prologue, etc. Return the address of the first line of "real" code (i.e., the end of the prologue). */ static CORE_ADDR microblaze_analyze_prologue (struct gdbarch *gdbarch, CORE_ADDR pc, CORE_ADDR current_pc, struct microblaze_frame_cache *cache) { const char *name; CORE_ADDR func_addr, func_end, addr, stop, prologue_end_addr = 0; unsigned long insn; int rd, ra, rb, imm; enum microblaze_instr op; int flags = 0; int save_hidden_pointer_found = 0; int non_stack_instruction_found = 0; /* Find the start of this function. */ find_pc_partial_function (pc, &name, &func_addr, &func_end); if (func_addr < pc) pc = func_addr; if (current_pc < pc) return current_pc; /* Initialize info about frame. */ cache->framesize = 0; cache->fp_regnum = MICROBLAZE_SP_REGNUM; cache->frameless_p = 1; /* Start decoding the prologue. We start by checking two special cases: 1. We're about to return 2. We're at the first insn of the prologue. If we're about to return, our frame has already been deallocated. If we are stopped at the first instruction of a prologue, then our frame has not yet been set up. */ /* Get the first insn from memory. */ insn = microblaze_fetch_instruction (pc); op = microblaze_decode_insn (insn, &rd, &ra, &rb, &imm); if (IS_RETURN(op)) return pc; /* Start at beginning of function and analyze until we get to the current pc, or the end of the function, whichever is first. */ stop = (current_pc < func_end ? current_pc : func_end); microblaze_debug ("Scanning prologue: name=%s, func_addr=%s, stop=%s\n", name, paddress (gdbarch, func_addr), paddress (gdbarch, stop)); for (addr = func_addr; addr < stop; addr += INST_WORD_SIZE) { insn = microblaze_fetch_instruction (addr); op = microblaze_decode_insn (insn, &rd, &ra, &rb, &imm); microblaze_debug ("%s %08lx\n", paddress (gdbarch, pc), insn); /* This code is very sensitive to what functions are present in the prologue. It assumes that the (addi, addik, swi, sw) can be the only instructions in the prologue. */ if (IS_UPDATE_SP(op, rd, ra)) { microblaze_debug ("got addi r1,r1,%d; contnuing\n", imm); if (cache->framesize) break; /* break if framesize already computed. */ cache->framesize = -imm; /* stack grows towards low memory. */ cache->frameless_p = 0; /* Frame found. */ save_hidden_pointer_found = 0; non_stack_instruction_found = 0; continue; } else if (IS_SPILL_SP(op, rd, ra)) { /* Spill stack pointer. */ cache->register_offsets[rd] = imm; /* SP spilled before updating. */ microblaze_debug ("swi r1 r1 %d, continuing\n", imm); save_hidden_pointer_found = 0; if (!cache->framesize) non_stack_instruction_found = 0; continue; } else if (IS_SPILL_REG(op, rd, ra)) { /* Spill register. */ cache->register_offsets[rd] = imm - cache->framesize; microblaze_debug ("swi %d r1 %d, continuing\n", rd, imm); save_hidden_pointer_found = 0; if (!cache->framesize) non_stack_instruction_found = 0; continue; } else if (IS_ALSO_SPILL_REG(op, rd, ra, rb)) { /* Spill register. */ cache->register_offsets[rd] = 0 - cache->framesize; microblaze_debug ("sw %d r0 r1, continuing\n", rd); save_hidden_pointer_found = 0; if (!cache->framesize) non_stack_instruction_found = 0; continue; } else if (IS_SETUP_FP(op, ra, rb)) { /* We have a frame pointer. Note the register which is acting as the frame pointer. */ flags |= MICROBLAZE_MY_FRAME_IN_FP; flags &= ~MICROBLAZE_MY_FRAME_IN_SP; cache->fp_regnum = rd; microblaze_debug ("Found a frame pointer: r%d\n", cache->fp_regnum); save_hidden_pointer_found = 0; if (!cache->framesize) non_stack_instruction_found = 0; continue; } else if (IS_SPILL_REG_FP(op, rd, ra, cache->fp_regnum)) { /* reg spilled after updating. */ cache->register_offsets[rd] = imm - cache->framesize; microblaze_debug ("swi %d %d %d, continuing\n", rd, ra, imm); save_hidden_pointer_found = 0; if (!cache->framesize) non_stack_instruction_found = 0; continue; } else if (IS_SAVE_HIDDEN_PTR(op, rd, ra, rb)) { /* If the first argument is a hidden pointer to the area where the return structure is to be saved, then it is saved as part of the prologue. */ microblaze_debug ("add %d %d %d, continuing\n", rd, ra, rb); save_hidden_pointer_found = 1; if (!cache->framesize) non_stack_instruction_found = 0; continue; } /* As a result of the modification in the next step where we continue to analyze the prologue till we reach a control flow instruction, we need another variable to store when exactly a non-stack instruction was encountered, which is the current definition of a prologue. */ if (!non_stack_instruction_found) prologue_end_addr = addr; non_stack_instruction_found = 1; /* When optimizations are enabled, it is not guaranteed that prologue instructions are not mixed in with other instructions from the program. Some programs show this behavior at -O2. This can be avoided by adding -fno-schedule-insns2 switch as of now (edk 8.1) In such cases, we scan the function until we see the first control instruction. */ { unsigned op = (unsigned)insn >> 26; /* continue if not control flow (branch, return). */ if (op != 0x26 && op != 0x27 && op != 0x2d && op != 0x2e && op != 0x2f) continue; else if (op == 0x2c) continue; /* continue if imm. */ } /* This is not a prologue insn, so stop here. */ microblaze_debug ("insn is not a prologue insn -- ending scan\n"); break; } microblaze_debug ("done analyzing prologue\n"); microblaze_debug ("prologue end = 0x%x\n", (int) addr); /* If the last instruction was an add rd, r5, r0 then don't count it as part of the prologue. */ if (save_hidden_pointer_found) prologue_end_addr -= INST_WORD_SIZE; return prologue_end_addr; } static CORE_ADDR microblaze_unwind_pc (struct gdbarch *gdbarch, struct frame_info *next_frame) { gdb_byte buf[4]; CORE_ADDR pc; frame_unwind_register (next_frame, MICROBLAZE_PC_REGNUM, buf); pc = extract_typed_address (buf, builtin_type (gdbarch)->builtin_func_ptr); /* For sentinel frame, return address is actual PC. For other frames, return address is pc+8. This is a workaround because gcc does not generate correct return address in CIE. */ if (frame_relative_level (next_frame) >= 0) pc += 8; return pc; } /* Return PC of first real instruction of the function starting at START_PC. */ static CORE_ADDR microblaze_skip_prologue (struct gdbarch *gdbarch, CORE_ADDR start_pc) { struct symtab_and_line sal; CORE_ADDR func_start, func_end, ostart_pc; struct microblaze_frame_cache cache; /* This is the preferred method, find the end of the prologue by using the debugging information. Debugging info does not always give the right answer since parameters are stored on stack after this. Always analyze the prologue. */ if (find_pc_partial_function (start_pc, NULL, &func_start, &func_end)) { sal = find_pc_line (func_start, 0); if (sal.end < func_end && start_pc <= sal.end) start_pc = sal.end; } ostart_pc = microblaze_analyze_prologue (gdbarch, func_start, 0xffffffffUL, &cache); if (ostart_pc > start_pc) return ostart_pc; return start_pc; } /* Normal frames. */ static struct microblaze_frame_cache * microblaze_frame_cache (struct frame_info *next_frame, void **this_cache) { struct microblaze_frame_cache *cache; struct gdbarch *gdbarch = get_frame_arch (next_frame); CORE_ADDR func; int rn; if (*this_cache) return (struct microblaze_frame_cache *) *this_cache; cache = microblaze_alloc_frame_cache (); *this_cache = cache; cache->saved_regs = trad_frame_alloc_saved_regs (next_frame); /* Clear offsets to saved regs in frame. */ for (rn = 0; rn < gdbarch_num_regs (gdbarch); rn++) cache->register_offsets[rn] = -1; func = get_frame_func (next_frame); cache->pc = get_frame_address_in_block (next_frame); return cache; } static void microblaze_frame_this_id (struct frame_info *next_frame, void **this_cache, struct frame_id *this_id) { struct microblaze_frame_cache *cache = microblaze_frame_cache (next_frame, this_cache); /* This marks the outermost frame. */ if (cache->base == 0) return; (*this_id) = frame_id_build (cache->base, cache->pc); } static struct value * microblaze_frame_prev_register (struct frame_info *this_frame, void **this_cache, int regnum) { struct microblaze_frame_cache *cache = microblaze_frame_cache (this_frame, this_cache); if (cache->frameless_p) { if (regnum == MICROBLAZE_PC_REGNUM) regnum = 15; if (regnum == MICROBLAZE_SP_REGNUM) regnum = 1; return trad_frame_get_prev_register (this_frame, cache->saved_regs, regnum); } else return trad_frame_get_prev_register (this_frame, cache->saved_regs, regnum); } static const struct frame_unwind microblaze_frame_unwind = { NORMAL_FRAME, default_frame_unwind_stop_reason, microblaze_frame_this_id, microblaze_frame_prev_register, NULL, default_frame_sniffer }; static CORE_ADDR microblaze_frame_base_address (struct frame_info *next_frame, void **this_cache) { struct microblaze_frame_cache *cache = microblaze_frame_cache (next_frame, this_cache); return cache->base; } static const struct frame_base microblaze_frame_base = { &microblaze_frame_unwind, microblaze_frame_base_address, microblaze_frame_base_address, microblaze_frame_base_address }; /* Extract from an array REGBUF containing the (raw) register state, a function return value of TYPE, and copy that into VALBUF. */ static void microblaze_extract_return_value (struct type *type, struct regcache *regcache, gdb_byte *valbuf) { gdb_byte buf[8]; /* Copy the return value (starting) in RETVAL_REGNUM to VALBUF. */ switch (TYPE_LENGTH (type)) { case 1: /* return last byte in the register. */ regcache_cooked_read (regcache, MICROBLAZE_RETVAL_REGNUM, buf); memcpy(valbuf, buf + MICROBLAZE_REGISTER_SIZE - 1, 1); return; case 2: /* return last 2 bytes in register. */ regcache_cooked_read (regcache, MICROBLAZE_RETVAL_REGNUM, buf); memcpy(valbuf, buf + MICROBLAZE_REGISTER_SIZE - 2, 2); return; case 4: /* for sizes 4 or 8, copy the required length. */ case 8: regcache_cooked_read (regcache, MICROBLAZE_RETVAL_REGNUM, buf); regcache_cooked_read (regcache, MICROBLAZE_RETVAL_REGNUM+1, buf+4); memcpy (valbuf, buf, TYPE_LENGTH (type)); return; default: internal_error (__FILE__, __LINE__, _("Unsupported return value size requested")); } } /* Store the return value in VALBUF (of type TYPE) where the caller expects to see it. Integers up to four bytes are stored in r3. Longs are stored in r3 (most significant word) and r4 (least significant word). Small structures are always returned on stack. */ static void microblaze_store_return_value (struct type *type, struct regcache *regcache, const gdb_byte *valbuf) { int len = TYPE_LENGTH (type); gdb_byte buf[8]; memset (buf, 0, sizeof(buf)); /* Integral and pointer return values. */ if (len > 4) { gdb_assert (len == 8); memcpy (buf, valbuf, 8); regcache_cooked_write (regcache, MICROBLAZE_RETVAL_REGNUM+1, buf + 4); } else /* ??? Do we need to do any sign-extension here? */ memcpy (buf + 4 - len, valbuf, len); regcache_cooked_write (regcache, MICROBLAZE_RETVAL_REGNUM, buf); } static enum return_value_convention microblaze_return_value (struct gdbarch *gdbarch, struct value *function, struct type *type, struct regcache *regcache, gdb_byte *readbuf, const gdb_byte *writebuf) { if (readbuf) microblaze_extract_return_value (type, regcache, readbuf); if (writebuf) microblaze_store_return_value (type, regcache, writebuf); return RETURN_VALUE_REGISTER_CONVENTION; } static int microblaze_stabs_argument_has_addr (struct gdbarch *gdbarch, struct type *type) { return (TYPE_LENGTH (type) == 16); } static void microblaze_write_pc (struct regcache *regcache, CORE_ADDR pc) { regcache_cooked_write_unsigned (regcache, MICROBLAZE_PC_REGNUM, pc); } static int dwarf2_to_reg_map[78] = { 0 /* r0 */, 1 /* r1 */, 2 /* r2 */, 3 /* r3 */, /* 0- 3 */ 4 /* r4 */, 5 /* r5 */, 6 /* r6 */, 7 /* r7 */, /* 4- 7 */ 8 /* r8 */, 9 /* r9 */, 10 /* r10 */, 11 /* r11 */, /* 8-11 */ 12 /* r12 */, 13 /* r13 */, 14 /* r14 */, 15 /* r15 */, /* 12-15 */ 16 /* r16 */, 17 /* r17 */, 18 /* r18 */, 19 /* r19 */, /* 16-19 */ 20 /* r20 */, 21 /* r21 */, 22 /* r22 */, 23 /* r23 */, /* 20-23 */ 24 /* r24 */, 25 /* r25 */, 26 /* r26 */, 27 /* r27 */, /* 24-25 */ 28 /* r28 */, 29 /* r29 */, 30 /* r30 */, 31 /* r31 */, /* 28-31 */ -1 /* $f0 */, -1 /* $f1 */, -1 /* $f2 */, -1 /* $f3 */, /* 32-35 */ -1 /* $f4 */, -1 /* $f5 */, -1 /* $f6 */, -1 /* $f7 */, /* 36-39 */ -1 /* $f8 */, -1 /* $f9 */, -1 /* $f10 */, -1 /* $f11 */, /* 40-43 */ -1 /* $f12 */, -1 /* $f13 */, -1 /* $f14 */, -1 /* $f15 */, /* 44-47 */ -1 /* $f16 */, -1 /* $f17 */, -1 /* $f18 */, -1 /* $f19 */, /* 48-51 */ -1 /* $f20 */, -1 /* $f21 */, -1 /* $f22 */, -1 /* $f23 */, /* 52-55 */ -1 /* $f24 */, -1 /* $f25 */, -1 /* $f26 */, -1 /* $f27 */, /* 56-59 */ -1 /* $f28 */, -1 /* $f29 */, -1 /* $f30 */, -1 /* $f31 */, /* 60-63 */ -1 /* hi */, -1 /* lo */, -1 /* accum*/, 33 /* rmsr */, /* 64-67 */ -1 /* $fcc1*/, -1 /* $fcc2*/, -1 /* $fcc3*/, -1 /* $fcc4*/, /* 68-71 */ -1 /* $fcc5*/, -1 /* $fcc6*/, -1 /* $fcc7*/, -1 /* $ap */, /* 72-75 */ -1 /* $rap */, -1 /* $frp */ /* 76-77 */ }; static int microblaze_dwarf2_reg_to_regnum (struct gdbarch *gdbarch, int reg) { if (reg >= 0 && reg < sizeof (dwarf2_to_reg_map)) return dwarf2_to_reg_map[reg]; return -1; } static void microblaze_register_g_packet_guesses (struct gdbarch *gdbarch) { register_remote_g_packet_guess (gdbarch, 4 * MICROBLAZE_NUM_CORE_REGS, tdesc_microblaze); register_remote_g_packet_guess (gdbarch, 4 * MICROBLAZE_NUM_REGS, tdesc_microblaze_with_stack_protect); } static struct gdbarch * microblaze_gdbarch_init (struct gdbarch_info info, struct gdbarch_list *arches) { struct gdbarch_tdep *tdep; struct gdbarch *gdbarch; struct tdesc_arch_data *tdesc_data = NULL; const struct target_desc *tdesc = info.target_desc; /* If there is already a candidate, use it. */ arches = gdbarch_list_lookup_by_info (arches, &info); if (arches != NULL) return arches->gdbarch; if (tdesc == NULL) tdesc = tdesc_microblaze; /* Check any target description for validity. */ if (tdesc_has_registers (tdesc)) { const struct tdesc_feature *feature; int valid_p; int i; feature = tdesc_find_feature (tdesc, "org.gnu.gdb.microblaze.core"); if (feature == NULL) return NULL; tdesc_data = tdesc_data_alloc (); valid_p = 1; for (i = 0; i < MICROBLAZE_NUM_CORE_REGS; i++) valid_p &= tdesc_numbered_register (feature, tdesc_data, i, microblaze_register_names[i]); feature = tdesc_find_feature (tdesc, "org.gnu.gdb.microblaze.stack-protect"); if (feature != NULL) { valid_p = 1; valid_p &= tdesc_numbered_register (feature, tdesc_data, MICROBLAZE_SLR_REGNUM, "rslr"); valid_p &= tdesc_numbered_register (feature, tdesc_data, MICROBLAZE_SHR_REGNUM, "rshr"); } if (!valid_p) { tdesc_data_cleanup (tdesc_data); return NULL; } } /* Allocate space for the new architecture. */ tdep = XNEW (struct gdbarch_tdep); gdbarch = gdbarch_alloc (&info, tdep); set_gdbarch_long_double_bit (gdbarch, 128); set_gdbarch_num_regs (gdbarch, MICROBLAZE_NUM_REGS); set_gdbarch_register_name (gdbarch, microblaze_register_name); set_gdbarch_register_type (gdbarch, microblaze_register_type); /* Register numbers of various important registers. */ set_gdbarch_sp_regnum (gdbarch, MICROBLAZE_SP_REGNUM); set_gdbarch_pc_regnum (gdbarch, MICROBLAZE_PC_REGNUM); /* Map Dwarf2 registers to GDB registers. */ set_gdbarch_dwarf2_reg_to_regnum (gdbarch, microblaze_dwarf2_reg_to_regnum); /* Call dummy code. */ set_gdbarch_call_dummy_location (gdbarch, ON_STACK); set_gdbarch_return_value (gdbarch, microblaze_return_value); set_gdbarch_stabs_argument_has_addr (gdbarch, microblaze_stabs_argument_has_addr); set_gdbarch_skip_prologue (gdbarch, microblaze_skip_prologue); /* Stack grows downward. */ set_gdbarch_inner_than (gdbarch, core_addr_lessthan); set_gdbarch_breakpoint_from_pc (gdbarch, microblaze_breakpoint_from_pc); set_gdbarch_frame_args_skip (gdbarch, 8); set_gdbarch_print_insn (gdbarch, print_insn_microblaze); set_gdbarch_write_pc (gdbarch, microblaze_write_pc); set_gdbarch_unwind_pc (gdbarch, microblaze_unwind_pc); microblaze_register_g_packet_guesses (gdbarch); frame_base_set_default (gdbarch, &microblaze_frame_base); /* Hook in ABI-specific overrides, if they have been registered. */ gdbarch_init_osabi (info, gdbarch); /* Unwind the frame. */ dwarf2_append_unwinders (gdbarch); frame_unwind_append_unwinder (gdbarch, &microblaze_frame_unwind); frame_base_append_sniffer (gdbarch, dwarf2_frame_base_sniffer); if (tdesc_data != NULL) tdesc_use_registers (gdbarch, tdesc, tdesc_data); return gdbarch; } /* Provide a prototype to silence -Wmissing-prototypes. */ void _initialize_microblaze_tdep (void); void _initialize_microblaze_tdep (void) { register_gdbarch_init (bfd_arch_microblaze, microblaze_gdbarch_init); initialize_tdesc_microblaze_with_stack_protect (); initialize_tdesc_microblaze (); /* Debug this files internals. */ add_setshow_zuinteger_cmd ("microblaze", class_maintenance, &microblaze_debug_flag, _("\ Set microblaze debugging."), _("\ Show microblaze debugging."), _("\ When non-zero, microblaze specific debugging is enabled."), NULL, NULL, &setdebuglist, &showdebuglist); }