Ignore:
Timestamp:
Aug 16, 2003, 11:33:53 PM (22 years ago)
Author:
bird
Message:

Joined the port of 2.11.2 with 2.14.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/binutils/ld/ldctor.c

    • Property cvs2svn:cvs-rev changed from 1.3 to 1.4
    r617 r618  
    11/* ldctor.c -- constructor support routines
    2    Copyright 1991, 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000
    3    Free Software Foundation, Inc.
     2   Copyright 1991, 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001,
     3   2002 Free Software Foundation, Inc.
    44   By Steve Chamberlain <sac@cygnus.com>
    55
     
    2424#include "sysdep.h"
    2525#include "bfdlink.h"
    26 
    27 #include <ctype.h>
     26#include "safe-ctype.h"
    2827
    2928#include "ld.h"
     
    3130#include "ldlang.h"
    3231#include "ldmisc.h"
    33 #include "ldgram.h"
     32#include <ldgram.h>
    3433#include "ldmain.h"
    3534#include "ldctor.h"
     
    4544   global for the entire link; we assume that there is only a single
    4645   CONSTRUCTORS command in the linker script.  */
    47 boolean constructors_sorted;
     46bfd_boolean constructors_sorted;
    4847
    4948/* The sets we have seen.  */
     
    147146  if (name[1] != 'I' && name[1] != 'D')
    148147    return -1;
    149   if (! isdigit ((unsigned char) name[3]))
     148  if (! ISDIGIT (name[3]))
    150149    return -1;
    151150
     
    206205ldctor_build_sets ()
    207206{
    208   static boolean called;
     207  static bfd_boolean called;
    209208  lang_statement_list_type *old;
    210   boolean header_printed;
     209  bfd_boolean header_printed;
    211210  struct set_info *p;
    212211
     
    215214  if (called)
    216215    return;
    217   called = true;
     216  called = TRUE;
    218217
    219218  if (constructors_sorted)
     
    258257  lang_list_init (stat_ptr);
    259258
    260   header_printed = false;
     259  header_printed = FALSE;
    261260  for (p = sets; p != (struct set_info *) NULL; p = p->next)
    262261    {
     
    344343                {
    345344                  minfo (_("\nSet                 Symbol\n\n"));
    346                   header_printed = true;
     345                  header_printed = TRUE;
    347346                }
    348347
Note: See TracChangeset for help on using the changeset viewer.