Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1026)

Side by Side Diff: bfd/elf32-epiphany.c

Issue 11969036: Merge GDB 7.5.1 (Closed) Base URL: http://git.chromium.org/native_client/nacl-gdb.git@master
Patch Set: Created 7 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « bfd/elf32-d10v.c ('k') | bfd/elf32-fr30.c » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* Adapteva epiphany specific support for 32-bit ELF 1 /* Adapteva epiphany specific support for 32-bit ELF
2 Copyright 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2009, 2011 2 Copyright 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2009, 2011, 2012
3 Free Software Foundation, Inc. 3 Free Software Foundation, Inc.
4 Contributed by Embecosm on behalf of Adapteva, Inc. 4 Contributed by Embecosm on behalf of Adapteva, Inc.
5 5
6 This file is part of BFD, the Binary File Descriptor library. 6 This file is part of BFD, the Binary File Descriptor library.
7 7
8 This program is free software; you can redistribute it and/or modify 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 9 it under the terms of the GNU General Public License as published by
10 the Free Software Foundation; either version 3 of the License, or 10 the Free Software Foundation; either version 3 of the License, or
11 (at your option) any later version. 11 (at your option) any later version.
12 12
(...skipping 504 matching lines...) Expand 10 before | Expand all | Expand 10 after
517 bfd_boolean unresolved_reloc ATTRIBUTE_UNUSED; 517 bfd_boolean unresolved_reloc ATTRIBUTE_UNUSED;
518 518
519 RELOC_FOR_GLOBAL_SYMBOL (info, input_bfd, input_section, rel, 519 RELOC_FOR_GLOBAL_SYMBOL (info, input_bfd, input_section, rel,
520 r_symndx, symtab_hdr, sym_hashes, 520 r_symndx, symtab_hdr, sym_hashes,
521 h, sec, relocation, 521 h, sec, relocation,
522 unresolved_reloc, warned); 522 unresolved_reloc, warned);
523 523
524 name = h->root.root.string; 524 name = h->root.root.string;
525 } 525 }
526 526
527 if (sec != NULL && elf_discarded_section (sec)) 527 if (sec != NULL && discarded_section (sec))
528 RELOC_AGAINST_DISCARDED_SECTION (info, input_bfd, input_section, 528 RELOC_AGAINST_DISCARDED_SECTION (info, input_bfd, input_section,
529 » » » » » rel, relend, howto, contents); 529 » » » » » rel, 1, relend, howto, 0, contents);
530 530
531 if (info->relocatable) 531 if (info->relocatable)
532 continue; 532 continue;
533 533
534 /* Finally, the sole EPIPHANY-specific part. */ 534 /* Finally, the sole EPIPHANY-specific part. */
535 r = epiphany_final_link_relocate (howto, input_bfd, input_section, 535 r = epiphany_final_link_relocate (howto, input_bfd, input_section,
536 contents, rel, relocation); 536 contents, rel, relocation);
537 537
538 if (r != bfd_reloc_ok) 538 if (r != bfd_reloc_ok)
539 { 539 {
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after
599 #define elf_backend_can_gc_sections 1 599 #define elf_backend_can_gc_sections 1
600 #define elf_backend_rela_normal 1 600 #define elf_backend_rela_normal 1
601 #define elf_backend_relocate_section epiphany_elf_relocate_section 601 #define elf_backend_relocate_section epiphany_elf_relocate_section
602 602
603 #define elf_symbol_leading_char '_' 603 #define elf_symbol_leading_char '_'
604 #define bfd_elf32_bfd_reloc_type_lookup epiphany_reloc_type_lookup 604 #define bfd_elf32_bfd_reloc_type_lookup epiphany_reloc_type_lookup
605 #define bfd_elf32_bfd_reloc_name_lookup epiphany_reloc_name_lookup 605 #define bfd_elf32_bfd_reloc_name_lookup epiphany_reloc_name_lookup
606 #define bfd_elf32_bfd_relax_section epiphany_elf_relax_section 606 #define bfd_elf32_bfd_relax_section epiphany_elf_relax_section
607 607
608 #include "elf32-target.h" 608 #include "elf32-target.h"
OLDNEW
« no previous file with comments | « bfd/elf32-d10v.c ('k') | bfd/elf32-fr30.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698