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

« back to all changes in this revision

Viewing changes to bfd/elf64-mips.c

  • 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
/* MIPS-specific support for 64-bit ELF
2
2
   Copyright 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005,
3
 
   2007 Free Software Foundation, Inc.
 
3
   2006, 2007, 2008 Free Software Foundation, Inc.
4
4
   Ian Lance Taylor, Cygnus Support
5
5
   Linker support added by Mark Mitchell, CodeSourcery, LLC.
6
6
   <mark@codesourcery.com>
1328
1328
  /* TLS relocations.  */
1329
1329
  EMPTY_HOWTO (R_MIPS_TLS_DTPMOD32),
1330
1330
  EMPTY_HOWTO (R_MIPS_TLS_DTPREL32),
1331
 
  EMPTY_HOWTO (R_MIPS_TLS_DTPMOD64),
 
1331
 
 
1332
  HOWTO (R_MIPS_TLS_DTPMOD64,   /* type */
 
1333
         0,                     /* rightshift */
 
1334
         4,                     /* size (0 = byte, 1 = short, 2 = long) */
 
1335
         64,                    /* bitsize */
 
1336
         FALSE,                 /* pc_relative */
 
1337
         0,                     /* bitpos */
 
1338
         complain_overflow_dont, /* complain_on_overflow */
 
1339
         _bfd_mips_elf_generic_reloc, /* special_function */
 
1340
         "R_MIPS_TLS_DTPMOD64", /* name */
 
1341
         TRUE,                  /* partial_inplace */
 
1342
         MINUS_ONE,             /* src_mask */
 
1343
         MINUS_ONE,             /* dst_mask */
 
1344
         FALSE),                /* pcrel_offset */
1332
1345
 
1333
1346
  HOWTO (R_MIPS_TLS_DTPREL64,   /* type */
1334
1347
         0,                     /* rightshift */
1419
1432
         0x0000ffff,            /* dst_mask */
1420
1433
         FALSE),                /* pcrel_offset */
1421
1434
 
 
1435
  /* TLS IE dynamic relocations.  */
1422
1436
  EMPTY_HOWTO (R_MIPS_TLS_TPREL32),
1423
 
  EMPTY_HOWTO (R_MIPS_TLS_TPREL64),
 
1437
 
 
1438
  HOWTO (R_MIPS_TLS_TPREL64,    /* type */
 
1439
         0,                     /* rightshift */
 
1440
         4,                     /* size (0 = byte, 1 = short, 2 = long) */
 
1441
         64,                    /* bitsize */
 
1442
         FALSE,                 /* pc_relative */
 
1443
         0,                     /* bitpos */
 
1444
         complain_overflow_dont, /* complain_on_overflow */
 
1445
         _bfd_mips_elf_generic_reloc, /* special_function */
 
1446
         "R_MIPS_TLS_TPREL64",  /* name */
 
1447
         TRUE,                  /* partial_inplace */
 
1448
         MINUS_ONE,             /* src_mask */
 
1449
         MINUS_ONE,             /* dst_mask */
 
1450
         FALSE),                /* pcrel_offset */
1424
1451
 
1425
1452
  /* TLS thread pointer offset.  */
1426
1453
  HOWTO (R_MIPS_TLS_TPREL_HI16, /* type */