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

Side by Side Diff: bfd/elf32-fr30.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-epiphany.c ('k') | bfd/elf32-frv.c » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
None
OLDNEW
1 /* FR30-specific support for 32-bit ELF. 1 /* FR30-specific support for 32-bit ELF.
2 Copyright 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008 2 Copyright 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008,
3 2010, 2012
3 Free Software Foundation, Inc. 4 Free Software Foundation, Inc.
4 5
5 This file is part of BFD, the Binary File Descriptor library. 6 This file is part of BFD, the Binary File Descriptor library.
6 7
7 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
8 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
9 the Free Software Foundation; either version 3 of the License, or 10 the Free Software Foundation; either version 3 of the License, or
10 (at your option) any later version. 11 (at your option) any later version.
11 12
12 This program is distributed in the hope that it will be useful, 13 This program is distributed in the hope that it will be useful,
13 but WITHOUT ANY WARRANTY; without even the implied warranty of 14 but WITHOUT ANY WARRANTY; without even the implied warranty of
14 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 15 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 GNU General Public License for more details. 16 GNU General Public License for more details.
16 17
17 You should have received a copy of the GNU General Public License 18 You should have received a copy of the GNU General Public License
18 along with this program; if not, write to the Free Software 19 along with this program; if not, write to the Free Software
19 Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, 20 Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston,
20 MA 02110-1301, USA. */ 21 MA 02110-1301, USA. */
21 22
22 #include "sysdep.h" 23 #include "sysdep.h"
23 #include "bfd.h" 24 #include "bfd.h"
24 #include "libbfd.h" 25 #include "libbfd.h"
25 #include "elf-bfd.h" 26 #include "elf-bfd.h"
26 #include "elf/fr30.h" 27 #include "elf/fr30.h"
27 28
28 /* Forward declarations. */ 29 /* Forward declarations. */
29 static bfd_reloc_status_type fr30_elf_i20_reloc 30 static bfd_reloc_status_type
30 PARAMS ((bfd *, arelent *, asymbol *, PTR, asection *, bfd *, char **)); 31 fr30_elf_i20_reloc (bfd *, arelent *, asymbol *, void * data,
31 static bfd_reloc_status_type fr30_elf_i32_reloc 32 » » asection *, bfd *, char **error_message);
32 PARAMS ((bfd *, arelent *, asymbol *, PTR, asection *, bfd *, char **)); 33 static bfd_reloc_status_type
33 static reloc_howto_type * fr30_reloc_type_lookup 34 fr30_elf_i32_reloc (bfd *, arelent *, asymbol *, void *,
34 PARAMS ((bfd *abfd, bfd_reloc_code_real_type code)); 35 » » asection *, bfd *, char **);
35 static void fr30_info_to_howto_rela
36 PARAMS ((bfd *, arelent *, Elf_Internal_Rela *));
37 static bfd_boolean fr30_elf_relocate_section
38 PARAMS ((bfd *, struct bfd_link_info *, bfd *, asection *, bfd_byte *,
39 » Elf_Internal_Rela *, Elf_Internal_Sym *, asection **));
40 static bfd_reloc_status_type fr30_final_link_relocate
41 PARAMS ((reloc_howto_type *, bfd *, asection *, bfd_byte *,
42 » Elf_Internal_Rela *, bfd_vma));
43 static bfd_boolean fr30_elf_check_relocs
44 PARAMS ((bfd *, struct bfd_link_info *, asection *,
45 » const Elf_Internal_Rela *));
46 36
47 static reloc_howto_type fr30_elf_howto_table [] = 37 static reloc_howto_type fr30_elf_howto_table [] =
48 { 38 {
49 /* This reloc does nothing. */ 39 /* This reloc does nothing. */
50 HOWTO (R_FR30_NONE, /* type */ 40 HOWTO (R_FR30_NONE, /* type */
51 0, /* rightshift */ 41 0, /* rightshift */
52 2, /* size (0 = byte, 1 = short, 2 = long) */ 42 2, /* size (0 = byte, 1 = short, 2 = long) */
53 32, /* bitsize */ 43 32, /* bitsize */
54 FALSE, /* pc_relative */ 44 FALSE, /* pc_relative */
55 0, /* bitpos */ 45 0, /* bitpos */
(...skipping 178 matching lines...) Expand 10 before | Expand all | Expand 10 after
234 0, /* bitpos */ 224 0, /* bitpos */
235 complain_overflow_dont, /* complain_on_overflow */ 225 complain_overflow_dont, /* complain_on_overflow */
236 _bfd_elf_rel_vtable_reloc_fn, /* special_function */ 226 _bfd_elf_rel_vtable_reloc_fn, /* special_function */
237 "R_FR30_GNU_VTENTRY", /* name */ 227 "R_FR30_GNU_VTENTRY", /* name */
238 FALSE, /* partial_inplace */ 228 FALSE, /* partial_inplace */
239 0, /* src_mask */ 229 0, /* src_mask */
240 0, /* dst_mask */ 230 0, /* dst_mask */
241 FALSE), /* pcrel_offset */ 231 FALSE), /* pcrel_offset */
242 }; 232 };
243 233

error: old chunk mismatch

OLDNEW
« no previous file with comments | « bfd/elf32-epiphany.c ('k') | bfd/elf32-frv.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698