~ubuntu-branches/debian/squeeze/binutils/squeeze

« back to all changes in this revision

Viewing changes to ld/emultempl/ppc32elf.em

  • Committer: Bazaar Package Importer
  • Author(s): Matthias Klose
  • Date: 2009-09-10 17:05:30 UTC
  • mfrom: (1.4.5 upstream) (6.1.3 sid)
  • Revision ID: james.westby@ubuntu.com-20090910170530-wa6gpju9pq5c56on
Tags: 2.19.91.20090910-1
* Snapshot, taken from the 2.20 release branch 20090910, corresponding
  to the 2.19.90 upstream snapshot.
* Fix Thumb-2 shared libraries (Daniel Jacobowitz), patch taken
  from the trunk.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
# This shell script emits a C file. -*- C -*-
2
 
#   Copyright 2003, 2005, 2007, 2008 Free Software Foundation, Inc.
 
2
#   Copyright 2003, 2005, 2007, 2008, 2009 Free Software Foundation, Inc.
3
3
#
4
4
# This file is part of the GNU Binutils.
5
5
#
136
136
        {
137
137
          if ((o->flags & (SEC_ALLOC | SEC_CODE)) != (SEC_ALLOC | SEC_CODE))
138
138
            continue;
139
 
          if (o->size == 0)
 
139
          if (o->rawsize == 0)
140
140
            continue;
141
141
          if (low > o->vma)
142
142
            low = o->vma;
143
 
          if (high < o->vma + o->size - 1)
144
 
            high = o->vma + o->size - 1;
 
143
          if (high < o->vma + o->rawsize - 1)
 
144
            high = o->vma + o->rawsize - 1;
145
145
        }
146
146
      if (high > low && high - low > (1 << 25) - 1)
147
147
        command_line.relax = TRUE;