OpenCores
URL https://opencores.org/ocsvn/or1k/or1k/trunk

Subversion Repositories or1k

[/] [or1k/] [trunk/] [gdb-5.0/] [bfd/] [coff-or1k.c] - Blame information for rev 1765

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 104 markom
/* BFD back-end for OpenRISC 1000 COFF binaries.
2
   Copyright 1990, 91, 92, 93, 94, 95, 1997 Free Software Foundation, Inc.
3
   Contributed by David Wood at New York University 7/8/91.
4
   Modified by Johan Rydberg, <johan.rydberg@netinsight.se>
5
 
6
This file is part of BFD, the Binary File Descriptor library.
7
 
8
This program is free software; you can redistribute it and/or modify
9
it under the terms of the GNU General Public License as published by
10
the Free Software Foundation; either version 2 of the License, or
11
(at your option) any later version.
12
 
13
This program is distributed in the hope that it will be useful,
14
but WITHOUT ANY WARRANTY; without even the implied warranty of
15
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
16
GNU General Public License for more details.
17
 
18
You should have received a copy of the GNU General Public License
19
along with this program; if not, write to the Free Software
20
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.  */
21
 
22
#define OR32 1
23
 
24
#include "bfd.h"
25
#include "sysdep.h"
26
#include "libbfd.h"
27
#include "coff/or1k.h"
28
#include "coff/internal.h"
29
#include "libcoff.h"
30
 
31
static long get_symbol_value PARAMS ((asymbol *));
32
static bfd_reloc_status_type or1_reloc
33
  PARAMS ((bfd *, arelent *, asymbol *, PTR, asection *, bfd *, char **));
34
static boolean coff_or1_relocate_section
35
  PARAMS ((bfd *, struct bfd_link_info *, bfd *, asection *, bfd_byte *,
36
     struct internal_reloc *, struct internal_syment *, asection **));
37
static boolean coff_or1_adjust_symndx
38
  PARAMS ((bfd *, struct bfd_link_info *, bfd *, asection *,
39
     struct internal_reloc *, boolean *));
40
 
41
#define COFF_DEFAULT_SECTION_ALIGNMENT_POWER (2)
42
 
43
#define INSERT_HWORD(WORD,HWORD)              \
44
    (((WORD) & 0xffff0000) | ((HWORD)& 0x0000ffff))
45
#define EXTRACT_HWORD(WORD)                   \
46
    ((WORD) & 0x0000ffff)
47
#define SIGN_EXTEND_HWORD(HWORD)              \
48
    ((HWORD) & 0x8000 ? (HWORD)|(~0xffffL) : (HWORD))
49
 
50
#define INSERT_JUMPTARG(WORD,JT)              \
51
    (((WORD) & 0xfc000000) | ((JT)& 0x03ffffff))
52
#define EXTRACT_JUMPTARG(WORD)                   \
53
    ((WORD) & 0x03ffffff)
54
#define SIGN_EXTEND_JUMPTARG(JT)              \
55
    ((JT) & 0x04000000 ? (JT)|(~0x03ffffffL) : (JT))
56
 
57
/* Provided the symbol, returns the value reffed.  */
58
static long
59
get_symbol_value (symbol)
60
     asymbol *symbol;
61
{
62
  long relocation = 0;
63
 
64
  if (bfd_is_com_section (symbol->section))
65
    {
66
      relocation = 0;
67
    }
68
  else
69
    {
70
      relocation = symbol->value +
71
        symbol->section->output_section->vma +
72
        symbol->section->output_offset;
73
    }
74
  return(relocation);
75
}
76
 
77
/* This function is in charge of performing all the or32 relocations.  */
78
static bfd_reloc_status_type
79
or32_reloc (abfd, reloc_entry, symbol_in, data, input_section, output_bfd,
80
            error_message)
81
     bfd *abfd;
82
     arelent *reloc_entry;
83
     asymbol *symbol_in;
84
     PTR data;
85
     asection *input_section;
86
     bfd *output_bfd;
87
     char **error_message;
88
{
89
  /* The consth relocation comes in two parts, we have to remember
90
     the state between calls, in these variables.  */
91
  static boolean part1_consth_active = false;
92
  static unsigned long part1_consth_value;
93
 
94
  unsigned long insn;
95
  unsigned long sym_value;
96
  unsigned long unsigned_value;
97
  unsigned short r_type;
98
  long signed_value;
99
 
100
  unsigned long addr = reloc_entry->address ;   /*+ input_section->vma*/
101
  bfd_byte *hit_data =addr + (bfd_byte *)(data);
102
 
103
  r_type = reloc_entry->howto->type;
104
 
105
  if (output_bfd)
106
    {
107
      /* Partial linking - do nothing */
108
      reloc_entry->address += input_section->output_offset;
109
      return bfd_reloc_ok;
110
    }
111
 
112
  if (symbol_in != NULL
113
      && bfd_is_und_section (symbol_in->section))
114
    {
115
      /* Keep the state machine happy in case we're called again */
116
      if (r_type == R_IHIHALF)
117
        {
118
          part1_consth_active = true;
119
          part1_consth_value  = 0;
120
        }
121
      return(bfd_reloc_undefined);
122
    }
123
 
124
  if ((part1_consth_active) && (r_type != R_IHCONST))
125
    {
126
      part1_consth_active = false;
127
      *error_message = (char *) "Missing IHCONST";
128
      return(bfd_reloc_dangerous);
129
    }
130
 
131
  sym_value = get_symbol_value(symbol_in);
132
 
133
  switch (r_type)
134
    {
135
    case R_IREL:
136
      insn = bfd_get_32(abfd, hit_data);
137
 
138
      /* Take the value in the field and sign extend it.  */
139
      signed_value = EXTRACT_JUMPTARG(insn);
140
      signed_value = SIGN_EXTEND_JUMPTARG(signed_value);
141
      signed_value <<= 2;
142
 
143
      /* See the note on the R_IREL reloc in coff_or32_relocate_section.  */
144
      if (signed_value == - (long) reloc_entry->address)
145
        signed_value = 0;
146
 
147
      signed_value += sym_value + reloc_entry->addend;
148
#if 0
149
      if ((signed_value & ~0x3ffff) == 0)
150
        {                     /* Absolute jmp/call */
151
          insn |= (1<<24);    /* Make it absolute */
152
          /* FIXME: Should we change r_type to R_IABS */
153
        }
154
      else
155
#endif
156
        {
157
          /* Relative jmp/call, so subtract from the value the
158
             address of the place we're coming from */
159
          signed_value -= (reloc_entry->address
160
                           + input_section->output_section->vma
161
                           + input_section->output_offset);
162
          if (signed_value>0x7ffffff || signed_value<-0x8000000)
163
            return(bfd_reloc_overflow);
164
        }
165
      signed_value >>= 2;
166
      insn = INSERT_JUMPTARG(insn, signed_value);
167
      bfd_put_32(abfd, insn ,hit_data);
168
      break;
169
 
170
    case R_ILOHALF:
171
      insn = bfd_get_32(abfd, hit_data);
172
      unsigned_value = EXTRACT_HWORD(insn);
173
      unsigned_value +=  sym_value + reloc_entry->addend;
174
      insn = INSERT_HWORD(insn, unsigned_value);
175
      bfd_put_32(abfd, insn, hit_data);
176
      break;
177
 
178
    case R_IHIHALF:
179
      insn = bfd_get_32(abfd, hit_data);
180
 
181
      /* consth, part 1
182
         Just get the symbol value that is referenced */
183
      part1_consth_active = true;
184
      part1_consth_value = sym_value + reloc_entry->addend;
185
 
186
      /* Don't modify insn until R_IHCONST */
187
      break;
188
 
189
    case R_IHCONST:
190
      insn = bfd_get_32(abfd, hit_data);
191
 
192
      /* consth, part 2
193
         Now relocate the reference */
194
      if (part1_consth_active == false)
195
        {
196
          *error_message = (char *) "Missing IHIHALF";
197
          return(bfd_reloc_dangerous);
198
        }
199
 
200
      /* sym_ptr_ptr = r_symndx, in coff_slurp_reloc_table() */
201
      unsigned_value = 0;   /*EXTRACT_HWORD(insn) << 16;*/
202
      unsigned_value += reloc_entry->addend; /* r_symndx */
203
      unsigned_value += part1_consth_value;
204
      unsigned_value = unsigned_value >> 16;
205
      insn = INSERT_HWORD(insn, unsigned_value);
206
      part1_consth_active = false;
207
      bfd_put_32(abfd, insn, hit_data);
208
      break;
209
 
210
    case R_BYTE:
211
      insn = bfd_get_8(abfd, hit_data);
212
      unsigned_value = insn + sym_value + reloc_entry->addend;
213
      if (unsigned_value & 0xffffff00)
214
        return(bfd_reloc_overflow);
215
      bfd_put_8(abfd, unsigned_value, hit_data);
216
      break;
217
 
218
    case R_HWORD:
219
      insn = bfd_get_16(abfd, hit_data);
220
      unsigned_value = insn + sym_value + reloc_entry->addend;
221
      if (unsigned_value & 0xffff0000)
222
        return(bfd_reloc_overflow);
223
      bfd_put_16(abfd, insn, hit_data);
224
      break;
225
 
226
    case R_WORD:
227
      insn = bfd_get_32(abfd, hit_data);
228
      insn += sym_value + reloc_entry->addend;
229
      bfd_put_32(abfd, insn, hit_data);
230
      break;
231
 
232
    default:
233
      *error_message = "Unrecognized reloc";
234
      return (bfd_reloc_dangerous);
235
    }
236
  return(bfd_reloc_ok);
237
}
238
 
239
/*      type     rightshift
240
           size
241
        bitsize
242
             pc-relative
243
             bitpos
244
           absolute
245
               complain_on_overflow
246
              special_function
247
                relocation name
248
                     partial_inplace
249
                      src_mask
250
*/
251
 
252
/*FIXME: I'm not real sure about this table; */
253
static reloc_howto_type howto_table[] =
254
{
255
  { R_ABS,      0, 3, 32, false,  0, complain_overflow_bitfield,  or32_reloc, "ABS",     true, 0xffffffff,0xffffffff, false },
256
  {1},  {2},  {3},   {4},  {5},  {6},  {7},  {8},  {9}, {10},
257
  {11}, {12}, {13}, {14}, {15}, {16}, {17}, {18}, {19}, {20},
258
  {21}, {22}, {23},
259
  { R_IREL,     0, 3, 32, true,   0, complain_overflow_signed,    or32_reloc, "IREL",    true, 0xffffffff,0xffffffff, false },
260
  { R_IABS,     0, 3, 32, false,  0, complain_overflow_bitfield,  or32_reloc, "IABS",    true, 0xffffffff,0xffffffff, false },
261
  { R_ILOHALF,  0, 3, 16, true,   0, complain_overflow_signed,    or32_reloc, "ILOHALF", true, 0x0000ffff,0x0000ffff, false },
262
  { R_IHIHALF,  0, 3, 16, true,   16,complain_overflow_signed,    or32_reloc, "IHIHALF", true, 0xffff0000,0xffff0000, false },
263
  { R_IHCONST,  0, 3, 16, true,   0, complain_overflow_signed,    or32_reloc, "IHCONST", true, 0xffff0000,0xffff0000, false },
264
  { R_BYTE,     0, 0, 8,  false,  0, complain_overflow_bitfield,  or32_reloc, "BYTE",    true, 0x000000ff,0x000000ff, false },
265
  { R_HWORD,    0, 1, 16, false,  0, complain_overflow_bitfield,  or32_reloc, "HWORD",   true, 0x0000ffff,0x0000ffff, false },
266
  { R_WORD,     0, 2, 32, false,  0, complain_overflow_bitfield,  or32_reloc, "WORD",    true, 0xffffffff,0xffffffff, false },
267
};
268
 
269
#define BADMAG(x) OR32BADMAG(x)
270
 
271
#define RELOC_PROCESSING(relent, reloc, symbols, abfd, section) \
272
  reloc_processing(relent, reloc, symbols, abfd, section)
273
 
274
static void
275
reloc_processing (relent,reloc, symbols, abfd, section)
276
     arelent *relent;
277
     struct internal_reloc *reloc;
278
     asymbol **symbols;
279
     bfd *abfd;
280
     asection *section;
281
{
282
    static bfd_vma ihihalf_vaddr = (bfd_vma) -1;
283
 
284
    relent->address = reloc->r_vaddr;
285
    relent->howto = howto_table + reloc->r_type;
286
    if (reloc->r_type == R_IHCONST)
287
      {
288
        /* The address of an R_IHCONST should always be the address of
289
           the immediately preceding R_IHIHALF.  relocs generated by gas
290
           are correct, but relocs generated by High C are different (I
291
           can't figure out what the address means for High C).  We can
292
           handle both gas and High C by ignoring the address here, and
293
           simply reusing the address saved for R_IHIHALF.  */
294
        if (ihihalf_vaddr == (bfd_vma) -1)
295
          abort ();
296
 
297
        relent->address = ihihalf_vaddr;
298
        ihihalf_vaddr = (bfd_vma) -1;
299
        relent->addend = reloc->r_symndx;
300
        relent->sym_ptr_ptr= bfd_abs_section_ptr->symbol_ptr_ptr;
301
      }
302
    else
303
      {
304
        asymbol *ptr;
305
        relent->sym_ptr_ptr = symbols + obj_convert(abfd)[reloc->r_symndx];
306
 
307
        ptr = *(relent->sym_ptr_ptr);
308
 
309
        if (ptr
310
            && bfd_asymbol_bfd(ptr) == abfd
311
            && ((ptr->flags & BSF_OLD_COMMON)== 0))
312
          {
313
            relent->addend = 0;
314
          }
315
        else
316
          {
317
            relent->addend = 0;
318
          }
319
        relent->address-= section->vma;
320
        if (reloc->r_type == R_IHIHALF)
321
          ihihalf_vaddr = relent->address;
322
        else
323
          if (ihihalf_vaddr != (bfd_vma) -1)
324
            abort ();
325
      }
326
}
327
 
328
/* The reloc processing routine for the optimized COFF linker:  */
329
static boolean
330
coff_or32_relocate_section (output_bfd, info, input_bfd, input_section,
331
                            contents, relocs, syms, sections)
332
     bfd *output_bfd;
333
     struct bfd_link_info *info;
334
     bfd *input_bfd;
335
     asection *input_section;
336
     bfd_byte *contents;
337
     struct internal_reloc *relocs;
338
     struct internal_syment *syms;
339
     asection **sections;
340
{
341
  struct internal_reloc *rel;
342
  struct internal_reloc *relend;
343
  boolean hihalf;
344
  bfd_vma hihalf_val;
345
 
346
  /* If we are performing a relocateable link, we don't need to do a
347
     thing.  The caller will take care of adjusting the reloc
348
     addresses and symbol indices.  */
349
  if (info->relocateable)
350
    return true;
351
 
352
  hihalf = false;
353
  hihalf_val = 0;
354
 
355
  rel = relocs;
356
  relend = rel + input_section->reloc_count;
357
  for (; rel < relend; rel++)
358
    {
359
      long symndx;
360
      bfd_byte *loc;
361
      struct coff_link_hash_entry *h;
362
      struct internal_syment *sym;
363
      asection *sec;
364
      bfd_vma val;
365
      boolean overflow;
366
      unsigned long insn;
367
      long signed_value;
368
      unsigned long unsigned_value;
369
      bfd_reloc_status_type rstat;
370
 
371
      symndx = rel->r_symndx;
372
      loc = contents + rel->r_vaddr - input_section->vma;
373
 
374
      if (symndx == -1 || rel->r_type == R_IHCONST)
375
        h = NULL;
376
      else
377
        h = obj_coff_sym_hashes (input_bfd)[symndx];
378
 
379
      sym = NULL;
380
      sec = NULL;
381
      val = 0;
382
 
383
      /* An R_IHCONST reloc does not have a symbol.  Instead, the
384
         symbol index is an addend.  R_IHCONST is always used in
385
         conjunction with R_IHHALF.  */
386
      if (rel->r_type != R_IHCONST)
387
        {
388
          if (h == NULL)
389
            {
390
              if (symndx == -1)
391
                sec = bfd_abs_section_ptr;
392
              else
393
                {
394
                  sym = syms + symndx;
395
                  sec = sections[symndx];
396
                  val = (sec->output_section->vma
397
                         + sec->output_offset
398
                         + sym->n_value
399
                         - sec->vma);
400
                }
401
            }
402
          else
403
            {
404
              if (h->root.type == bfd_link_hash_defined
405
                  || h->root.type == bfd_link_hash_defweak)
406
                {
407
                  sec = h->root.u.def.section;
408
                  val = (h->root.u.def.value
409
                         + sec->output_section->vma
410
                         + sec->output_offset);
411
                }
412
              else
413
                {
414
                  if (! ((*info->callbacks->undefined_symbol)
415
                         (info, h->root.root.string, input_bfd, input_section,
416
                          rel->r_vaddr - input_section->vma, true)))
417
                    return false;
418
                }
419
            }
420
 
421
          if (hihalf)
422
            {
423
              if (! ((*info->callbacks->reloc_dangerous)
424
                     (info, "missing IHCONST reloc", input_bfd,
425
                      input_section, rel->r_vaddr - input_section->vma)))
426
                return false;
427
              hihalf = false;
428
            }
429
        }
430
 
431
      overflow = false;
432
 
433
      switch (rel->r_type)
434
        {
435
        default:
436
          bfd_set_error (bfd_error_bad_value);
437
          return false;
438
 
439
        case R_IREL:
440
          insn = bfd_get_32 (input_bfd, loc);
441
 
442
          /* Extract the addend.  */
443
          signed_value = EXTRACT_JUMPTARG (insn);
444
          signed_value = SIGN_EXTEND_JUMPTARG (signed_value);
445
          signed_value <<= 2;
446
 
447
          /* Determine the destination of the jump.  */
448
          signed_value += val;
449
 
450
#if 0
451
          if ((signed_value & ~0x3ffff) == 0)
452
            {
453
              /* We can use an absolute jump.  */
454
              insn |= (1 << 24);
455
            }
456
          else
457
#endif
458
            {
459
              /* Make the destination PC relative.  */
460
              signed_value -= (input_section->output_section->vma
461
                               + input_section->output_offset
462
                               + (rel->r_vaddr - input_section->vma));
463
              if (signed_value > 0x7ffffff || signed_value < - 0x8000000)
464
                {
465
                  overflow = true;
466
                  signed_value = 0;
467
                }
468
            }
469
 
470
          /* Put the adjusted value back into the instruction.  */
471
          signed_value >>= 2;
472
          insn = INSERT_JUMPTARG(insn, signed_value);
473
 
474
          bfd_put_32 (input_bfd, (bfd_vma) insn, loc);
475
          break;
476
 
477
        case R_ILOHALF:
478
          insn = bfd_get_32 (input_bfd, loc);
479
          unsigned_value = EXTRACT_HWORD (insn);
480
          unsigned_value += val;
481
          insn = INSERT_HWORD (insn, unsigned_value);
482
          bfd_put_32 (input_bfd, insn, loc);
483
          break;
484
 
485
        case R_IHIHALF:
486
          /* Save the value for the R_IHCONST reloc.  */
487
          hihalf = true;
488
          hihalf_val = val;
489
          break;
490
 
491
        case R_IHCONST:
492
          if (! hihalf)
493
            {
494
              if (! ((*info->callbacks->reloc_dangerous)
495
                     (info, "missing IHIHALF reloc", input_bfd,
496
                      input_section, rel->r_vaddr - input_section->vma)))
497
                return false;
498
              hihalf_val = 0;
499
            }
500
 
501
          insn = bfd_get_32 (input_bfd, loc);
502
          unsigned_value = rel->r_symndx + hihalf_val;
503
          unsigned_value >>= 16;
504
          insn = INSERT_HWORD (insn, unsigned_value);
505
          bfd_put_32 (input_bfd, (bfd_vma) insn, loc);
506
 
507
          hihalf = false;
508
          break;
509
 
510
        case R_BYTE:
511
        case R_HWORD:
512
        case R_WORD:
513
          rstat = _bfd_relocate_contents (howto_table + rel->r_type,
514
                                          input_bfd, val, loc);
515
          if (rstat == bfd_reloc_overflow)
516
            overflow = true;
517
          else if (rstat != bfd_reloc_ok)
518
            abort ();
519
          break;
520
        }
521
 
522
      if (overflow)
523
        {
524
          const char *name;
525
          char buf[SYMNMLEN + 1];
526
 
527
          if (symndx == -1)
528
            name = "*ABS*";
529
          else if (h != NULL)
530
            name = h->root.root.string;
531
          else if (sym == NULL)
532
            name = "*unknown*";
533
          else if (sym->_n._n_n._n_zeroes == 0
534
                   && sym->_n._n_n._n_offset != 0)
535
            name = obj_coff_strings (input_bfd) + sym->_n._n_n._n_offset;
536
          else
537
            {
538
              strncpy (buf, sym->_n._n_name, SYMNMLEN);
539
              buf[SYMNMLEN] = '\0';
540
              name = buf;
541
            }
542
 
543
          if (! ((*info->callbacks->reloc_overflow)
544
                 (info, name, howto_table[rel->r_type].name, (bfd_vma) 0,
545
                  input_bfd, input_section,
546
                  rel->r_vaddr - input_section->vma)))
547
            return false;
548
        }
549
    }
550
  return true;
551
}
552
 
553
#define coff_relocate_section coff_or32_relocate_section
554
 
555
/* We don't want to change the symndx of a R_IHCONST reloc, since it
556
   is actually an addend, not a symbol index at all.  */
557
 
558
/*ARGSUSED*/
559
static boolean
560
coff_or32_adjust_symndx (obfd, info, ibfd, sec, irel, adjustedp)
561
     bfd *obfd;
562
     struct bfd_link_info *info;
563
     bfd *ibfd;
564
     asection *sec;
565
     struct internal_reloc *irel;
566
     boolean *adjustedp;
567
{
568
  if (irel->r_type == R_IHCONST)
569
    *adjustedp = true;
570
  else
571
    *adjustedp = false;
572
  return true;
573
}
574
 
575
#define coff_adjust_symndx coff_or32_adjust_symndx
576
 
577
#include "coffcode.h"
578
 
579
const bfd_target or32coff_big_vec =
580
{
581
  "coff-or32-big",  /* name */
582
  bfd_target_coff_flavour,
583
  BFD_ENDIAN_BIG,   /* data byte order is big */
584
  BFD_ENDIAN_BIG,   /* header byte order is big */
585
 
586
  (HAS_RELOC  | EXEC_P |    /* object flags */
587
   HAS_LINENO | HAS_DEBUG |
588
   HAS_SYMS   | HAS_LOCALS | WP_TEXT),
589
 
590
  (SEC_HAS_CONTENTS | SEC_ALLOC | /* section flags */
591
   SEC_LOAD | SEC_RELOC |
592
   SEC_READONLY ),
593
  '_',        /* leading underscore */
594
  '/',        /* ar_pad_char */
595
  15,       /* ar_max_namelen */
596
 
597
  /* data */
598
  bfd_getb64, bfd_getb_signed_64, bfd_putb64,
599
  bfd_getb32, bfd_getb_signed_32, bfd_putb32,
600
  bfd_getb16, bfd_getb_signed_16, bfd_putb16,
601
 
602
  /* hdrs */
603
  bfd_getb64, bfd_getb_signed_64, bfd_putb64,
604
  bfd_getb32, bfd_getb_signed_32, bfd_putb32,
605
  bfd_getb16, bfd_getb_signed_16, bfd_putb16,
606
 
607
  {
608
    _bfd_dummy_target,
609
    coff_object_p,
610
    bfd_generic_archive_p,
611
    _bfd_dummy_target
612
  },
613
  {
614
    bfd_false,
615
    coff_mkobject,
616
    _bfd_generic_mkarchive,
617
    bfd_false
618
  },
619
  {
620
    bfd_false,
621
    coff_write_object_contents,
622
    _bfd_write_archive_contents,
623
    bfd_false
624
  },
625
 
626
  BFD_JUMP_TABLE_GENERIC (coff),
627
  BFD_JUMP_TABLE_COPY (coff),
628
  BFD_JUMP_TABLE_CORE (_bfd_nocore),
629
  BFD_JUMP_TABLE_ARCHIVE (_bfd_archive_coff),
630
  BFD_JUMP_TABLE_SYMBOLS (coff),
631
  BFD_JUMP_TABLE_RELOCS (coff),
632
  BFD_JUMP_TABLE_WRITE (coff),
633
  BFD_JUMP_TABLE_LINK (coff),
634
  BFD_JUMP_TABLE_DYNAMIC (_bfd_nodynamic),
635
 
636
 /* Alternative_target.  */
637
#ifdef TARGET_LITTLE_SYM
638
  & TARGET_LITTLE_SYM,
639
#else
640
  NULL,
641
#endif
642
 
643
  COFF_SWAP_TABLE
644
};

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.