Searched refs:relocation (Results 1 - 25 of 292) sorted by relevance

1234567891011>>

/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6/arch/m32r/kernel/
H A Dmodule.c103 Elf32_Addr relocation; local
121 relocation = sym->st_value + rel[i].r_addend;
127 value += relocation;
132 relocation = (relocation >>16) & 0xffff;
133 /* RELA must has 0 at relocation field. */
134 value += relocation;
139 if (relocation & 0x8000) relocation += 0x10000;
140 relocation
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6.36/arch/m32r/kernel/
H A Dmodule.c103 Elf32_Addr relocation; local
121 relocation = sym->st_value + rel[i].r_addend;
127 value += relocation;
132 relocation = (relocation >>16) & 0xffff;
133 /* RELA must has 0 at relocation field. */
134 value += relocation;
139 if (relocation & 0x8000) relocation += 0x10000;
140 relocation
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6/arch/avr32/kernel/
H A Dmodule.c52 "GOT relocation against %s at offset %u with addend\n",
144 Elf32_Addr relocation)
146 printk(KERN_ERR "module %s: Value %lx does not fit relocation %s\n",
147 module->name, (unsigned long)relocation, reloc_name);
168 Elf32_Addr relocation; local
174 relocation = sym->st_value + rel->r_addend;
192 *gotent = relocation;
196 relocation = info->got_offset;
203 *location = relocation;
206 relocation
143 reloc_overflow(struct module *module, const char *reloc_name, Elf32_Addr relocation) argument
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6.36/arch/avr32/kernel/
H A Dmodule.c52 "GOT relocation against %s at offset %u with addend\n",
144 Elf32_Addr relocation)
146 printk(KERN_ERR "module %s: Value %lx does not fit relocation %s\n",
147 module->name, (unsigned long)relocation, reloc_name);
168 Elf32_Addr relocation; local
174 relocation = sym->st_value + rel->r_addend;
192 *gotent = relocation;
196 relocation = info->got_offset;
203 *location = relocation;
206 relocation
143 reloc_overflow(struct module *module, const char *reloc_name, Elf32_Addr relocation) argument
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6.36/arch/sh/kernel/
H A Dmodule.c70 Elf32_Addr relocation; local
84 relocation = sym->st_value + rel[i].r_addend;
92 relocation |= !!(sym->st_other & 4);
98 value += relocation;
102 relocation = (relocation - (Elf32_Addr) location);
104 value += relocation;
109 ((relocation & 0xffff) << 10);
113 (((relocation >> 16) & 0xffff) << 10);
116 relocation
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6/arch/sh/kernel/
H A Dmodule.c70 Elf32_Addr relocation; local
84 relocation = sym->st_value + rel[i].r_addend;
92 relocation |= !!(sym->st_other & 4);
98 value += relocation;
102 relocation = (relocation - (Elf32_Addr) location);
104 value += relocation;
109 ((relocation & 0xffff) << 10);
113 (((relocation >> 16) & 0xffff) << 10);
116 relocation
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src/router/gdb/bfd/
H A Delf32-d30v.c41 bfd_signed_vma relocation; local
70 /* Is the address of the relocation really within the section? */
74 /* Work out which section the relocation is targeted at and the
75 initial relocation command value. */
79 relocation = 0;
81 relocation = symbol->value;
87 relocation += output_base + symbol->section->output_offset;
90 relocation += reloc_entry->addend;
92 /* Here the variable relocation holds the final address of the
99 relocation
150 bfd_vma relocation; local
[all...]
H A Dcpu-ns32k.c171 bfd_vma relocation; local
194 /* Is the address of the relocation really within the section? */
198 /* Work out which section the relocation is targeted at and the
199 initial relocation command value. */
203 relocation = 0;
205 relocation = symbol->value;
215 relocation += output_base + symbol->section->output_offset;
218 relocation += reloc_entry->addend;
220 /* Here the variable relocation holds the final address of the
225 /* This is a PC relative relocation
803 bfd_vma relocation; local
[all...]
H A Dreloc.c1 /* BFD support for handling relocation entries.
38 a <<struct reloc_cache_entry>> for each relocation
63 This is the structure of a relocation entry:
72 . {* The relocation was performed, but there was an overflow. *}
81 . {* Unsupported relocation size requested. *}
90 . {* The relocation was performed, but may not be ok - presently
107 . {* addend for relocation value. *}
110 . {* Pointer to how to perform the required relocation. *}
126 associated with the relocation request. It is the pointer
131 modifying only one pointer. The relocation routin
492 bfd_check_overflow(enum complain_overflow how, unsigned int bitsize, unsigned int rightshift, unsigned int addrsize, bfd_vma relocation) argument
584 bfd_vma relocation; local
974 bfd_vma relocation; local
1343 bfd_vma relocation; local
1380 _bfd_relocate_contents(reloc_howto_type *howto, bfd *input_bfd, bfd_vma relocation, bfd_byte *location) argument
[all...]
H A Dcoff-m88k.c74 /* This is a partial relocation, and we want to apply the
75 relocation to the reloc entry rather than the raw data.
86 long relocation = 0; local
88 /* Work out which section the relocation is targeted at and the
89 initial relocation command value. */
93 relocation = 0;
95 relocation = symbol->value;
105 relocation += output_base + symbol->section->output_offset;
108 relocation += ((reloc_entry->addend << howto->bitsize) + x);
112 relocation >>
[all...]
H A Delf32-i860.c30 /* special_function for R_860_PC26 relocation. */
41 bfd_vma relocation; local
59 relocation = 0;
61 relocation = symbol->value;
63 relocation += symbol->section->output_section->vma;
64 relocation += symbol->section->output_offset;
65 relocation += reloc_entry->addend;
70 /* Adjust for PC-relative relocation. */
71 relocation -= (input_section->output_section->vma
77 if ((bfd_signed_vma)relocation > (
104 bfd_vma relocation; local
168 bfd_vma relocation; local
221 bfd_vma relocation; local
1029 i860_final_link_relocate(reloc_howto_type *howto, bfd *input_bfd, asection *input_section, bfd_byte *contents, Elf_Internal_Rela *rel, bfd_vma relocation) argument
1098 bfd_vma relocation; local
[all...]
H A Dmipsbsd.c111 /* Determine the size of a relocation entry, based on the architecture */
130 file header, symbols, and relocation. */
183 /* MIPS relocation types. */
191 /* This is only called when performing a BFD_RELOC_MIPS_JMP relocation.
209 bfd_vma relocation, pc; local
211 /* If this is a partial relocation, just continue. */
220 /* Work out which section the relocation is targeted at and the
221 initial relocation command value. */
223 relocation = 0;
225 relocation
260 bfd_vma relocation; local
[all...]
H A Daout-arm.c162 r_neg = howto->type & 8; /* Negative relocation. */
209 relocation is done. */
245 bfd_vma relocation;
255 /* If the sections are different, and we are doing a partial relocation,
261 relocation = (target & 0x00ffffff) << 2;
262 relocation = (relocation ^ 0x02000000) - 0x02000000; /* Sign extend. */
263 relocation += symbol->value;
264 relocation += symbol->section->output_section->vma;
265 relocation
244 bfd_vma relocation; local
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt/router/gdb/bfd/
H A Delf32-d30v.c41 bfd_signed_vma relocation; local
70 /* Is the address of the relocation really within the section? */
74 /* Work out which section the relocation is targeted at and the
75 initial relocation command value. */
79 relocation = 0;
81 relocation = symbol->value;
87 relocation += output_base + symbol->section->output_offset;
90 relocation += reloc_entry->addend;
92 /* Here the variable relocation holds the final address of the
99 relocation
150 bfd_vma relocation; local
[all...]
H A Dcpu-ns32k.c171 bfd_vma relocation; local
194 /* Is the address of the relocation really within the section? */
198 /* Work out which section the relocation is targeted at and the
199 initial relocation command value. */
203 relocation = 0;
205 relocation = symbol->value;
215 relocation += output_base + symbol->section->output_offset;
218 relocation += reloc_entry->addend;
220 /* Here the variable relocation holds the final address of the
225 /* This is a PC relative relocation
803 bfd_vma relocation; local
[all...]
H A Dreloc.c1 /* BFD support for handling relocation entries.
38 a <<struct reloc_cache_entry>> for each relocation
63 This is the structure of a relocation entry:
72 . {* The relocation was performed, but there was an overflow. *}
81 . {* Unsupported relocation size requested. *}
90 . {* The relocation was performed, but may not be ok - presently
107 . {* addend for relocation value. *}
110 . {* Pointer to how to perform the required relocation. *}
126 associated with the relocation request. It is the pointer
131 modifying only one pointer. The relocation routin
492 bfd_check_overflow(enum complain_overflow how, unsigned int bitsize, unsigned int rightshift, unsigned int addrsize, bfd_vma relocation) argument
584 bfd_vma relocation; local
974 bfd_vma relocation; local
1343 bfd_vma relocation; local
1380 _bfd_relocate_contents(reloc_howto_type *howto, bfd *input_bfd, bfd_vma relocation, bfd_byte *location) argument
[all...]
H A Dcoff-m88k.c74 /* This is a partial relocation, and we want to apply the
75 relocation to the reloc entry rather than the raw data.
86 long relocation = 0; local
88 /* Work out which section the relocation is targeted at and the
89 initial relocation command value. */
93 relocation = 0;
95 relocation = symbol->value;
105 relocation += output_base + symbol->section->output_offset;
108 relocation += ((reloc_entry->addend << howto->bitsize) + x);
112 relocation >>
[all...]
H A Delf32-i860.c30 /* special_function for R_860_PC26 relocation. */
41 bfd_vma relocation; local
59 relocation = 0;
61 relocation = symbol->value;
63 relocation += symbol->section->output_section->vma;
64 relocation += symbol->section->output_offset;
65 relocation += reloc_entry->addend;
70 /* Adjust for PC-relative relocation. */
71 relocation -= (input_section->output_section->vma
77 if ((bfd_signed_vma)relocation > (
104 bfd_vma relocation; local
168 bfd_vma relocation; local
221 bfd_vma relocation; local
1029 i860_final_link_relocate(reloc_howto_type *howto, bfd *input_bfd, asection *input_section, bfd_byte *contents, Elf_Internal_Rela *rel, bfd_vma relocation) argument
1098 bfd_vma relocation; local
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/router/gdb/bfd/
H A Delf32-d30v.c41 bfd_signed_vma relocation; local
70 /* Is the address of the relocation really within the section? */
74 /* Work out which section the relocation is targeted at and the
75 initial relocation command value. */
79 relocation = 0;
81 relocation = symbol->value;
87 relocation += output_base + symbol->section->output_offset;
90 relocation += reloc_entry->addend;
92 /* Here the variable relocation holds the final address of the
99 relocation
150 bfd_vma relocation; local
[all...]
H A Dcpu-ns32k.c171 bfd_vma relocation; local
194 /* Is the address of the relocation really within the section? */
198 /* Work out which section the relocation is targeted at and the
199 initial relocation command value. */
203 relocation = 0;
205 relocation = symbol->value;
215 relocation += output_base + symbol->section->output_offset;
218 relocation += reloc_entry->addend;
220 /* Here the variable relocation holds the final address of the
225 /* This is a PC relative relocation
803 bfd_vma relocation; local
[all...]
H A Dreloc.c1 /* BFD support for handling relocation entries.
38 a <<struct reloc_cache_entry>> for each relocation
63 This is the structure of a relocation entry:
72 . {* The relocation was performed, but there was an overflow. *}
81 . {* Unsupported relocation size requested. *}
90 . {* The relocation was performed, but may not be ok - presently
107 . {* addend for relocation value. *}
110 . {* Pointer to how to perform the required relocation. *}
126 associated with the relocation request. It is the pointer
131 modifying only one pointer. The relocation routin
492 bfd_check_overflow(enum complain_overflow how, unsigned int bitsize, unsigned int rightshift, unsigned int addrsize, bfd_vma relocation) argument
584 bfd_vma relocation; local
974 bfd_vma relocation; local
1343 bfd_vma relocation; local
1380 _bfd_relocate_contents(reloc_howto_type *howto, bfd *input_bfd, bfd_vma relocation, bfd_byte *location) argument
[all...]
H A Dcoff-m88k.c74 /* This is a partial relocation, and we want to apply the
75 relocation to the reloc entry rather than the raw data.
86 long relocation = 0; local
88 /* Work out which section the relocation is targeted at and the
89 initial relocation command value. */
93 relocation = 0;
95 relocation = symbol->value;
105 relocation += output_base + symbol->section->output_offset;
108 relocation += ((reloc_entry->addend << howto->bitsize) + x);
112 relocation >>
[all...]
H A Delf32-i860.c30 /* special_function for R_860_PC26 relocation. */
41 bfd_vma relocation; local
59 relocation = 0;
61 relocation = symbol->value;
63 relocation += symbol->section->output_section->vma;
64 relocation += symbol->section->output_offset;
65 relocation += reloc_entry->addend;
70 /* Adjust for PC-relative relocation. */
71 relocation -= (input_section->output_section->vma
77 if ((bfd_signed_vma)relocation > (
104 bfd_vma relocation; local
168 bfd_vma relocation; local
221 bfd_vma relocation; local
1029 i860_final_link_relocate(reloc_howto_type *howto, bfd *input_bfd, asection *input_section, bfd_byte *contents, Elf_Internal_Rela *rel, bfd_vma relocation) argument
1098 bfd_vma relocation; local
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6/arch/mn10300/kernel/
H A Dmodule.c80 * apply a REL relocation
94 * apply a RELA relocation
105 Elf32_Addr relocation, sym_diff_val = 0; local
117 /* this is the symbol the relocation is referring to (note that
123 relocation = sym->st_value + rel[i].r_addend;
131 relocation -= sym_diff_val;
135 printk(KERN_ERR "module %s: Unexpected SYM_DIFF relocation: %u\n",
142 /* for the first four relocation types, we simply
145 reloc_put32(location, relocation);
148 reloc_put24(location, relocation);
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6.36/arch/mn10300/kernel/
H A Dmodule.c80 * apply a REL relocation
94 * apply a RELA relocation
105 Elf32_Addr relocation, sym_diff_val = 0; local
117 /* this is the symbol the relocation is referring to (note that
123 relocation = sym->st_value + rel[i].r_addend;
131 relocation -= sym_diff_val;
135 printk(KERN_ERR "module %s: Unexpected SYM_DIFF relocation: %u\n",
142 /* for the first four relocation types, we simply
145 reloc_put32(location, relocation);
148 reloc_put24(location, relocation);
[all...]

Completed in 312 milliseconds

1234567891011>>