1 |
vapier 07/09/09 02:39:15 |
2 |
|
3 |
Modified: 13_all_mips-gnu-hash-support.patch |
4 |
Log: |
5 |
document patch |
6 |
|
7 |
Revision Changes Path |
8 |
1.2 src/patchsets/binutils/2.18/13_all_mips-gnu-hash-support.patch |
9 |
|
10 |
file : http://sources.gentoo.org/viewcvs.py/gentoo/src/patchsets/binutils/2.18/13_all_mips-gnu-hash-support.patch?rev=1.2&view=markup |
11 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo/src/patchsets/binutils/2.18/13_all_mips-gnu-hash-support.patch?rev=1.2&content-type=text/plain |
12 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo/src/patchsets/binutils/2.18/13_all_mips-gnu-hash-support.patch?r1=1.1&r2=1.2 |
13 |
|
14 |
Index: 13_all_mips-gnu-hash-support.patch |
15 |
=================================================================== |
16 |
RCS file: /var/cvsroot/gentoo/src/patchsets/binutils/2.18/13_all_mips-gnu-hash-support.patch,v |
17 |
retrieving revision 1.1 |
18 |
retrieving revision 1.2 |
19 |
diff -u -r1.1 -r1.2 |
20 |
--- 13_all_mips-gnu-hash-support.patch 4 Sep 2007 06:03:37 -0000 1.1 |
21 |
+++ 13_all_mips-gnu-hash-support.patch 9 Sep 2007 02:39:15 -0000 1.2 |
22 |
@@ -1,6 +1,9 @@ |
23 |
-diff -Naurp binutils-2.18.orig/bfd/elfxx-mips.c binutils-2.18/bfd/elfxx-mips.c |
24 |
---- binutils-2.18.orig/bfd/elfxx-mips.c 2007-08-24 10:01:08.000000000 -0400 |
25 |
-+++ binutils-2.18/bfd/elfxx-mips.c 2007-09-03 19:36:18.000000000 -0400 |
26 |
+add experimental support for GNU_HASH on mips |
27 |
+ |
28 |
+http://sourceware.org/ml/binutils/2007-08/msg00387.html |
29 |
+ |
30 |
+--- binutils-2.18/bfd/elfxx-mips.c |
31 |
++++ binutils-2.18/bfd/elfxx-mips.c |
32 |
@@ -497,6 +497,8 @@ static struct mips_got_entry *mips_elf_c |
33 |
bfd_vma, unsigned long, struct mips_elf_link_hash_entry *, int); |
34 |
static bfd_boolean mips_elf_sort_hash_table_f |
35 |
@@ -147,9 +150,8 @@ |
36 |
|
37 |
/* Make sure we didn't grow the global .got region. */ |
38 |
dynobj = elf_hash_table (info)->dynobj; |
39 |
-diff -Naurp binutils-2.18.orig/binutils/readelf.c binutils-2.18/binutils/readelf.c |
40 |
---- binutils-2.18.orig/binutils/readelf.c 2007-09-03 18:57:43.000000000 -0400 |
41 |
-+++ binutils-2.18/binutils/readelf.c 2007-09-03 19:36:18.000000000 -0400 |
42 |
+--- binutils-2.18/binutils/readelf.c |
43 |
++++ binutils-2.18/binutils/readelf.c |
44 |
@@ -6934,6 +6934,7 @@ get_mips_symbol_other (unsigned int othe |
45 |
{ |
46 |
case STO_OPTIONAL: return "OPTIONAL"; |
47 |
@@ -158,9 +160,8 @@ |
48 |
default: return NULL; |
49 |
} |
50 |
} |
51 |
-diff -Naurp binutils-2.18.orig/include/elf/mips.h binutils-2.18/include/elf/mips.h |
52 |
---- binutils-2.18.orig/include/elf/mips.h 2007-08-06 15:59:47.000000000 -0400 |
53 |
-+++ binutils-2.18/include/elf/mips.h 2007-09-03 19:36:18.000000000 -0400 |
54 |
+--- binutils-2.18/include/elf/mips.h |
55 |
++++ binutils-2.18/include/elf/mips.h |
56 |
@@ -727,6 +727,9 @@ extern void bfd_mips_elf32_swap_reginfo_ |
57 |
is optional - if, at final link time, it cannot be found, no |
58 |
error message should be produced. */ |
59 |
@@ -171,9 +172,8 @@ |
60 |
/* A macro to examine the STO_OPTIONAL bit. */ |
61 |
#define ELF_MIPS_IS_OPTIONAL(other) ((other) & STO_OPTIONAL) |
62 |
|
63 |
-diff -Naurp binutils-2.18.orig/ld/emultempl/mipself.em binutils-2.18/ld/emultempl/mipself.em |
64 |
---- binutils-2.18.orig/ld/emultempl/mipself.em 2007-08-06 16:00:22.000000000 -0400 |
65 |
-+++ binutils-2.18/ld/emultempl/mipself.em 2007-09-03 19:36:18.000000000 -0400 |
66 |
+--- binutils-2.18/ld/emultempl/mipself.em |
67 |
++++ binutils-2.18/ld/emultempl/mipself.em |
68 |
@@ -25,12 +25,18 @@ mips_after_parse (void) |
69 |
/* .gnu.hash and the MIPS ABI require .dynsym to be sorted in different |
70 |
ways. .gnu.hash needs symbols to be grouped by hash code whereas the |
71 |
|
72 |
|
73 |
|
74 |
-- |
75 |
gentoo-commits@g.o mailing list |