summaryrefslogtreecommitdiff
path: root/toolchain/uClibc/patches-0.9.32/601-ubicom32_uClibc_fixes.patch
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2012-05-15 13:42:28 +0000
committerFelix Fietkau <nbd@openwrt.org>2012-05-15 13:42:28 +0000
commitd98c2d542cfae2572f8f97965ebe1bfb2e110bd6 (patch)
treead4315c201536a47c7c924b841fcbe68a09dbca7 /toolchain/uClibc/patches-0.9.32/601-ubicom32_uClibc_fixes.patch
parent67675fd48d3d0475a9440ed9612c4770c6e4966d (diff)
downloadmtk-20170518-d98c2d542cfae2572f8f97965ebe1bfb2e110bd6.zip
mtk-20170518-d98c2d542cfae2572f8f97965ebe1bfb2e110bd6.tar.gz
mtk-20170518-d98c2d542cfae2572f8f97965ebe1bfb2e110bd6.tar.bz2
uClibc: remove 0.9.32, it is no longer necessary
SVN-Revision: 31739
Diffstat (limited to 'toolchain/uClibc/patches-0.9.32/601-ubicom32_uClibc_fixes.patch')
-rw-r--r--toolchain/uClibc/patches-0.9.32/601-ubicom32_uClibc_fixes.patch32
1 files changed, 0 insertions, 32 deletions
diff --git a/toolchain/uClibc/patches-0.9.32/601-ubicom32_uClibc_fixes.patch b/toolchain/uClibc/patches-0.9.32/601-ubicom32_uClibc_fixes.patch
deleted file mode 100644
index c618e26..0000000
--- a/toolchain/uClibc/patches-0.9.32/601-ubicom32_uClibc_fixes.patch
+++ /dev/null
@@ -1,32 +0,0 @@
---- a/ldso/include/dl-elf.h
-+++ b/ldso/include/dl-elf.h
-@@ -42,6 +42,10 @@ extern int _dl_linux_resolve(void);
- extern int _dl_fixup(struct dyn_elf *rpnt, int flag);
- extern void _dl_protect_relro (struct elf_resolve *l);
-
-+#ifndef DL_LOADADDR_ISSET(_loadaddr)
-+#define DL_LOADADDR_ISSET(_loadaddr) ((_loadaddr) != 0)
-+#endif
-+
- /*
- * Bitsize related settings for things ElfW()
- * does not handle already
-@@ -166,7 +170,7 @@ unsigned int __dl_parse_dynamic_info(Elf
- we'd have to walk all the loadsegs to find out if it was
- actually unnecessary, so skip this optimization. */
- #if !defined __FDPIC__ && !defined __DSBT__
-- if (load_off != 0)
-+ if (DL_LOADADDR_ISSET(load_off))
- #endif
- {
- ADJUST_DYN_INFO(DT_HASH, load_off);
---- a/ldso/ldso/ubicom32/dl-sysdep.h
-+++ b/ldso/ldso/ubicom32/dl-sysdep.h
-@@ -101,6 +101,7 @@ do { \
- } while (0)
-
- #define DL_LOADADDR_TYPE struct elf32_fdpic_loadaddr
-+#define DL_LOADADDR_ISSET(_loadaddr) ((_loadaddr).map != NULL)
-
- #define DL_RELOC_ADDR(LOADADDR, ADDR) \
- ((ElfW(Addr))__reloc_pointer ((void*)(ADDR), (LOADADDR).map))