• R/O
  • HTTP
  • SSH
  • HTTPS

Commit

Tags
Keine Tags

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

GNU Binutils with patches for OS216


Commit MetaInfo

Revisionbf661056496e59c17088b0905e65659bf3b73092 (tree)
Zeit1991-04-19 06:14:53
AutorSteve Chamberlain <steve@cygn...>
CommiterSteve Chamberlain

Log Message

Fixed some prototypes

Ändern Zusammenfassung

Diff

--- a/binutils/objdump.c
+++ b/binutils/objdump.c
@@ -20,48 +20,6 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
2020
2121 /*
2222 $Id$
23- $Log$
24- Revision 1.1 1991/03/21 21:26:48 gumby
25- Initial revision
26-
27- * Revision 1.2 1991/03/15 18:34:14 rich
28- * foo
29- *
30- * Revision 1.1 1991/03/13 00:34:19 chrisb
31- * Initial revision
32- *
33- * Revision 1.9 1991/03/09 04:36:33 rich
34- * Modified Files:
35- * sparc-pinsn.c ostrip.c objdump.c m68k-pinsn.c i960-pinsn.c
36- * binutils.h
37- *
38- * Pulled sysdep.h out of bfd.h.
39- *
40- * Revision 1.8 1991/03/09 03:42:01 rich
41- * Modified Files:
42- * Makefile alloca.c ar.c i960-pinsn.c nm.c objdump.c ostrip.c
43- * strip.c
44- *
45- * Ports for intel960 group Portland.
46- *
47- * Revision 1.7 1991/03/08 21:54:47 rich
48- * Modified Files:
49- * Makefile ar.c binutils.h bucomm.c copy.c cplus-dem.c getopt.c
50- * i960-pinsn.c m68k-pinsn.c nm.c objdump.c sparc-opcode.h
51- * sparc-pinsn.c strip.c
52- *
53- * Verifying Portland tree with steve's last changes. Also, some partial
54- * porting.
55- *
56- * Revision 1.6 1991/03/08 07:46:26 sac
57- * Added -l option to disassembly - prints line numbers too.
58- *
59- * Revision 1.5 1991/03/07 21:50:24 sac
60- * More intelligent reloc printing
61- *
62- * Revision 1.4 1991/03/05 16:36:54 sac
63- * Fixed bug where empty symbols would print (null) on suns and crash elsewhere.
64- *
6523 */
6624 /*
6725 * Until there is other documentation, refer to the manual page dump(1) in
@@ -74,8 +32,8 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
7432 #include <stdio.h>
7533 #include <ctype.h>
7634
77-char *malloc();
78-char *realloc();
35+
36+
7937 char *xmalloc();
8038
8139 char *default_target = NULL; /* default at runtime */
@@ -261,16 +219,7 @@ FILE *stream;
261219 }
262220 }
263221
264- {
265- char *section_name;
266- asection *sec = syms[thisplace]->section;
267- if (sec) {
268- section_name = sec->name;
269- }
270- else {
271- section_name = "abs";
272- }
273- }
222+
274223 if (syms[thisplace]->value > vma) {
275224 fprintf(stream,"%08lx (%s-%lx)", vma, syms[thisplace]->name,
276225 syms[thisplace]->value - vma);
@@ -614,8 +563,8 @@ bfd *abfd;
614563
615564 for (p =relpp; *p != (arelent *)NULL; p++) {
616565 arelent *q = *p;
617- char *sym_name;
618- char *section_name = q->section == (asection *)NULL ? "*abs" :
566+ CONST char *sym_name;
567+ CONST char *section_name = q->section == (asection *)NULL ? "*abs" :
619568 q->section->name;
620569 if (q->sym_ptr_ptr && *q->sym_ptr_ptr) {
621570 sym_name = (*(q->sym_ptr_ptr))->name ;