diff options
author | Richard Purdie <rpurdie@linux.intel.com> | 2010-08-27 15:14:24 +0100 |
---|---|---|
committer | Richard Purdie <rpurdie@linux.intel.com> | 2010-08-27 15:29:45 +0100 |
commit | 29d6678fd546377459ef75cf54abeef5b969b5cf (patch) | |
tree | 8edd65790e37a00d01c3f203f773fe4b5012db18 /meta/recipes-devtools/binutils/binutils-2.20.1/binutils-mips-pie.patch | |
parent | da49de6885ee1bc424e70bc02f21f6ab920efb55 (diff) | |
download | poky-29d6678fd546377459ef75cf54abeef5b969b5cf.tar.gz |
Major layout change to the packages directory
Having one monolithic packages directory makes it hard to find things
and is generally overwhelming. This commit splits it into several
logical sections roughly based on function, recipes.txt gives more
information about the classifications used.
The opportunity is also used to switch from "packages" to "recipes"
as used in OpenEmbedded as the term "packages" can be confusing to
people and has many different meanings.
Not all recipes have been classified yet, this is just a first pass
at separating things out. Some packages are moved to meta-extras as
they're no longer actively used or maintained.
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Diffstat (limited to 'meta/recipes-devtools/binutils/binutils-2.20.1/binutils-mips-pie.patch')
-rw-r--r-- | meta/recipes-devtools/binutils/binutils-2.20.1/binutils-mips-pie.patch | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/meta/recipes-devtools/binutils/binutils-2.20.1/binutils-mips-pie.patch b/meta/recipes-devtools/binutils/binutils-2.20.1/binutils-mips-pie.patch new file mode 100644 index 0000000000..c71f0ad4db --- /dev/null +++ b/meta/recipes-devtools/binutils/binutils-2.20.1/binutils-mips-pie.patch | |||
@@ -0,0 +1,29 @@ | |||
1 | # "-fPIE" always triggers segmentation fault in ld.so.1 on mips platform, | ||
2 | # which was first saw on dbus-daemon. Below borrow the binutils fix from | ||
3 | # binutils bugzilla: | ||
4 | # | ||
5 | # http://sourceware.org/bugzilla/show_bug.cgi?id=10858 | ||
6 | # | ||
7 | # Its commit message says: | ||
8 | # * elfxx-mips.c (mips_elf_create_dynamic_relocation): Use section | ||
9 | # sym dynindx for relocs against defined syms in PIEs. | ||
10 | # | ||
11 | # It's in upstream CVS now (rev 1.267), but not in current release | ||
12 | # | ||
13 | # By Kevin Tian <kevin.tian@intel.com>, 2010-07-15 | ||
14 | |||
15 | diff --git a/elfxx-mips.c b/elfxx-mips.c | ||
16 | index 3a1c8ba..f6c2c1c 100644 | ||
17 | --- binutils-2.20.1.orig/bfd/elfxx-mips.c | ||
18 | +++ binutils-2.20.1/bfd/elfxx-mips.c | ||
19 | @@ -5688,9 +5688,7 @@ mips_elf_create_dynamic_relocation (bfd *output_bfd, | ||
20 | |||
21 | /* We must now calculate the dynamic symbol table index to use | ||
22 | in the relocation. */ | ||
23 | - if (h != NULL | ||
24 | - && (!h->root.def_regular | ||
25 | - || (info->shared && !info->symbolic && !h->root.forced_local))) | ||
26 | + if (h != NULL && ! SYMBOL_REFERENCES_LOCAL (info, &h->root)) | ||
27 | { | ||
28 | indx = h->root.dynindx; | ||
29 | if (SGI_COMPAT (output_bfd)) | ||