home *** CD-ROM | disk | FTP | other *** search
/ The Atari Compendium / The Atari Compendium (Toad Computers) (1994).iso / files / prgtools / gnustuff / tos / updates / update14.zoo / util / diffs
Encoding:
Text File  |  1992-01-15  |  5.6 KB  |  250 lines

  1. *** 1.23    1991/07/23 22:43:21
  2. --- Changelog    1992/01/14 19:49:24
  3. ***************
  4. *** 245,248 ****
  5.       names. by default try to demangle them. This is fine because
  6.       the demangle will leave ordinary names alone.
  7.   
  8. ! ----------------------------- Patchlevel 22 ---------------------------------
  9. --- 245,256 ----
  10.       names. by default try to demangle them. This is fine because
  11.       the demangle will leave ordinary names alone.
  12.   
  13. ! --------------- ooops, some history got lost here, sigh! ----------------
  14. ! gnu-out.old: ++jrb
  15. !     remove this file, no longer needed.
  16. ! sym-ld.c:: ++jrb
  17. !     use gnu-out.h instead of gnu-out.old.
  18. ! ----------------------------- Patchlevel 24 ---------------------------------
  19. *** 1.21    1991/09/24 17:30:39
  20. --- PatchLev.h    1992/01/14 19:47:17
  21. ***************
  22. *** 1,4 ****
  23. ! #define PatchLevel "23"
  24.   
  25.   /*
  26.    *    the Patch Level above is to identify the version
  27. --- 1,4 ----
  28. ! #define PatchLevel "24"
  29.   
  30.   /*
  31.    *    the Patch Level above is to identify the version
  32. *** 1.4    1991/04/24 21:55:04
  33. --- cnm.c    1992/01/14 19:45:51
  34. ***************
  35. *** 376,378 ****
  36. --- 376,393 ----
  37.   }
  38.   
  39.   #endif
  40. + #ifdef CROSSHPUX
  41. + char *xmalloc(n)
  42. + unsigned n;
  43. + {
  44. +     char *ret = malloc(n);
  45. +     
  46. +     if(!ret)
  47. +     {
  48. +         fprintf(stderr,"Out of memory!\n");
  49. +         exit(1);
  50. +     }
  51. +     return ret;
  52. + }
  53. + #endif
  54. *** 1.5    1991/05/19 00:45:24
  55. --- gnu-out.h    1992/01/14 19:45:52
  56. ***************
  57. *** 117,122 ****
  58. --- 117,143 ----
  59.   /* Address of data segment in memory after it is loaded.
  60.      Note that it is up to you to define SEGMENT_SIZE
  61.      on machines not listed here.  */
  62. + #if defined(atarist) || defined(CROSSATARI) || defined(atariminix) || defined(MINIX)
  63. + #  ifdef vax
  64. + #    undef vax
  65. + #  endif
  66. + #  ifdef is68k
  67. + #    undef is68k
  68. + #  endif
  69. + #  ifdef pyr
  70. + #    undef pyr
  71. + #  endif
  72. + #  ifdef hp300
  73. + #    undef hp300
  74. + #  endif
  75. + #  ifdef sony
  76. + #    undef sony
  77. + #  endif
  78. + #  ifdef PORTAR
  79. + #    undef PORTAR
  80. + #  endif
  81. + #endif
  82.   #if defined(vax) || defined(hp300) || defined(pyr)
  83.   #define SEGMENT_SIZE page_size
  84.   #endif
  85. ***************
  86. *** 129,134 ****
  87. --- 150,158 ----
  88.   #if defined(m68k) && defined(PORTAR)
  89.   #define PAGE_SIZE 0x400
  90.   #define SEGMENT_SIZE PAGE_SIZE
  91. + #endif
  92. + #if defined(atarist) || defined(CROSSATARI) || defined(atariminix) || defined(MINIX)
  93. + #define SEGMENT_SIZE 2
  94.   #endif
  95.   
  96.   #define _N_SEGMENT_ROUND(x) (((x) + SEGMENT_SIZE - 1) & ~(SEGMENT_SIZE - 1))
  97. *** 1.5    1991/05/13 02:32:00
  98. --- size68.c    1992/01/14 19:45:56
  99. ***************
  100. *** 105,107 ****
  101. --- 105,123 ----
  102.       h->a_isreloc = i;
  103.   }
  104.   #endif
  105. + #ifdef CROSSHPUX
  106. + char *xmalloc(n)
  107. + unsigned n;
  108. + {
  109. +     extern char *malloc();
  110. +     char *ret = malloc(n);
  111. +     
  112. +     if(!ret)
  113. +     {
  114. +         fprintf(stderr,"Out of memory!\n");
  115. +         exit(1);
  116. +     }
  117. +     return ret;
  118. + }
  119. + #endif
  120. *** 1.4    1991/05/13 02:32:00
  121. --- strip.c    1992/01/14 19:45:56
  122. ***************
  123. *** 229,235 ****
  124.   #  ifndef offsetof
  125.   #    define offsetof(TYPE, MEMBER) ((unsigned long) &((TYPE *)0)->MEMBER)
  126.   #  endif
  127. !    typedef unsigned long size_t;
  128.   #endif
  129.   
  130.   #ifdef WORD_ALIGNED
  131. --- 229,237 ----
  132.   #  ifndef offsetof
  133.   #    define offsetof(TYPE, MEMBER) ((unsigned long) &((TYPE *)0)->MEMBER)
  134.   #  endif
  135. ! #  ifndef CROSSHPUX
  136. !      typedef unsigned long size_t;
  137. ! #  endif
  138.   #endif
  139.   
  140.   #ifdef WORD_ALIGNED
  141. ***************
  142. *** 588,592 ****
  143. --- 590,611 ----
  144.       ck_read(fd, &a->a_isreloc, sizeof(a->a_isreloc));
  145.   
  146.       return 0;
  147. + }
  148. + #endif
  149. + #ifdef CROSSHPUX
  150. + char *xmalloc(n)
  151. + unsigned n;
  152. + {
  153. +     extern char *malloc();
  154. +     char *ret = malloc(n);
  155. +     
  156. +     if(!ret)
  157. +     {
  158. +         fprintf(stderr,"Out of memory!\n");
  159. +         exit(1);
  160. +     }
  161. +     return ret;
  162.   }
  163.   #endif
  164. *** 1.15    1991/09/24 17:30:39
  165. --- sym-ld.c    1992/01/14 19:45:57
  166. ***************
  167. *** 132,138 ****
  168.   #else
  169.   
  170.   #ifdef CROSSATARI
  171. ! #  include "gnu-out.old"
  172.   #  include "gnu-ar.h"
  173.   #  ifdef MINIX
  174.   #    include "minix-out.h"
  175. --- 132,138 ----
  176.   #else
  177.   
  178.   #ifdef CROSSATARI
  179. ! #  include "gnu-out.h"
  180.   #  include "gnu-ar.h"
  181.   #  ifdef MINIX
  182.   #    include "minix-out.h"
  183. ***************
  184. *** 159,169 ****
  185.   #    else
  186.   #      include <fcntl.h>
  187.   #    endif
  188. ! #    include "gnu-out.old"
  189.   #    include "minix-out.h"
  190.   #    include "gnu-ar.h"    /* we use the Gnu ar for minix, not the minix */
  191.   #  else
  192. ! #    include "gnu-out.old"
  193.   #    include <st-out.h>
  194.   #    include "gnu-ar.h"
  195.   #    include <stdio.h>
  196. --- 159,169 ----
  197.   #    else
  198.   #      include <fcntl.h>
  199.   #    endif
  200. ! #    include "gnu-out.h"
  201.   #    include "minix-out.h"
  202.   #    include "gnu-ar.h"    /* we use the Gnu ar for minix, not the minix */
  203.   #  else
  204. ! #    include "gnu-out.h"
  205.   #    include <st-out.h>
  206.   #    include "gnu-ar.h"
  207.   #    include <stdio.h>
  208. ***************
  209. *** 1057,1063 ****
  210.        the text size, and initialize the text size accordingly.
  211.        This depends on the kind of system and on the output format selected.  */
  212.   
  213. !   outheader.a_magic = magic;
  214.   
  215.   #if (!(defined(CROSSATARI) || defined(atarist) || defined(atariminix)))
  216.   #ifdef INITIALIZE_HEADER
  217. --- 1057,1063 ----
  218.        the text size, and initialize the text size accordingly.
  219.        This depends on the kind of system and on the output format selected.  */
  220.   
  221. !   outheader.a_info = magic;
  222.   
  223.   #if (!(defined(CROSSATARI) || defined(atarist) || defined(atariminix)))
  224.   #ifdef INITIALIZE_HEADER
  225. ***************
  226. *** 3445,3451 ****
  227.   void
  228.   write_header ()
  229.   {
  230. !   outheader.a_magic = magic;
  231.     outheader.a_text = text_size;
  232.     outheader.a_data = data_size;
  233.     outheader.a_bss = bss_size;
  234. --- 3445,3451 ----
  235.   void
  236.   write_header ()
  237.   {
  238. !   outheader.a_info = magic;
  239.     outheader.a_text = text_size;
  240.     outheader.a_data = data_size;
  241.     outheader.a_bss = bss_size;
  242.