Browse Source

glibc: Fixed mips support by patching in various upstream changes

user/amery/cross
Christian Wiese 17 years ago committed by Alejandro Mery
parent
commit
d20c5cd1f6
  1. 64
      base/glibc/glibc-2.5.1-mips-fixes.patch
  2. 1044
      base/glibc/glibc-ports-2.5-mips-fixes.patch

64
base/glibc/glibc-2.5.1-mips-fixes.patch

@ -0,0 +1,64 @@
# --- SDE-COPYRIGHT-NOTE-BEGIN ---
# This copyright note is auto-generated by ./scripts/Create-CopyPatch.
#
# Filename: package/.../glibc/glibc-2.5.1-mips-fixes.patch
# Copyright (C) 2008 The OpenSDE Project
#
# More information can be found in the files COPYING and README.
#
# This patch file is dual-licensed. It is available under the license the
# patched project is licensed under, as long as it is an OpenSource license
# as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
# of the GNU General Public License as published by the Free Software
# Foundation; either version 2 of the License, or (at your option) any later
# version.
# --- SDE-COPYRIGHT-NOTE-END ---
From 59946000597d654674b615f3026bb78691bd0318 Mon Sep 17 00:00:00 2001
From: Jakub Jelinek <jakub@redhat.com>
Date: Mon, 8 Jan 2007 13:09:54 +0000
Subject: * elf/elf.h (R_MIPS_GLOB_DAT): Define.
(R_MIPS_NUM): Bump by 1.
diff --git glibc-2.5.1-a/ChangeLog glibc-2.5.1-b/ChangeLog
index 3ad38a2..8cabc81 100644
--- glibc-2.5.1-a/ChangeLog
+++ glibc-2.5.1-b/ChangeLog
@@ -866,6 +866,11 @@
fts_read.
Patch by Miloslav Trmac <mitr@redhat.com>.
+2006-10-27 Richard Sandiford <richard@codesourcery.com>
+
+ * elf/elf.h (R_MIPS_GLOB_DAT): Define.
+ (R_MIPS_NUM): Bump by 1.
+
2007-01-03 Jakub Jelinek <jakub@redhat.com>
* posix/execvp.c: Include alloca.h.
diff --git glibc-2.5.1-a/elf/elf.h glibc-2.5.1-b/elf/elf.h
index dae3597..d27e5f0 100644
--- glibc-2.5.1-a/elf/elf.h
+++ glibc-2.5.1-b/elf/elf.h
@@ -1,5 +1,5 @@
/* This file defines standard ELF types, structures, and macros.
- Copyright (C) 1995-2003,2004,2005,2006 Free Software Foundation, Inc.
+ Copyright (C) 1995-2003,2004,2005,2006,2007 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
@@ -1511,8 +1511,9 @@ typedef struct
#define R_MIPS_TLS_TPREL64 48 /* TP-relative offset, 64 bit */
#define R_MIPS_TLS_TPREL_HI16 49 /* TP-relative offset, high 16 bits */
#define R_MIPS_TLS_TPREL_LO16 50 /* TP-relative offset, low 16 bits */
+#define R_MIPS_GLOB_DAT 51
/* Keep this the last entry. */
-#define R_MIPS_NUM 51
+#define R_MIPS_NUM 52
/* Legal values for p_type field of Elf32_Phdr. */
--
1.5.4

1044
base/glibc/glibc-ports-2.5-mips-fixes.patch

File diff suppressed because it is too large Load Diff
Loading…
Cancel
Save