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

Side by Side Diff: bfd/elf32-openrisc.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-mt.c ('k') | bfd/elf32-ppc.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* OpenRISC-specific support for 32-bit ELF. 1 /* OpenRISC-specific support for 32-bit ELF.
2 Copyright 2001, 2002, 2003, 2004, 2005, 2006, 2007 2 Copyright 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2010, 2012
3 Free Software Foundation, Inc. 3 Free Software Foundation, Inc.
4 Contributed by Johan Rydberg, jrydberg@opencores.org 4 Contributed by Johan Rydberg, jrydberg@opencores.org
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 353 matching lines...) Expand 10 before | Expand all | Expand 10 after
366 else 366 else
367 { 367 {
368 bfd_boolean unresolved_reloc, warned; 368 bfd_boolean unresolved_reloc, warned;
369 369
370 RELOC_FOR_GLOBAL_SYMBOL (info, input_bfd, input_section, rel, 370 RELOC_FOR_GLOBAL_SYMBOL (info, input_bfd, input_section, rel,
371 r_symndx, symtab_hdr, sym_hashes, 371 r_symndx, symtab_hdr, sym_hashes,
372 h, sec, relocation, 372 h, sec, relocation,
373 unresolved_reloc, warned); 373 unresolved_reloc, warned);
374 } 374 }
375 375
376 if (sec != NULL && elf_discarded_section (sec)) 376 if (sec != NULL && discarded_section (sec))
377 RELOC_AGAINST_DISCARDED_SECTION (info, input_bfd, input_section, 377 RELOC_AGAINST_DISCARDED_SECTION (info, input_bfd, input_section,
378 » » » » » rel, relend, howto, contents); 378 » » » » » rel, 1, relend, howto, 0, contents);
379 379
380 if (info->relocatable) 380 if (info->relocatable)
381 continue; 381 continue;
382 382
383 r = openrisc_final_link_relocate (howto, input_bfd, input_section, 383 r = openrisc_final_link_relocate (howto, input_bfd, input_section,
384 contents, rel, relocation); 384 contents, rel, relocation);
385 385
386 if (r != bfd_reloc_ok) 386 if (r != bfd_reloc_ok)
387 { 387 {
388 const char *msg = NULL; 388 const char *msg = NULL;
(...skipping 168 matching lines...) Expand 10 before | Expand all | Expand 10 after
557 #define elf_backend_can_gc_sections 1 557 #define elf_backend_can_gc_sections 1
558 #define elf_backend_rela_normal 1 558 #define elf_backend_rela_normal 1
559 559
560 #define bfd_elf32_bfd_reloc_type_lookup openrisc_reloc_type_lookup 560 #define bfd_elf32_bfd_reloc_type_lookup openrisc_reloc_type_lookup
561 #define bfd_elf32_bfd_reloc_name_lookup openrisc_reloc_name_lookup 561 #define bfd_elf32_bfd_reloc_name_lookup openrisc_reloc_name_lookup
562 562
563 #define elf_backend_object_p openrisc_elf_object_p 563 #define elf_backend_object_p openrisc_elf_object_p
564 #define elf_backend_final_write_processing openrisc_elf_final_write_processing 564 #define elf_backend_final_write_processing openrisc_elf_final_write_processing
565 565
566 #include "elf32-target.h" 566 #include "elf32-target.h"
OLDNEW
« no previous file with comments | « bfd/elf32-mt.c ('k') | bfd/elf32-ppc.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698