home *** CD-ROM | disk | FTP | other *** search
- *** 1.23 1991/07/23 22:43:21
- --- Changelog 1992/01/14 19:49:24
- ***************
- *** 245,248 ****
- names. by default try to demangle them. This is fine because
- the demangle will leave ordinary names alone.
-
- ! ----------------------------- Patchlevel 22 ---------------------------------
- --- 245,256 ----
- names. by default try to demangle them. This is fine because
- the demangle will leave ordinary names alone.
-
- ! --------------- ooops, some history got lost here, sigh! ----------------
- !
- ! gnu-out.old: ++jrb
- ! remove this file, no longer needed.
- !
- ! sym-ld.c:: ++jrb
- ! use gnu-out.h instead of gnu-out.old.
- !
- ! ----------------------------- Patchlevel 24 ---------------------------------
- *** 1.21 1991/09/24 17:30:39
- --- PatchLev.h 1992/01/14 19:47:17
- ***************
- *** 1,4 ****
- ! #define PatchLevel "23"
-
- /*
- * the Patch Level above is to identify the version
- --- 1,4 ----
- ! #define PatchLevel "24"
-
- /*
- * the Patch Level above is to identify the version
- *** 1.4 1991/04/24 21:55:04
- --- cnm.c 1992/01/14 19:45:51
- ***************
- *** 376,378 ****
- --- 376,393 ----
- }
-
- #endif
- +
- + #ifdef CROSSHPUX
- + char *xmalloc(n)
- + unsigned n;
- + {
- + char *ret = malloc(n);
- +
- + if(!ret)
- + {
- + fprintf(stderr,"Out of memory!\n");
- + exit(1);
- + }
- + return ret;
- + }
- + #endif
- *** 1.5 1991/05/19 00:45:24
- --- gnu-out.h 1992/01/14 19:45:52
- ***************
- *** 117,122 ****
- --- 117,143 ----
- /* Address of data segment in memory after it is loaded.
- Note that it is up to you to define SEGMENT_SIZE
- on machines not listed here. */
- + #if defined(atarist) || defined(CROSSATARI) || defined(atariminix) || defined(MINIX)
- + # ifdef vax
- + # undef vax
- + # endif
- + # ifdef is68k
- + # undef is68k
- + # endif
- + # ifdef pyr
- + # undef pyr
- + # endif
- + # ifdef hp300
- + # undef hp300
- + # endif
- + # ifdef sony
- + # undef sony
- + # endif
- + # ifdef PORTAR
- + # undef PORTAR
- + # endif
- + #endif
- +
- #if defined(vax) || defined(hp300) || defined(pyr)
- #define SEGMENT_SIZE page_size
- #endif
- ***************
- *** 129,134 ****
- --- 150,158 ----
- #if defined(m68k) && defined(PORTAR)
- #define PAGE_SIZE 0x400
- #define SEGMENT_SIZE PAGE_SIZE
- + #endif
- + #if defined(atarist) || defined(CROSSATARI) || defined(atariminix) || defined(MINIX)
- + #define SEGMENT_SIZE 2
- #endif
-
- #define _N_SEGMENT_ROUND(x) (((x) + SEGMENT_SIZE - 1) & ~(SEGMENT_SIZE - 1))
- *** 1.5 1991/05/13 02:32:00
- --- size68.c 1992/01/14 19:45:56
- ***************
- *** 105,107 ****
- --- 105,123 ----
- h->a_isreloc = i;
- }
- #endif
- +
- + #ifdef CROSSHPUX
- + char *xmalloc(n)
- + unsigned n;
- + {
- + extern char *malloc();
- + char *ret = malloc(n);
- +
- + if(!ret)
- + {
- + fprintf(stderr,"Out of memory!\n");
- + exit(1);
- + }
- + return ret;
- + }
- + #endif
- *** 1.4 1991/05/13 02:32:00
- --- strip.c 1992/01/14 19:45:56
- ***************
- *** 229,235 ****
- # ifndef offsetof
- # define offsetof(TYPE, MEMBER) ((unsigned long) &((TYPE *)0)->MEMBER)
- # endif
- ! typedef unsigned long size_t;
- #endif
-
- #ifdef WORD_ALIGNED
- --- 229,237 ----
- # ifndef offsetof
- # define offsetof(TYPE, MEMBER) ((unsigned long) &((TYPE *)0)->MEMBER)
- # endif
- ! # ifndef CROSSHPUX
- ! typedef unsigned long size_t;
- ! # endif
- #endif
-
- #ifdef WORD_ALIGNED
- ***************
- *** 588,592 ****
- --- 590,611 ----
- ck_read(fd, &a->a_isreloc, sizeof(a->a_isreloc));
-
- return 0;
- + }
- + #endif
- +
- +
- + #ifdef CROSSHPUX
- + char *xmalloc(n)
- + unsigned n;
- + {
- + extern char *malloc();
- + char *ret = malloc(n);
- +
- + if(!ret)
- + {
- + fprintf(stderr,"Out of memory!\n");
- + exit(1);
- + }
- + return ret;
- }
- #endif
- *** 1.15 1991/09/24 17:30:39
- --- sym-ld.c 1992/01/14 19:45:57
- ***************
- *** 132,138 ****
- #else
-
- #ifdef CROSSATARI
- ! # include "gnu-out.old"
- # include "gnu-ar.h"
- # ifdef MINIX
- # include "minix-out.h"
- --- 132,138 ----
- #else
-
- #ifdef CROSSATARI
- ! # include "gnu-out.h"
- # include "gnu-ar.h"
- # ifdef MINIX
- # include "minix-out.h"
- ***************
- *** 159,169 ****
- # else
- # include <fcntl.h>
- # endif
- ! # include "gnu-out.old"
- # include "minix-out.h"
- # include "gnu-ar.h" /* we use the Gnu ar for minix, not the minix */
- # else
- ! # include "gnu-out.old"
- # include <st-out.h>
- # include "gnu-ar.h"
- # include <stdio.h>
- --- 159,169 ----
- # else
- # include <fcntl.h>
- # endif
- ! # include "gnu-out.h"
- # include "minix-out.h"
- # include "gnu-ar.h" /* we use the Gnu ar for minix, not the minix */
- # else
- ! # include "gnu-out.h"
- # include <st-out.h>
- # include "gnu-ar.h"
- # include <stdio.h>
- ***************
- *** 1057,1063 ****
- the text size, and initialize the text size accordingly.
- This depends on the kind of system and on the output format selected. */
-
- ! outheader.a_magic = magic;
-
- #if (!(defined(CROSSATARI) || defined(atarist) || defined(atariminix)))
- #ifdef INITIALIZE_HEADER
- --- 1057,1063 ----
- the text size, and initialize the text size accordingly.
- This depends on the kind of system and on the output format selected. */
-
- ! outheader.a_info = magic;
-
- #if (!(defined(CROSSATARI) || defined(atarist) || defined(atariminix)))
- #ifdef INITIALIZE_HEADER
- ***************
- *** 3445,3451 ****
- void
- write_header ()
- {
- ! outheader.a_magic = magic;
- outheader.a_text = text_size;
- outheader.a_data = data_size;
- outheader.a_bss = bss_size;
- --- 3445,3451 ----
- void
- write_header ()
- {
- ! outheader.a_info = magic;
- outheader.a_text = text_size;
- outheader.a_data = data_size;
- outheader.a_bss = bss_size;
-