Commit Graph

1927 Commits

Author SHA1 Message Date
mrg
2a50c63fdf change the "long" version from "3.3.2-nb1" to "3.3.2 (NetBSD nb1 20031026)"
which is more inline with what we used previously.
2003-10-27 16:42:33 +00:00
thorpej
75516c03f7 When running mkfixinc.sh, explicltly export SHELL, as well, since on
some platforms (e.g. OS X), we disable exporting make(1) variables in
the environment due to ARG_MAX limitations.
2003-10-27 16:20:04 +00:00
hannken
0165bf4148 Make it compile again. Blind copy-and-paste from sparc64nbsd-nat.c.
Approved by: Christos Zoulas <christos@netbsd.org>
2003-10-27 14:10:54 +00:00
cl
44f9690b65 g/c unused variables 2003-10-27 00:41:09 +00:00
christos
34e2db4a3c Make this link and work again (from Christian Limpach) 2003-10-26 17:45:13 +00:00
mrg
ce063d020a fix a bad merge: s/ifdef/ifndef/. fixes PR#23275 2003-10-26 09:45:44 +00:00
matt
1bafa7eae6 Fix LP64 bug. 2003-10-26 01:32:22 +00:00
chs
9bbee945e7 fix cross-building from linux. this is rev. 1.23 from groff CVS
(with the definition of SHELL added back).
2003-10-26 00:39:23 +00:00
simonb
969d07f64f * mips-tdep.c (mips_addr_bits_remove): Don't shift by 32
From Ian Taylor.
2003-10-26 00:08:23 +00:00
matt
4be480cd15 Fix 64LPism. Use 1L instead of 1 so that sign extension doesn't happen on
bit 31.
2003-10-25 21:55:37 +00:00
matt
91f24c5034 Try dealing with sigtramps better. 2003-10-25 19:01:45 +00:00
matt
7819efde3c GDB 5.3 support for VAX 2003-10-25 18:26:07 +00:00
matt
17aa9b0c9b Use gregset_t/fpregset_t since that's what is really wanted. 2003-10-25 18:25:42 +00:00
cl
54641460eb make m68k/gdb53 compile as a crossgdb
- catch up tm-nbsd.h with gnu/usr.bin/gdb53/arch/m68k/tm.h
- only use nbsd-thread.o in m68k nbsd-host case
2003-10-25 16:20:58 +00:00
he
31cd1c23b7 More fallout from the NULL change:
If we HAVE_STRING_H, include it to bring strchr() prototype in scope.
2003-10-23 16:12:45 +00:00
matt
b8b1ccbdfd If host is x86-*-netbsd*, don't descend into gcc, gdb, and rcs 2003-10-23 02:58:49 +00:00
skrll
899032e619 Consistent naming. 2003-10-22 20:43:12 +00:00
skrll
a69cb4cc55 ARM thread support.
- add or expose {supply,fill}_{fp,g}regset functions
	- add lwpid to ptrace calls
2003-10-21 19:07:36 +00:00
skrll
ee632a37d0 more NULL fallout. 2003-10-21 10:47:48 +00:00
lukem
0aa1a4cb76 revert previous; the items are in tmac.local 2003-10-20 05:26:20 +00:00
cl
b56d9ca137 add {supply,fill}_{fp,g}regset functions
remove nbsd_{fp,}reg_to_internal and nbsd_internal_to_{fp,}reg functions
add lwpid to ptrace calls
2003-10-19 20:11:22 +00:00
lukem
e08f429064 Add definitions for NetBSD versions:
1.4.1  1.4.2  1.5.1  1.5.2  1.5.3  1.6.1  1.6.2  2.0
2003-10-19 06:20:20 +00:00
mrg
459d14eddf change the version string to 3.3.2-nb1 so that gcc.c likes it. 2003-10-18 14:47:01 +00:00
mrg
8b9e2c6e0a - call this version "3.3.2nb1" (while some of our changes to 3.3.1 were
in 3.3.2, many were not.)
- use our bug reporting address, not GCC's.
2003-10-18 13:15:05 +00:00
mrg
9376f2c5fa merge gcc 3.3.2 2003-10-18 11:54:13 +00:00
mrg
eaf2241a0a initial import of GCC 3.3.2. this is a bug-fix release that fixes dozens
of bugs in both MI and many NetBSD MD parts.

visit http://gcc.gnu.org/gcc-3.3/changes.html#3.3.2 for more details.
2003-10-18 11:13:12 +00:00
mrg
cd84f3bd94 initial import of GCC 3.3.2. this is a bug-fix release that fixes dozens
of bugs in both MI and many NetBSD MD parts.

visit http://gcc.gnu.org/gcc-3.3/changes.html#3.3.2 for more details.
2003-10-18 11:03:09 +00:00
lukem
cdcb0412a1 Disable make_html and make_install_html; they depend upon pnm tools
which may not exist, and we don't need them as a host tool.

Don't attempt to rebuild gnu.eps & gnu.png from gnu.xpm because of
timestamp skew.
2003-10-18 03:01:52 +00:00
nathanw
db40e00241 Implement regset routines.
Pass the LWP of the ptid in PT_{GET,SET}REGS calls.
2003-10-18 00:27:13 +00:00
nathanw
614f188f9d nbsd_reg_to_internal() and friends are obsolete. 2003-10-18 00:14:09 +00:00
nathanw
37337ad2db Pass the LWP of the ptid in PT_{GET,SET}REGS calls. 2003-10-18 00:13:35 +00:00
nathanw
fef0da346a Revert a local change that nbsd-thread.c now handles. 2003-10-18 00:11:51 +00:00
nathanw
804ad776be Pile of cleanups and improvements, including:
* Use {fill,supply}_{g,fp}regset() routines instead of homegrown
   nbsd_internal_to_reg()/nbsd_reg_to_internal() routines; reduces
   local changes to *-nat files.

 * Use the ptrace(PT_LWPINFO) call to find the set of LWPs in a
   process and map them to threads, and to identify the target of a
   signal event.

 * Consistency sweep on ptid-manipulating macros.

 * More modern GDB integration and removal of redundant functions.
2003-10-18 00:08:14 +00:00
matt
9d4b91ab87 Keep the unsigned, just add HOST_WIDE_INT. 2003-10-16 22:08:01 +00:00
matt
6bcdd1cd1e Cast using HOST_WIDE_INT, not unsigned. 2003-10-16 22:02:25 +00:00
lukem
56528942aa "anti-timestamp-skew" fixes for gengtype-yacc.c and gengtype-lex.c 2003-10-16 04:35:17 +00:00
fvdl
22cd769ea5 Set some better defaults for OSABI_UNKNOWN, and add NetBSD kcore support. 2003-10-14 22:58:38 +00:00
wiz
a41ff7dabc Sync with groff repo:
-j and objdir builds here should now finally work both.
Based on a patch from Chuck Silvers.
2003-10-14 07:49:24 +00:00
fvdl
e67583ab9d NetBSD support for the x86_64 target. 2003-10-14 02:02:17 +00:00
hubertf
83f7cd41fd Prevent funny output when giving a directory name on the command line.
Before:
	$ dc ..
	miyu% dc ..
	dc: 02 unimplemented
	dc: 0 unimplemented
	dc: 0 unimplemented
	dc: input base must be a number between 2 and 16 (inclusive)
	dc: stack empty
	dc: stack empty
	dc: 'h' (0150) unimplemented
	dc: stack empty
	dc: 'u' (0165) unimplemented
	...
	** get heart attack suspecting major FS corruption **

After:
	$ dc ..
	Cannot use directory as input!
2003-10-13 21:52:40 +00:00
skrll
fd905830f3 Don't pull in libgcc_pic.a for -shared - it was added as a workaround for
gcc 2.95.3. Removing this fixes EH for gcc 3.3 by using the .eh.section
support in libcrt{begin,end}

Closes PR 22673.
2003-10-13 13:19:41 +00:00
lukem
d47cc49cff Add rules to prevent c-parse.c and objc-parse.c from being rebuilt if the
respective .y file has a newer timestamp (usually due to cvs checkout issues);
the code isn't .OBJDIR friendly, and it's unnecessary in our build envrionment.
2003-10-10 15:25:17 +00:00
lukem
83590dd4eb Change method used to disable ``maintainer-mode'' style rules to one
that is more "[cvs] diff" friendly.
Method suggested by Chris Demetriou on source-changes@ on July 25.
2003-10-10 15:14:16 +00:00
matt
1a3bbf394a Override TARGET_DEFAULTS to include MASK_STRICT_ALIGN (for IBM403).
It still includes (MASK_POWERPC | MASK_NEW_MNEMONICS) as well.
Change STACK_BOUNDARY to 128 to make Altivec'ed code easier to deal with.
2003-10-10 01:58:55 +00:00
christos
77b4aabadd Avoid re-entry in the cleanup signal handlers. 2003-10-09 13:43:00 +00:00
matt
9fbbfac1b2 Pull in ld_vers / ld_date methods from gcc-current. (avoid GNU sed'isms).
This allows configure to correctly determine that gas supports .hidden.
2003-10-07 02:13:49 +00:00
wiz
da70036ee9 Obsoleted by the update to 3.1.3 (moved to missing_d dir). 2003-10-06 18:27:45 +00:00
wiz
2a3e31828e Add gawk2netbsd, a script to prepare gawk distributions for imports. 2003-10-06 16:55:22 +00:00
wiz
b3a85f1ea5 Actually, we need these files too -- add them. 2003-10-06 16:44:03 +00:00
wiz
1393b6699e Merge 3.1.3 to HEAD. 2003-10-06 16:33:57 +00:00
wiz
06c09073b3 Initial import of gawk-3.1.3.
Seven releases since the last import, so the ChangeLog is quite big;
please refer to the NEWS file included in the import for details.
Among others, this also addresses PR 23054.
2003-10-06 15:55:26 +00:00
wiz
b83f0ec829 Initial import of gawk-3.1.3.
Seven releases since the last import, so the ChangeLog is quite big;
please refer to the NEWS file included in the import for details.
Among others, this also addresses PR 23054.
2003-10-06 15:43:45 +00:00
wiz
1df948824f Initial import of gawk-3.1.3.
Seven releases since the last import, so the ChangeLog is quite big;
please refer to the NEWS file included in the import for details.
Among others, this also addresses PR 23054.
2003-10-06 15:41:38 +00:00
matt
39caecb211 Add in-tree toolchain support for HPPA. 2003-10-06 05:10:13 +00:00
martin
b82411d0b6 Ooops, added previous note to the wrong ChangeLog 2003-10-03 09:06:14 +00:00
martin
feb5c96dad In the thread support functions only transfer those registers, that fit
into our struct fpreg64. This avoids gdb crashing due to smashed stack
when debugging threaded programs.
2003-09-29 17:47:26 +00:00
rearnsha
f539610cfa When allocating a common object, ALIGN is in bits, but common expects
bytes.  So divide by BITS_PER_UNIT.  Fixes over-allocation of
common objects and thus reduces the BSS by approx 75%.
2003-09-29 12:40:35 +00:00
martin
d1faf5f973 Make gcc default to the medlow code model. 2003-09-27 11:08:41 +00:00
skrll
679d775246 Fix for gcc 3.3.1 warning. 2003-09-26 20:02:44 +00:00
skrll
15b3a0696e Fix merge mistake so that we can compile. 2003-09-26 19:38:38 +00:00
jwise
869320cb24 NetBSD includes many manual pages. It does not, however, include a gpl(7),
a gfdl(7), or (particularly) an fsf-funding(7).

So don't cross-reference them.
2003-09-26 17:59:10 +00:00
christos
996d4c90a5 Cast to appease properly prototyped readline headers [ours]. 2003-09-26 17:38:35 +00:00
skrll
b9c8a77380 Backout previous - sparc* and i386 have switched to gdb 5.3. 2003-09-26 13:39:49 +00:00
matt
3edfe4aa79 NetBSD doesn't use crtsavres.o 2003-09-25 22:08:52 +00:00
christos
bf764b32d9 Add charles's SETXID_SUPPORT patches for setuid() runs. 2003-09-25 16:10:14 +00:00
matt
42dcffbb67 Remove static from a function declaration. 2003-09-24 06:14:29 +00:00
matt
d5d2eec8df Fix GCC 3.3.1 nit. 2003-09-24 06:13:53 +00:00
matt
5c0acc44d6 Merge back kcore support. 2003-09-24 02:49:29 +00:00
matt
6d47c4ba87 Fix a char comparision to be more unsigned friendly. 2003-09-23 23:12:25 +00:00
cl
9e04ef6840 add m68k--netbsdelf bootstrap support 2003-09-23 20:27:44 +00:00
matt
5cfd7f2268 Fix various GCC3.3.1 nits 2003-09-23 18:53:03 +00:00
matt
c9f03a720f Redefine WCHAR/WINT defines since rs6000/svr4.h redefined them wrongly for
NetBSD.
2003-09-23 18:52:15 +00:00
matt
e426fdd061 Move #include to the beginning-of-line so -traditional-cpp can find it. 2003-09-23 14:46:05 +00:00
cl
0af731d2e2 enable pthread debugging 2003-09-23 13:32:52 +00:00
cl
4f2222cf82 make gdb53 work on m68k
- fix elf core register access
- add elf abi detection
2003-09-23 01:52:41 +00:00
cl
b8a8531844 get sys/signal.h included before machine/frame.h includes m68k/signal.h 2003-09-22 21:42:46 +00:00
uwe
3a95f86179 Add missing #include "sh-tdep.h" for *_REGNUM defines.
This is what other foonbsd-nat.c files do.
2003-09-21 21:28:40 +00:00
mrg
f4fc0bf370 make i386 & sparc* output DBX_DEBUG format ("-gstabs") by default for now.
XXX: back this out when these platforms switch to GDB 5.3.
2003-09-19 08:43:12 +00:00
tron
71261af8cc Bump version number after parse8.359.2.8 patch has been applied. 2003-09-17 20:23:00 +00:00
itojun
4d7e624b6d fix prescan() bug (potentially remotely exploitable), CAN-2003-0694 2003-09-17 14:16:22 +00:00
martin
5da3a222b2 Add thread support (XXX - not realy functional yet) 2003-09-15 18:53:43 +00:00
martin
0559625ad0 Thread support for sparc (thanks to Ian L. Taylor for hints). 2003-09-15 18:05:24 +00:00
christos
11c91fb018 Add casts so that we can compile with both the readline headers and ours.
Of course we cannot link using our libedit yet.
2003-09-14 22:16:48 +00:00
martin
bf5058e6c1 Backout previos (no comment on this code).
XXX - someone should fix our libedit for the few hooks needed by gdb5.3
and we should get rid of this.
2003-09-14 08:54:40 +00:00
cl
38663d008f make it compile 2003-09-13 19:37:20 +00:00
martin
b3c755cb9c Bring in two lines from readline-4.3. Not all chars are signed. 2003-09-12 22:36:38 +00:00
fvdl
e794494dd2 Fix the alignment code generated for the 64bit case.
This fix was fed back to the FSF and appears in later binutils versions.
2003-09-12 19:51:19 +00:00
simonb
19f997418f Match "mips*-*-netbsd*" instead of just "mips-*-openbsd*" on NetBSD
to pick up the right core file definition for both endiannesses.
2003-09-11 04:55:03 +00:00
simonb
1779f6eb88 Get rid of the nbsde{b,l} targets and just use gdb_target=nbsd for
mips.
2003-09-10 22:39:24 +00:00
martin
29f773f184 Add ChangeLog entry (from gcc-current) for recent sparc change. 2003-09-10 21:08:28 +00:00
wiz
36916a02d6 Fix problem with multiple issuers in references in a file, noted
by YAMAMOTO Takashi.  Patch from Werner Lemberg (will be in next
groff).
2003-09-10 13:57:46 +00:00
martin
f1870485d5 Avoid outputing illegal assembler code for shifts by constants out of
bounds. Gcc bugzilla ticket 11965; update previous patch to the final
version accepted by the gcc people.
2003-09-09 21:26:20 +00:00
wiz
38f443bb93 Remove local ENABLE_NLS patches which were added for smaller executable
size -- however, these binaries won't end up on bot floppies, so it's
not necessary, and less diffs to the original are better.
Ok'd by itojun.
2003-09-08 13:33:00 +00:00
fvdl
297da77bcf Skip gcc and gdb for x86_64-*-netbsd* 2003-09-07 22:15:53 +00:00
mrg
70ab3cd1bf make "sh64--netbsdelf" use 32 bit by default. per advice from thorpej. 2003-09-04 08:04:18 +00:00
wiz
866f598bcb Fix a parallel-build problem reported by Chuck Silver with
the patch from the groff repository created by Werner Lemberg.
2003-09-01 17:15:34 +00:00
martin
c3181b5741 Shifts with >= 32 bit used to generate illegal code for 64bit targets,
fix by using for example "sllx" instead of "sll" in this cases.
Submitted to the gcc maintainers as attachment to [Bug c/11965] in their
bugzilla.
2003-08-23 10:19:02 +00:00
kim
b7ab4147f6 Document the canonicalize_envelope_recipient variable. 2003-08-22 04:43:21 +00:00
kim
e75f2ec987 The functional part of the var_canon_env_rcpt patch had been
inadvertently left out during an update.
2003-08-22 04:25:26 +00:00
mrg
87e3390b36 build with GCC3 - string literals can't use literal new lines. 2003-08-22 02:59:50 +00:00
mrg
ee74cc4c6b find ppc-asm.h via "rs6000/ppc-asm.h". 2003-08-22 02:46:17 +00:00
mrg
a827e79b49 patch from <sdegler@degler.net> to add /usr/include/g++/backward to the
default C++ include path so that one can find old headers without any
special help.  (using them still generates warnings though.)
2003-08-22 02:41:15 +00:00
itojun
379deb2b1a use %llu for unsigned long long printing; PR bin/22552 2003-08-20 13:58:08 +00:00
martin
8f6cdf024b Remove accidently commited (generated) files that "make distclean" fails
to remove.
2003-08-17 23:51:12 +00:00
martin
f4d6f4dfb8 Rumors say there are archs where int != long. 2003-08-17 22:17:03 +00:00
christos
2e12e80a85 avoid PARAMS redefinition. 2003-08-16 21:57:20 +00:00
christos
1cfd40eacc remove generated files. 2003-08-16 21:56:36 +00:00
christos
f068e22a9f fix lint errors. 2003-08-16 21:56:23 +00:00
matt
b7cc9ef509 Correctly decode the switchframe *and the two callframes above it* which
contain the real information.
2003-08-15 16:58:15 +00:00
hannken
d64c1acb07 Register fill' was renamed to lr'.
See sys/arch/powerpc/include/frame, rev 1.16.
2003-08-15 10:36:49 +00:00
christos
744531991e a couple more additions. 2003-08-14 16:54:54 +00:00
christos
6dc8ebe23c Add auto-gen'ed files. 2003-08-14 16:50:53 +00:00
christos
7b11b526b4 Fix a compiler warning. 2003-08-14 16:49:37 +00:00
christos
b71227cf2b - merge changes from gdb-5.0 2003-08-14 14:22:27 +00:00
christos
88a26652e1 Undo previous change and introduce ugly makefile hack. 2003-08-14 14:17:01 +00:00
christos
2fd435b3f0 - fix IS_THREAD
- fix typo ptid_equals
2003-08-14 01:12:26 +00:00
christos
230eaa023f gdb has signals.c too; rename the file. 2003-08-14 01:08:23 +00:00
christos
3b342f088b avoid gcc-3 warning. 2003-08-14 01:07:59 +00:00
christos
5aa0e076c6 do mechanical pid to ptid conversion. it now compiles. 2003-08-14 00:24:10 +00:00
christos
fcb15df895 ansify 2003-08-13 23:38:50 +00:00
christos
34fb5d34da initial checking of the 5.0 version. 2003-08-13 23:30:34 +00:00
christos
8229ffad82 Re-add dead files. 2003-08-11 20:58:34 +00:00
christos
b36d5146cd Import gdb-5.3 2003-08-11 20:31:36 +00:00
christos
4084bd69eb Import gdb-5.3 2003-08-11 20:21:35 +00:00
uwe
5b9717919b In sh.h, ASM_OUTPUT_LABELREF - const'itfy lname.
Pull the fix for RETURN_ADDR_RTX from gcc-current:
sh-protos.h - 1.45; sh.h - 1.217 (partial); sh.c - 1.230 (partial).

Pertinent parts of the gcc changelog follows.

prologue / epilogue / warning patches:

2003-07-16  J"orn Rennecke <joern.rennecke@superh.com>
    Con Bradley <con.bradley@superh.com>

* sh-protos.h (sh_get_pr_initial_val): Declare.
[...]
* sh.h [...]
(RETURN_ADDR_RTX): Use sh_get_pr_initial_val.
2003-08-11 00:45:34 +00:00
mrg
62340ef2af document -isystem-cxx. 2003-08-10 01:57:50 +00:00
mrg
7fb34d4e7b merge gcc3.3.1 2003-08-09 12:59:00 +00:00
mrg
adab0762e5 initial import of (final) GCC 3.3.1 sources 2003-08-09 11:11:09 +00:00
uwe
cb445c2c44 #define NO_PROFILE_COUNTERS as we don't need them. Otherwise both the
code to emit profile counters and the FUNCTION_PROFILER macro in this
file emit/define the same label.  For gcc 2.95.3 it used to work
because FUNCTION_PROFILER used local numeric labels instead of using
LABELNO, so it caused no conflict.

This makes -pg code compilable.
2003-08-04 00:52:43 +00:00
christos
14ba79e309 Make this compile with gcc-3 2003-08-01 21:28:14 +00:00
mrg
774d0597a5 new (old) -isystem-cxx flag to set a C++ system include directory.
* c-opts.c: Document -isystem-cxx.
* cppinit.c (new_pending_directive): Add -isystem-cxx entry.
* gcc.h. (DEFAULT_WORD_SWITCH_TAKES_ARG): add -isystem.


XXX: possibly can use $CPLUS_INCLUDE_DIR.
2003-08-01 13:37:28 +00:00
mrg
952f507549 pull across a patch from .../toolchain/gcc/gcc.c that removes a whole
bunch of unrequired (and problem-causing) paths from various lists.

set (new) TOOLDIR_BASE_PREFIX and STANDARD_BINDIR_PREFIX defines in the
#ifdef NETBSD_NATIVE case as well as several other *_PREFIX defines.
2003-07-29 07:20:21 +00:00
mrg
30e5f75620 rework an expression to avoid 32 bit overflow 2003-07-27 15:16:54 +00:00
mrg
127fd99434 avoid redefining a symbol differently 2003-07-27 15:13:39 +00:00
mrg
6a0101cabe #if 0 an assert that is always false. XXX not really always... 2003-07-27 05:03:51 +00:00
dsl
f2eecf77ab Define and use xasprintf() so that memory allocate errors are reported. 2003-07-26 16:06:44 +00:00
dsl
d1fbc02d92 This should fix the recent cvs breakage - PR bin/22276
Use asprintf() instead of malloc(), sprintf() pairs.
Now that CVSADM_xxx is getCVSdir("xxx"), sizeof CVSADM_xxx isn't quite right!
(Who knows why gcc doesn't error 'sizeof function()' though?)
Note this compiles, but isn't tested (yet).
2003-07-26 14:36:18 +00:00
lukem
d028397570 Disable rules that attempt to update parse.c from parse.y.
Implemented using a method recommended by Chris Demetriou on source-changes.
2003-07-26 12:02:21 +00:00
christos
0f6cc2d0c8 Document -D 2003-07-25 20:39:25 +00:00
christos
e6a5f61128 Add -D dir option to be able to specify where cvs stores its bookkeeping files
(default to CVS as usual).
2003-07-25 20:37:31 +00:00
mrg
e70774a5af oops, we need the generated-manpages target still. 2003-07-25 18:38:18 +00:00
mrg
5e7d44a059 comment some more rules that update read-only source trees 2003-07-25 18:33:19 +00:00
mrg
80b751809f - comment the rules to rebuild .info files into $srcdir.
- don't try to link the (not yet built!) target libiberty.a for host programs(!)
2003-07-25 18:06:03 +00:00
mrg
20c6cdf6dc make `cpp -gcc' the default on NetBSD. 2003-07-25 17:57:41 +00:00
mrg
731484776c merge import conflicts. 2003-07-25 09:04:06 +00:00
simonb
f8d975a54e Add rev 1.48 from binutils:
date: 2003/03/14 21:07:54;  author: drow;  state: Exp;  lines: +1 -0
	ppc-opc.c (powerpc_opcodes): Readd tlbre for PPC403.
2003-07-24 03:40:17 +00:00
mrg
1da79fd671 initial import of GCC 3.3 sources. (this is the latest GCC 3.3.1
prerelease snapshot, 3.3.1-20030720, we will update to 3.3.1 when
it becomes available.)
2003-07-23 02:40:42 +00:00
wiz
fade40fe67 Add patch from groff repository:
revision 1.5
date: 2003/07/18 07:00:47;  author: wlemb;  state: Exp;  lines: +38 -21

Don't ignore grotty's command line options if \X'tty: sgr ...' is
used to change the drawing scheme.

* src/devives/grotty/tty.cpp (bold_flag_option,
underline_flag_option, italic_flag_option, reverse_flag_option,
bold_underline_mode_option): New global variables.
(update_options): New function.
(tty_printer::special): Call update_options.
(main): Don't set xxx_flag but xxx_flag_option, then call
update_options.
2003-07-20 13:01:08 +00:00
drochner
994673f63c As already done in binutils-2.14:
Use the "LL" suffix for 64-bit constants.

Now gcc-3.3 doesn't warn about "constants too large
for "long"" or so anymore.
2003-07-09 14:43:24 +00:00
drochner
82df414328 Fix another case where the %{R*} in LINK_SPEC got lost.
Should resolve PR toolchain/22098 by Richard Earnshaw.
2003-07-09 14:34:47 +00:00
wiz
11ec0bca58 Commit fix from ru@freebsd (already in groff CVS) to fix a problem
discovered by jmc@openbsd:
.Pp
.Bd -literal
had more whitespace than plain
.Bd -literal
without a .Pp directly before.
2003-07-06 02:23:45 +00:00
martin
6b51cb5150 Explicit dependencies for y.tab.h handling. Without this, parallel builds
break.
If someone finds a better way to do this (especially without modifying
this imported makefiles) please feel free to redo this differently.
2003-07-05 22:09:03 +00:00
martin
ef6eddfd4c Fix obvious, very stupid bugs, that made compilation fail on 64 bit systems.
(unfriendly remarks removed before leaving editor)
2003-07-05 15:08:59 +00:00
wiz
22b7dfef23 Add a note about updating config.h. 2003-07-03 15:41:37 +00:00
wiz
336f920cb0 Reduce diff to texinfo-4.6. 2003-07-03 15:35:34 +00:00
wiz
f6bd3ce762 ``autoreconf -f'' generates better output -- use that instead. 2003-07-03 15:24:01 +00:00
wiz
5852c21fa6 Merge 4.6 (includes aclocal/autoheader/autoconf/automake run
for local AM_MAINTAINER_MODE change).
2003-07-03 15:09:13 +00:00
wiz
501ee3dffd Import of texinfo-4.6. 2003-07-03 14:58:40 +00:00
wiz
cdcc2dcba2 Remove another local patch: all fields of the NODE structure are
initialized manually, so no zeroing is necessary.
2003-07-03 12:59:54 +00:00
wiz
3fbb8762e8 Match 4.5 better (no functional change). 2003-07-03 12:53:07 +00:00
wiz
18f0270abb Remove local patch that was (supposedly) a work-around for
libedit-emulating-readline problems, which appear fixed; at least
texinfo compiles just as well without the patch.
2003-07-03 12:50:09 +00:00
wiz
b12e18c6e7 No point in allocating x*2 if only x+2 is used (reverts local patch
pulled up from 3.12).
2003-07-03 12:47:32 +00:00
wiz
dd008107d1 Add 'signed' in some places so this compiles on platforms where
char by default is unsigned.
2003-07-03 06:27:50 +00:00
wiz
67d5c6a49b Remove generated files. 2003-07-01 08:26:33 +00:00
mrg
68a081c5e1 delete these generated files 2003-07-01 08:15:28 +00:00
wiz
45404addfe Add @SHELL@ before mkinstalldirs call, in case mkinstalldirs does
not have the right permissions.
2003-06-30 19:18:21 +00:00
wiz
31624bb944 Re-add (for now). 2003-06-30 19:05:32 +00:00
wiz
fa3255d80d Disable SGR output; patch from Werner Lemberg (wl at gnu org). 2003-06-30 18:10:23 +00:00
wiz
95ed1d3161 Add patch from groff's CVS repository removing two superfluous lines
before the NAME header.
2003-06-30 18:08:51 +00:00
wiz
68ac378cc2 Comment out locale call, since sh(1) doesn't redirect "program not found"
errors to stdout, even if asked nicely.
2003-06-30 18:07:38 +00:00
wiz
3064bb2cdf Remove versioned subdir from datasubdir to make tools/ building easier. 2003-06-30 18:05:20 +00:00
wiz
afcefcd756 Updated import script. 2003-06-30 18:02:48 +00:00
wiz
10663b019b Update to 1.19. 2003-06-30 17:59:43 +00:00
wiz
5220bc5f6e Import groff-1.19. Changes since 1.16.1: too many to list here (> 1000 lines
in the abridged version). Please read the included NEWS file for details.
2003-06-30 17:51:41 +00:00
wiz
1a6d2307a3 These man pages are not from the Berkeley distribution -- remove ".UC". 2003-06-30 14:09:51 +00:00
drochner
12d153b126 fix LINK_SPEC to pass "-R" to the linker
(approved by tv)
2003-06-26 19:16:21 +00:00
drochner
c712f01409 link shared objects against libgcc_pic also in the !native
(ie tools/cross) case, as already done in the native configuration
2003-06-26 17:50:32 +00:00
itojun
9053ad0b31 make the defafult value of CVS_RSH to "ssh". 2003-06-20 03:28:56 +00:00
thorpej
1d99a54efe Bring in the following patch from FSF binutils mainline:
2003-06-13  Richard Earnshaw  <rearnsha@arm.com>

	* tc-arm.c (FPU_DEFAULT, case TE_LINUX): Default to FPU_ARCH_FPA.
	(FPU_DEFAULT, case TE_NetBSD): Default to FPU_ARCH_VFP for ELF,
	FPU_ARCH_FPA for AOUT.
	(md_begin): Don't try to guess the floating point architecture from
	the CPU if the OS ABI (Linux, NetBSD) mandates a particular form.

...per Richard's suggestion.
2003-06-14 16:02:57 +00:00
atatat
f554d2662a Pull sendmail 8.12.9 to the head, resolve the import conflict, and
make it build.  Now we have $NetBSD$ tags.
2003-06-01 14:06:40 +00:00
atatat
7af571cc1a sendmail 8.12.9 2003-06-01 14:01:14 +00:00
atatat
d507fc11c2 Rewrite sendmail source conversion script to remove tags in a cleaner
way, and also to add $NetBSD$ tags where possible/practical/sensible.
2003-06-01 13:59:56 +00:00
thorpej
21d9a5cb94 Change --redefine-syms-file to --redefine-syms for consistency with
e.g. --keep-symbols, and to match the patch which was submitted to FSF.
2003-06-01 02:01:09 +00:00
kristerw
66cf1d6099 Handle comments in macros when the -C flag is specified to the
pre-processor.

This makes code of the form

   #define FOO(X) (BAR(X))
   #define BAR(X) (X)
   #define BAZ    23 /* comment, comment. */
   int foo(void) { return FOO(BAZ); }

be output as expected. (The old behaviour got confused by the ','
within the comment.)
2003-05-26 00:03:50 +00:00
thorpej
a4d47e67c8 Back-port a patch from GCC mainline:
2003-04-26  Ben Elliston  <bje@wasabisystems.com>

	* config/arm/arm.c (arm_adjust_cost): Correct logic that tests the
	return values from recog_memoized().
2003-05-23 00:20:21 +00:00
petrov
55e9455400 elf_fake_sections: fix cast sh_name. 2003-05-09 22:15:17 +00:00
thorpej
b24126f5e6 Include <string.h>. From Ian Lance Taylor. 2003-05-06 02:31:06 +00:00
wiz
c42e1fac66 Management, not managment. Mostly from jmc@openbsd. 2003-04-26 22:07:12 +00:00
matt
0aa3fc4996 Make sure to supply the PS_REGNUM (as a fixed value) so that
read_register_bytes doesn't complain.
2003-04-25 20:13:47 +00:00
david
02a77f951b Missing ':', noted by Thomas T. Thai 2003-04-22 16:17:39 +00:00
wiz
a491d673dd Fix some xrefs. 2003-04-16 10:11:55 +00:00
wiz
4fad16dc12 services(5), not (4). 2003-04-16 09:29:38 +00:00
jdolecek
32fe26329b fix a minor formatting bug - use "@var{fmt}, @var{expr-list}",
not "@var{fmt, expr-list}"

probably only matters when the output is something else than info
file
2003-04-15 19:41:16 +00:00
skrll
707c1872d8 Add netbsdaout.c to BFD32_BACKENDS_CFILES and netbsdaout.lo to
BFD32_BACKENDS so that the correct dependencies are registered.

Parallel builds now work as a result. Fixes PR 20602 and PR 21081.

I'll leave the bigger question of if this stuff is still needed and why it
hasn't been fed back to the binutils people to someone more qualified than
myself.
2003-04-11 09:02:25 +00:00
wiz
07d13217f3 Some e.g. cleanup: replace "eg" with "e.g.,". From Igor Sobrado in PR 19692. 2003-04-07 06:56:38 +00:00
wiz
b511884ea9 Correct some SPARC tradenames. From Igor Sobrado in PR 19820. 2003-04-06 20:48:24 +00:00
perry
946b7ec114 add a missing backslash.
patch supplied in PR toolchain/20062 from Jed Davis
2003-04-02 02:50:07 +00:00
perry
570bad51bb bessel->Bessel (Igor Sobrado, PR misc/19700) 2003-03-31 02:43:38 +00:00
wiz
d124f274cf VAX, not Vax. 2003-03-30 20:56:46 +00:00
atatat
d17d46630e Apply new patch from sendmail.org to address the new buffer overflow
in address parsing.  This takes us to 8.12.8p1.
2003-03-29 21:55:28 +00:00
cjep
64b9a0f283 penalty, not penality. 2003-03-29 14:33:49 +00:00
lukem
f6668849f5 regenerate for AM_MAINTAINER_MODE, using "autoreconf -f" ... 2003-03-27 06:24:55 +00:00
lukem
0a0d66e6cd add AM_MAINTAINER_MODE 2003-03-27 06:16:02 +00:00
atatat
5cb7f51bd6 Missed conflict from 8.12.8 import. 2003-03-24 15:14:43 +00:00
atatat
da8968cc48 Pull sendmail 8.12.8 to the head, resolve the import conflicts, and
make it build.
2003-03-24 15:03:59 +00:00
atatat
f580f7ff12 Pull sendmail 8.12.8 to the head, resolve the import conflicts, and
make it build.
2003-03-24 15:03:37 +00:00
atatat
29b190bd81 sendmail 8.12.8 2003-03-24 14:47:07 +00:00
mycroft
f63d692921 Build COFF targets. Some embedded tools really, really want this. 2003-03-17 15:53:50 +00:00
martin
c43762a960 Don't access memory before the start of a file. 2003-03-16 17:44:15 +00:00
wiz
628f423c52 IPv4, not IPV4. From Igor Sobrado in PR 20718. 2003-03-15 19:27:17 +00:00
thorpej
c165d23d2b Back out rev. 1.4. The problem only occurs when using pre-compiled
headers, which we turn off.  (Nevermind the mis-placed #endif which
would cause incorrect output from a non-Apple host, sigh.)
2003-03-15 17:40:33 +00:00
hannken
1ef5d39c1a Add -mstrict-align to the CC1 default options.
At least the 403 ports cannot handle unaligned access.

Discussed with Jason Thorpe and Matt Thomas.
2003-03-15 16:09:34 +00:00
christos
8b16d6d256 PR/20554: John Heasley: gcc should define __sparcv9 for 64 bit compilation 2003-03-15 04:51:13 +00:00
thorpej
d9cf1a068e Second half of fix for PR toolchain/19265.
2003-03-14  Jason Thorpe  <thorpej@wasabisystems.com>

	* c-decl.c (flag_hosted): Move from here...
	* toplev.c: ...to here.
	* c-tree.h (flag_hosted): Move extern declaration from here...
	* flags.h: ...to here.
	* config/alpha/alpha.c (alpha_initialize_trampoline): Only
	emit a call to __enable_execute_stack if flag_hosted is true.
	* config/i386/i386.c (x86_initialize_trampoline): Likewise.
	* config/sparc/sparc.c (sparc_initialize_trampoline)
	(sparc64_initialize_trampoline): Likewise.

An updated version of this will be submitted to gcc.gnu.org.
2003-03-14 23:48:00 +00:00
thorpej
feff2fbbe6 Add support for the %j format length modifier (intmax_t). We have to
add intmax_type_node and uintmax_type_node globals to support this.
2003-03-14 21:24:44 +00:00
hannken
4a0f3bd75c Pass -m403 to gas.
Approved by: Jason R. Thorpe <thorpej@netbsd.org>
2003-03-14 20:41:38 +00:00
thorpej
563e78c49c Support a Mac OS X host. 2003-03-14 19:34:26 +00:00
thorpej
c24b9b414e Support Mac OS X host. 2003-03-13 02:17:58 +00:00
thorpej
104c77b807 The preprocessor in Apple's GCC 3.1 doesn't like being passed a macro
with empty arguments on each side of the comma; hack around this.
2003-03-12 23:00:40 +00:00
thorpej
ea5ffc0fa7 Don't do _INTL_REDIRECT_ASM if __APPLE__. 2003-03-12 22:46:25 +00:00
thorpej
834dd24299 Fix a couple of merge errors. 2003-03-12 03:46:11 +00:00
thorpej
9e72adcc79 Grok "z" (size_t) and "t" (ptrdiff_t) format length modifiers. 2003-03-11 21:39:34 +00:00
perry
83fbadc93f resolve conflicts 2003-03-08 19:43:56 +00:00
perry
59d07125ee import postfix 2.0.6 2003-03-08 19:05:29 +00:00
thorpej
53c077e6a5 Pull in a patch from GCC 3.3 that's been in my local tree for a long time:
(*mulsi3_compare0, *mulsi_compare0_scratch, *mulsi3addsi_compare0,
*mulsi3addsi_compare0_scratch): Predicate on !arm_is_xscale.

(mulhisi3, *mulhisi3addsi, *mulhidi3adddi): New patterns, predicated
on arm_is_xscale.
2003-03-06 20:58:20 +00:00
christos
bcb98aa28e handle repositories that contain symlinks in their path. 2003-03-06 16:14:34 +00:00
matt
bd8300b07a Update ELF_MAXPAGESIZE to 64K to match elf32vax.sc. This to facilitate
page table page sharing.
2003-03-06 07:36:30 +00:00
wiz
d201ab9752 Moved back to usr.sbin. 2003-03-05 22:09:46 +00:00
thorpej
d61bfb46b5 Make sure we output %progbits instead of @progbits. @ is a comment
character in ARM assembly.
2003-03-05 22:03:22 +00:00
thorpej
7c31b2a553 Fix a merge error which could result in the linker crashing
for static links.  Should fix toolchain/20589.
2003-03-05 21:34:27 +00:00
thorpej
925de95670 Remove the adjust-section-size-for-orphan code. That patch was rejected
by the FSF binutils maintainers, who instead suggested a different way
of addressing the problem.

(Besides, the size adjustment code was broken by the binutils update,
since about 1/2 of the changes got lost.)
2003-03-05 21:02:56 +00:00
thorpej
8844d7e3c0 In place_orphan, simplify the way we allow non-code read-only sections
to be merged with .text if no .rodata section is present.
2003-03-05 20:27:33 +00:00
thorpej
a69c74895f Fix a merge error. 2003-03-05 16:55:48 +00:00
skrll
3d4925b3cd Update binutils version and correct gnusrc/ 2003-03-05 08:42:49 +00:00
matt
df4902d922 NetBSD doesn't support PS_REGNUM or anything >= MQ_REGNUM. 2003-03-04 21:12:32 +00:00
atatat
382b4984f3 Apply patch from sendmail.org to handle a new header overflow bug. 2003-03-03 21:20:50 +00:00
tsutsui
f2ff066472 print_insn_shl() in gnu/dist/toolchain/opcodes/sh-dis.c has been merged
into print_insn_sh(), and print_insn_sh() now checks info->endian
so set it accordingly.

Based on diff from the Sourceware gdb cvsweb:
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/gdb/sh-tdep.c.diff?r1=1.59&r2=1.60&cvsroot=src
2003-03-03 16:58:17 +00:00
tsutsui
bc724094e3 Put back some lines removed on 2.13.2.1 merge.
(NetBSD/sh3 actually needs ENTRY=_start)
2003-03-03 16:46:16 +00:00
lukem
c2d985356e Consistently comment out rules which attempt to rebuild .info from .texinfo,
(and associated targets for .dvi et al), as well as man pages from .pod,
using a prefix of `#  '.

This prevents a variety of build issues caused by situations such as
cvs checkouts which result in the .texinfo file being slightly newer
than the .info file, and the build process trying to unnecessarily
regenerate them, which will fail in a variety of circumstances
(build tools not available, read-only source, etc ...)

Once a better solution is found, we can switch to it.
For now, this improves things greatly and should reduce a lot of
support requests that would undoubtably appear otherwise...
2003-03-02 13:11:04 +00:00
mrg
2920dd6064 oops; re-enable the asconfig.texi rule. 2003-03-02 08:16:09 +00:00
mrg
5de74f4030 add the prototype for lbasename here where it belongs. 2003-03-01 15:31:34 +00:00
mrg
1c50b08c03 disable rules that try to rebuild files in the source tree (only affects
MKMAINTAINER=yes builds.)
2003-03-01 13:14:17 +00:00
mrg
bc8fc1085d merge binutils 2.13.2.1 2003-03-01 12:25:55 +00:00
mrg
f84a38cd2d binutils 2.13.2.1 import 2003-03-01 11:28:30 +00:00
mrg
ee06049914 import of (most of) binutils 2.13.2.1. no top level, and cut down include/
libiberty.  (gcc update later can update libiberty properly.)
2003-03-01 10:06:40 +00:00
thorpej
5bfc4a9390 Define _REENTRANT as well as _PTHREADS if -pthread is specified on the
command line.
2003-02-28 17:30:12 +00:00
matt
0f7a451b3f Chnage data offset so that is aligned to the next 64KB boundary after text. 2003-02-27 09:38:20 +00:00
nathanw
da54f07b88 Print thread name, if any. 2003-02-27 00:55:43 +00:00
wiz
990562bfef .Nm does not need a dummy argument ("") before punctuation or
for correct formatting of the SYNOPSIS any longer.
2003-02-25 10:34:36 +00:00
jmc
db7162553c Make sure a few instances of mkinstalldirs is run via $SHELL so it's not
counting on exec permissions from the checked out source
2003-02-22 10:06:52 +00:00