Displaying 3 results from an estimated 3 matches for "ndynsym".
Did you mean:
dynsym
2007 Mar 05
7
[PATCH 2/10] linux 2.6.18: COMPAT_VDSO
...const unsigned long *reloc_start, const unsigned long *reloc_end)
+{
+#if 1
+ const unsigned long *reloc;
+
+ for (reloc = reloc_start; reloc < reloc_end; ++reloc) {
+ unsigned long *ptr = (void *)((unsigned long)ehdr + *reloc);
+
+ *ptr += new_base - old_base;
+ }
+#else
+ unsigned i, ndynsym = 0, szdynsym = 0;
+ unsigned long dynsym = 0;
+
+ BUG_ON(ehdr->e_ident[EI_MAG0] != ELFMAG0);
+ BUG_ON(ehdr->e_ident[EI_MAG1] != ELFMAG1);
+ BUG_ON(ehdr->e_ident[EI_MAG2] != ELFMAG2);
+ BUG_ON(ehdr->e_ident[EI_MAG3] != ELFMAG3);
+ BUG_ON(ehdr->e_ident[EI_CLASS] != ELFCLASS32);
+ BUG_...
2007 Mar 05
7
[PATCH 2/10] linux 2.6.18: COMPAT_VDSO
...const unsigned long *reloc_start, const unsigned long *reloc_end)
+{
+#if 1
+ const unsigned long *reloc;
+
+ for (reloc = reloc_start; reloc < reloc_end; ++reloc) {
+ unsigned long *ptr = (void *)((unsigned long)ehdr + *reloc);
+
+ *ptr += new_base - old_base;
+ }
+#else
+ unsigned i, ndynsym = 0, szdynsym = 0;
+ unsigned long dynsym = 0;
+
+ BUG_ON(ehdr->e_ident[EI_MAG0] != ELFMAG0);
+ BUG_ON(ehdr->e_ident[EI_MAG1] != ELFMAG1);
+ BUG_ON(ehdr->e_ident[EI_MAG2] != ELFMAG2);
+ BUG_ON(ehdr->e_ident[EI_MAG3] != ELFMAG3);
+ BUG_ON(ehdr->e_ident[EI_CLASS] != ELFCLASS32);
+ BUG_...
2007 Mar 05
7
[PATCH 2/10] linux 2.6.18: COMPAT_VDSO
...const unsigned long *reloc_start, const unsigned long *reloc_end)
+{
+#if 1
+ const unsigned long *reloc;
+
+ for (reloc = reloc_start; reloc < reloc_end; ++reloc) {
+ unsigned long *ptr = (void *)((unsigned long)ehdr + *reloc);
+
+ *ptr += new_base - old_base;
+ }
+#else
+ unsigned i, ndynsym = 0, szdynsym = 0;
+ unsigned long dynsym = 0;
+
+ BUG_ON(ehdr->e_ident[EI_MAG0] != ELFMAG0);
+ BUG_ON(ehdr->e_ident[EI_MAG1] != ELFMAG1);
+ BUG_ON(ehdr->e_ident[EI_MAG2] != ELFMAG2);
+ BUG_ON(ehdr->e_ident[EI_MAG3] != ELFMAG3);
+ BUG_ON(ehdr->e_ident[EI_CLASS] != ELFCLASS32);
+ BUG_...