Commit Graph

1008 Commits

Author SHA1 Message Date
mycroft 34876aa7e9 Implement `info float'. 2001-09-26 03:41:52 +00:00
wiz 5554debffd Add a missing va_end. 2001-09-24 14:33:50 +00:00
wiz 4c99916337 va_{start,end} audit:
Make sure that each va_start has one and only one matching va_end,
especially in error cases.
If the va_list is used multiple times, do multiple va_starts/va_ends.
If a function gets va_list as argument, don't let it use va_end (since
it's the callers responsibility).

Improved by comments from enami and christos -- thanks!

Heimdal/krb4/KAME changes already fed back, rest to follow.

Inspired by, but not not based on, OpenBSD.
2001-09-24 13:22:25 +00:00
simonb b77ae95a9e For ns32k-netbsd, don't add ns32k/xm-netbsd.h to $xm_file; it gets
included in tconfig.h anyway.
2001-09-23 13:55:13 +00:00
simonb 8e868c5d17 Don't define mem{cmp,cpy,set}; from gcc-current after the 2.95.3 release. 2001-09-23 13:42:39 +00:00
itojun 2067808a2a compare IPv6 address correctly, for net_interfaces directive.
KAME PR 382.
2001-09-09 02:52:44 +00:00
matt 71e81eb955 Also apply a fix if there are no symbols involved (which means that no
reloc will be emitted for the fix).
2001-09-08 16:38:32 +00:00
matt 649981af00 The don't apply fix if not NO_RELOC only applies to OBJ_ELF. 2001-09-08 04:38:34 +00:00
matt f23306e36f We need md_apply_fix is there is NO_RELOC. 2001-09-08 04:33:58 +00:00
matt 239fd58a71 md_apply_fix is a NOP for ELF. So macro it away. Simplify the resulting
one for the non-ELF case.
2001-09-07 17:14:24 +00:00
matt b3b6be7160 Only use data from the r_addend, not the relocation slot itself. Make sure
pcrel relocations enable pcrel_offset and augment that for VAX specific
needs.
2001-09-07 17:12:15 +00:00
mrg 3a6f34a1f2 fix part of previous: do pass -mcmodel=medlow to the 64 bit cc1 if -p*. 2001-09-07 07:19:52 +00:00
matt bb46238ed7 Merge in 2.11.2 changes into my ELF support 2001-09-07 05:06:51 +00:00
matt e934346ca9 Make -mvec as an alternative for -m7400 since -mvec existed in binutil 2.9 2001-09-06 21:07:07 +00:00
matt b3fe7bae05 Add the AltiVec data stream instructions that seemingly got lost between
binutils 2.9 and 2.11.
2001-09-06 21:02:29 +00:00
wiz cbf30c4010 Minimize diff to texinfo-4.0. 2001-09-02 21:55:03 +00:00
wiz d56ab1d29b Fix merge botch. 2001-09-02 21:42:49 +00:00
wiz fecd6a27e1 Not in texinfo-4.0, either. 2001-09-02 21:26:49 +00:00
wiz 0eea4da15e Not in texinfo-4.0. 2001-09-02 21:24:38 +00:00
wiz 376efde5a3 These files are not part of texinfo-4.0. 2001-09-02 21:19:47 +00:00
mrg 6e2daf5a64 fix the -m32 code to use /usr/lib/32 paths. don't pass -mcmodel to the 32bit cc1, it doesn't like that. 2001-08-30 09:30:40 +00:00
matt 115cd493b5 Do not compare to chars to >= 0 since this will cause a warning where
chars are unsigned.  instead, change it from ((c) < foo && (c) >= 0) to
((unsigned char)(c) < foo) which does the same thing but avoids the warning
2001-08-30 02:15:42 +00:00
itojun 3b7e3e08b4 upgrade to 8.11.6. fixes security issue in command line parsing. 2001-08-21 07:13:20 +00:00
mrg ee333eaabb add missing o: to the strip(1) getopt format string. 2001-08-20 04:47:29 +00:00
mrg f05a7e7c12 fix the NetBSD comment char (already fixed in net binutils.) 2001-08-17 11:12:34 +00:00
tv 7157e2832f XXX - force handing down of -no-gcc to off, so that cpp will predefine
__GNUC__ automatically.

Note that this is probably not the Right solution; we should fix any in-tree
uses of /usr/bin/cpp to use $CC -E.  However, this is being added for now
for backwards compatibility.
2001-08-14 13:46:14 +00:00
tv 0bcc7933e9 Trim the gcc frontend's paths way down to size. We know where system-supplied
libraries and so forth are, so we don't need to go looking in 9+ locations
for it.
2001-08-14 13:36:09 +00:00
mrg 8d35d68bd3 backout this change. we aren't yet ready for it.
2000-08-16  Andrew Macleod  <amacleod@cygnus.com>

	* elf64-sparc.c (sparc64_elf_adjust_dynamic_symbol): Don't allocate
	four extra entries at the beginning of the .rela.plt section.
	(sparc64_elf_finish_dynamic_symbol): Adjust the offset in the .rela.plt
	section to account for the four reserved entries in the .plt section.
2001-08-14 11:37:10 +00:00
tv 53f1af26cd Resolve conflicts from binutils 2.11.2 import
(Also fix some cosmetic garbage added by autoconf, automake, or CVS merges
to get our files closer to the FSF versions.)
2001-08-14 04:43:05 +00:00
tv cb093d3c1d Import binutils 2.11.2. 2001-08-14 02:57:43 +00:00
tv 2e1e353192 Import binutils 2.11.2. 2001-08-14 02:47:42 +00:00
tv 6c78eab38c Add the LINTCOMMENT hack, unconditional (no #ifdefs). Since gcc 3.0's cpp
does this Right (without even the overwrite-with-whitespace kludge), we
don't need to worry about breaking anything here.  Both -C and -CC will
result in full lint-capable comments.
2001-08-14 01:13:34 +00:00
mrg 4ccab74b56 enable dwarf2 exception handling. 2001-08-09 16:08:46 +00:00
mrg 8655405d18 call this GDB 5.0-nb1 2001-08-09 16:07:20 +00:00
itojun 3c86caea97 sync wth 20010228-pl04. 2001-08-09 08:10:17 +00:00
itojun 48a8a26166 postfix 20010228-pl04 2001-08-09 07:59:02 +00:00
tsubai e89a6ab2cd Add powerpc-*-netbsd support. 2001-08-08 21:33:45 +00:00
tv 1b95f4bdaf Cast &readline_line_completion_function to a (Function *) to make it the
proper fully qualified ANSI type.

XXX: Cast it again to a (void *) because libedit's readline emulation thinks
that rl_completion_entry_function should be a (CPFunction *) -- perhaps more
correct, but it breaks compatibility.  libedit might be better to change to
conform to what readline wants.
2001-08-06 22:50:07 +00:00
tv 13eedd3c97 Update nm and tm files to <> include syntax too. 2001-08-06 22:37:30 +00:00
tv 6d6211445a Use <> instead of "" for including the common xm-nbsd.h, to avoid possible
include path confusion (since these files are named the same but in
different directories).
2001-08-06 22:16:57 +00:00
tv 9bc2e4cc45 Don't make init.c depend on $(INIT_FILES); this causes a build of all .o's
before grepping through .c's can begin.  Instead, depend on Makefile.
2001-08-06 21:37:30 +00:00
tv 55613cc1a4 Add mips support from gnu/dist/gprof. 2001-08-06 20:13:28 +00:00
tv 8066c02b8c ldfile.h now needs to be included before ldemul.h. 2001-08-06 20:05:48 +00:00
tv bae83eee9b Merge manpage changes for gprof from gnu/dist/gprof. 2001-08-06 20:05:16 +00:00
tv fa1ff75b0b Add a missing const to squelch a gcc warning/error. 2001-08-06 18:00:55 +00:00
mrg a630fd8b23 dwarf2 exceptions work on sparc & sparc64 now. 2001-08-05 18:45:57 +00:00
thorpej 7b96659b6c Add ldmxcsr/stmxcsr insns. 2001-08-03 00:44:39 +00:00
bjh21 d019eb1665 Correct resolution of R_ARM_REL32 relocations. They were being resolved
relative to the start of the section rather than the location of the
relocation.  This made differences of two symbols in different files stop
working.

I believe GCC never generates this kind of relocation, which is why this bug
hasn't surfaced before.

This patch has been sent to <bug-gnu-utils@gnu.org>.
2001-08-02 23:35:00 +00:00
thorpej 528686cb43 Add the "fxsave" and "fxrstor" insns. 2001-08-02 18:47:09 +00:00
itojun 3d03bdc5ce sync with 8.11.5. 2001-08-01 03:27:31 +00:00