SOURCES: elfutils-portability.patch, elfutils-robustify.patch - up...
qboosh
qboosh at pld-linux.org
Tue Nov 1 13:32:32 CET 2005
Author: qboosh Date: Tue Nov 1 12:32:32 2005 GMT
Module: SOURCES Tag: HEAD
---- Log message:
- updated from FC devel
---- Files affected:
SOURCES:
elfutils-portability.patch (1.2 -> 1.3) , elfutils-robustify.patch (1.2 -> 1.3)
---- Diffs:
================================================================
Index: SOURCES/elfutils-portability.patch
diff -u SOURCES/elfutils-portability.patch:1.2 SOURCES/elfutils-portability.patch:1.3
--- SOURCES/elfutils-portability.patch:1.2 Tue Nov 1 03:01:22 2005
+++ SOURCES/elfutils-portability.patch Tue Nov 1 13:32:27 2005
@@ -1,6 +1,6 @@
--- elfutils/ChangeLog
+++ elfutils/ChangeLog
-@@ -23,6 +23,17 @@
+@@ -29,6 +29,17 @@
* Makefile.am (all_SUBDIRS): Add libdwfl.
* configure.ac: Write libdwfl/Makefile.
@@ -274,7 +274,7 @@
libcpu_i386_a_SOURCES = i386_dis.c
--- elfutils/libdw/ChangeLog
+++ elfutils/libdw/ChangeLog
-@@ -140,6 +140,11 @@
+@@ -239,6 +239,11 @@
2005-05-31 Roland McGrath <roland at redhat.com>
@@ -305,7 +305,7 @@
--- elfutils/libdw/Makefile.in
+++ elfutils/libdw/Makefile.in
-@@ -207,6 +207,7 @@ SHELL = @SHELL@
+@@ -206,6 +206,7 @@ SHELL = @SHELL@
STRIP = @STRIP@
USE_NLS = @USE_NLS@
VERSION = 1
@@ -313,7 +313,7 @@
XGETTEXT = @XGETTEXT@
YACC = @YACC@
ac_ct_CC = @ac_ct_CC@
-@@ -249,9 +250,9 @@ sharedstatedir = @sharedstatedir@
+@@ -248,9 +249,9 @@ sharedstatedir = @sharedstatedir@
sysconfdir = @sysconfdir@
target_alias = @target_alias@
@MUDFLAP_FALSE at AM_CFLAGS = -Wall -Werror -Wshadow -Wunused -Wformat=2 \
@@ -327,7 +327,7 @@
$(COMPILE)))
--- elfutils/libdwfl/ChangeLog
+++ elfutils/libdwfl/ChangeLog
-@@ -192,6 +192,11 @@
+@@ -210,6 +210,11 @@
2005-07-21 Roland McGrath <roland at redhat.com>
@@ -433,7 +433,7 @@
modules = i386 sh x86_64 ia64 alpha arm sparc ppc ppc64
--- elfutils/libelf/ChangeLog
+++ elfutils/libelf/ChangeLog
-@@ -86,6 +86,11 @@
+@@ -91,6 +91,11 @@
If section content hasn't been read yet, do it before looking for the
block size. If no section data present, infer size of section header.
@@ -541,7 +541,7 @@
ac_ct_CC = @ac_ct_CC@
--- elfutils/src/ChangeLog
+++ elfutils/src/ChangeLog
-@@ -216,6 +216,11 @@
+@@ -220,6 +220,11 @@
* readelf.c (print_debug_loc_section): Fix indentation for larger
address size.
@@ -666,7 +666,7 @@
cannot set access and modification date of '%s'"), fname);
--- elfutils/tests/ChangeLog
+++ elfutils/tests/ChangeLog
-@@ -161,6 +161,11 @@
+@@ -181,6 +181,11 @@
* Makefile.am (TESTS): Add run-elflint-test.sh.
(EXTRA_DIST): Add run-elflint-test.sh and testfile18.bz2.
@@ -698,7 +698,7 @@
endif
--- elfutils/tests/Makefile.in
+++ elfutils/tests/Makefile.in
-@@ -287,6 +287,7 @@ SHELL = @SHELL@
+@@ -291,6 +291,7 @@ SHELL = @SHELL@
STRIP = @STRIP@
USE_NLS = @USE_NLS@
VERSION = @VERSION@
@@ -706,7 +706,7 @@
XGETTEXT = @XGETTEXT@
YACC = @YACC@
ac_ct_CC = @ac_ct_CC@
-@@ -328,10 +329,10 @@ sbindir = @sbindir@
+@@ -332,10 +333,10 @@ sbindir = @sbindir@
sharedstatedir = @sharedstatedir@
sysconfdir = @sysconfdir@
target_alias = @target_alias@
================================================================
Index: SOURCES/elfutils-robustify.patch
diff -u SOURCES/elfutils-robustify.patch:1.2 SOURCES/elfutils-robustify.patch:1.3
--- SOURCES/elfutils-robustify.patch:1.2 Tue Nov 1 03:01:22 2005
+++ SOURCES/elfutils-robustify.patch Tue Nov 1 13:32:27 2005
@@ -65,9 +65,9 @@
(check_symtab, is_rel_dyn, check_rela, check_rel, check_dynamic,
check_symtab_shndx, check_hash, check_versym): Robustify.
---- elfutils-0.115/libelf/elf32_getphdr.c
-+++ elfutils-0.115/libelf/elf32_getphdr.c
-@@ -82,6 +82,16 @@ elfw2(LIBELFBITS,getphdr) (elf)
+--- elfutils-0.116/libelf/elf32_getphdr.c
++++ elfutils-0.116/libelf/elf32_getphdr.c
+@@ -82,6 +82,16 @@
if (elf->map_address != NULL)
{
@@ -84,9 +84,9 @@
/* All the data is already mapped. Use it. */
if (ehdr->e_ident[EI_DATA] == MY_ELFDATA
&& (ALLOW_UNALIGNED
---- elfutils-0.115/libelf/elf32_getshdr.c
-+++ elfutils-0.115/libelf/elf32_getshdr.c
-@@ -68,11 +68,12 @@ elfw2(LIBELFBITS,getshdr) (scn)
+--- elfutils-0.116/libelf/elf32_getshdr.c
++++ elfutils-0.116/libelf/elf32_getshdr.c
+@@ -68,11 +68,12 @@
goto out;
size_t shnum;
@@ -101,7 +101,7 @@
of entries from the ELF header. */
ElfW2(LIBELFBITS,Shdr) *shdr = elf->state.ELFW(elf,LIBELFBITS).shdr =
(ElfW2(LIBELFBITS,Shdr) *) malloc (size);
-@@ -94,6 +95,16 @@ elfw2(LIBELFBITS,getshdr) (scn)
+@@ -94,6 +95,16 @@
&& (ehdr->e_shoff
& (__alignof__ (ElfW2(LIBELFBITS,Shdr)) - 1)) != 0));
@@ -118,8 +118,8 @@
/* Now copy the data and at the same time convert the byte
order. */
if (ALLOW_UNALIGNED
---- elfutils-0.115/libelf/elf32_newphdr.c
-+++ elfutils-0.115/libelf/elf32_newphdr.c
+--- elfutils-0.116/libelf/elf32_newphdr.c
++++ elfutils-0.116/libelf/elf32_newphdr.c
@@ -1,5 +1,5 @@
/* Create new ELF program header table.
- Copyright (C) 1999, 2000, 2002 Red Hat, Inc.
@@ -127,7 +127,7 @@
Written by Ulrich Drepper <drepper at redhat.com>, 1998.
This program is free software; you can redistribute it and/or modify
-@@ -91,6 +91,12 @@ elfw2(LIBELFBITS,newphdr) (elf, count)
+@@ -91,6 +91,12 @@
else if (elf->state.ELFW(elf,LIBELFBITS).ehdr->e_phnum != count
|| elf->state.ELFW(elf,LIBELFBITS).phdr == NULL)
{
@@ -140,9 +140,9 @@
/* Allocate a new program header with the appropriate number of
elements. */
result = (ElfW2(LIBELFBITS,Phdr) *)
---- elfutils-0.115/libelf/elf32_updatefile.c
-+++ elfutils-0.115/libelf/elf32_updatefile.c
-@@ -166,6 +166,9 @@ __elfw2(LIBELFBITS,updatemmap) (Elf *elf
+--- elfutils-0.116/libelf/elf32_updatefile.c
++++ elfutils-0.116/libelf/elf32_updatefile.c
+@@ -166,6 +166,9 @@
/* Write all the sections. Well, only those which are modified. */
if (shnum > 0)
{
@@ -152,7 +152,7 @@
ElfW2(LIBELFBITS,Shdr) *shdr_dest;
Elf_ScnList *list = &elf->state.ELFW(elf,LIBELFBITS).scns;
Elf_Scn **scns = (Elf_Scn **) alloca (shnum * sizeof (Elf_Scn *));
-@@ -470,6 +473,10 @@ __elfw2(LIBELFBITS,updatefile) (Elf *elf
+@@ -470,6 +473,10 @@
/* Write all the sections. Well, only those which are modified. */
if (shnum > 0)
{
@@ -163,9 +163,9 @@
off_t shdr_offset = elf->start_offset + ehdr->e_shoff;
#if EV_NUM != 2
xfct_t shdr_fctp = __elf_xfctstom[__libelf_version - 1][EV_CURRENT - 1][ELFW(ELFCLASS, LIBELFBITS) - 1][ELF_T_SHDR];
---- elfutils-0.115/libelf/elf_begin.c
-+++ elfutils-0.115/libelf/elf_begin.c
-@@ -122,7 +122,8 @@ get_shnum (void *map_address, unsigned c
+--- elfutils-0.116/libelf/elf_begin.c
++++ elfutils-0.116/libelf/elf_begin.c
+@@ -122,7 +122,8 @@
if (unlikely (result == 0) && ehdr.e32->e_shoff != 0)
{
@@ -175,7 +175,7 @@
/* Cannot read the first section header. */
return (size_t) -1l;
-@@ -165,7 +166,8 @@ get_shnum (void *map_address, unsigned c
+@@ -165,7 +166,8 @@
if (unlikely (result == 0) && ehdr.e64->e_shoff != 0)
{
@@ -185,7 +185,7 @@
/* Cannot read the first section header. */
return (size_t) -1l;
-@@ -232,6 +234,15 @@ file_read_elf (int fildes, void *map_add
+@@ -232,6 +234,15 @@
/* Could not determine the number of sections. */
return NULL;
@@ -201,7 +201,7 @@
/* We can now allocate the memory. */
Elf *elf = allocate_elf (fildes, map_address, offset, maxsize, cmd, parent,
ELF_K_ELF, scncnt * sizeof (Elf_Scn));
-@@ -265,13 +276,31 @@ file_read_elf (int fildes, void *map_add
+@@ -265,13 +276,31 @@
{
/* We can use the mmapped memory. */
elf->state.elf32.ehdr = ehdr;
@@ -237,7 +237,7 @@
for (size_t cnt = 0; cnt < scncnt; ++cnt)
{
-@@ -340,13 +369,26 @@ file_read_elf (int fildes, void *map_add
+@@ -340,13 +369,26 @@
{
/* We can use the mmapped memory. */
elf->state.elf64.ehdr = ehdr;
@@ -268,9 +268,9 @@
for (size_t cnt = 0; cnt < scncnt; ++cnt)
{
---- elfutils-0.115/libelf/elf_getarsym.c
-+++ elfutils-0.115/libelf/elf_getarsym.c
-@@ -146,6 +146,9 @@ elf_getarsym (elf, ptr)
+--- elfutils-0.116/libelf/elf_getarsym.c
++++ elfutils-0.116/libelf/elf_getarsym.c
+@@ -146,6 +146,9 @@
size_t index_size = atol (tmpbuf);
if (SARMAG + sizeof (struct ar_hdr) + index_size > elf->maximum_size
@@ -280,9 +280,9 @@
|| n * sizeof (uint32_t) > index_size)
{
/* This index table cannot be right since it does not fit into
---- elfutils-0.115/libelf/elf_getshstrndx.c
-+++ elfutils-0.115/libelf/elf_getshstrndx.c
-@@ -92,10 +92,25 @@ elf_getshstrndx (elf, dst)
+--- elfutils-0.116/libelf/elf_getshstrndx.c
++++ elfutils-0.116/libelf/elf_getshstrndx.c
+@@ -92,10 +92,25 @@
if (elf->map_address != NULL
&& elf->state.elf32.ehdr->e_ident[EI_DATA] == MY_ELFDATA
&& (ALLOW_UNALIGNED
@@ -311,7 +311,7 @@
else
{
/* We avoid reading in all the section headers. Just read
-@@ -130,10 +145,25 @@ elf_getshstrndx (elf, dst)
+@@ -130,10 +145,25 @@
if (elf->map_address != NULL
&& elf->state.elf64.ehdr->e_ident[EI_DATA] == MY_ELFDATA
&& (ALLOW_UNALIGNED
@@ -340,8 +340,8 @@
else
{
/* We avoid reading in all the section headers. Just read
---- elfutils-0.115/libelf/elf_newscn.c
-+++ elfutils-0.115/libelf/elf_newscn.c
+--- elfutils-0.116/libelf/elf_newscn.c
++++ elfutils-0.116/libelf/elf_newscn.c
@@ -1,5 +1,5 @@
/* Append new section.
- Copyright (C) 1998, 1999, 2000, 2001, 2002 Red Hat, Inc.
@@ -349,7 +349,7 @@
Written by Ulrich Drepper <drepper at redhat.com>, 1998.
This program is free software; you can redistribute it and/or modify
-@@ -71,13 +71,21 @@ elf_newscn (elf)
+@@ -71,13 +71,21 @@
else
{
/* We must allocate a new element. */
@@ -375,8 +375,8 @@
if (newp == NULL)
{
__libelf_seterrno (ELF_E_NOMEM);
---- elfutils-0.115/libelf/gelf_getdyn.c
-+++ elfutils-0.115/libelf/gelf_getdyn.c
+--- elfutils-0.116/libelf/gelf_getdyn.c
++++ elfutils-0.116/libelf/gelf_getdyn.c
@@ -1,5 +1,5 @@
/* Get information from dynamic table at the given index.
- Copyright (C) 2000, 2001, 2002 Red Hat, Inc.
@@ -384,7 +384,7 @@
Written by Ulrich Drepper <drepper at redhat.com>, 2000.
This program is free software; you can redistribute it and/or modify
-@@ -60,7 +60,8 @@ gelf_getdyn (data, ndx, dst)
+@@ -60,7 +60,8 @@
table entries has to be adopted. The user better has provided
a buffer where we can store the information. While copying the
data we are converting the format. */
@@ -394,7 +394,7 @@
{
__libelf_seterrno (ELF_E_INVALID_INDEX);
goto out;
-@@ -81,7 +82,8 @@ gelf_getdyn (data, ndx, dst)
+@@ -81,7 +82,8 @@
/* The data is already in the correct form. Just make sure the
index is OK. */
@@ -404,8 +404,8 @@
{
__libelf_seterrno (ELF_E_INVALID_INDEX);
goto out;
---- elfutils-0.115/libelf/gelf_getlib.c
-+++ elfutils-0.115/libelf/gelf_getlib.c
+--- elfutils-0.116/libelf/gelf_getlib.c
++++ elfutils-0.116/libelf/gelf_getlib.c
@@ -1,5 +1,5 @@
/* Get library from table at the given index.
- Copyright (C) 2004 Red Hat, Inc.
@@ -413,7 +413,7 @@
Written by Ulrich Drepper <drepper at redhat.com>, 2004.
This program is free software; you can redistribute it and/or modify
-@@ -53,7 +53,8 @@ gelf_getlib (data, ndx, dst)
+@@ -53,7 +53,8 @@
/* The data is already in the correct form. Just make sure the
index is OK. */
GElf_Lib *result = NULL;
@@ -423,8 +423,8 @@
__libelf_seterrno (ELF_E_INVALID_INDEX);
else
{
---- elfutils-0.115/libelf/gelf_getmove.c
-+++ elfutils-0.115/libelf/gelf_getmove.c
+--- elfutils-0.116/libelf/gelf_getmove.c
++++ elfutils-0.116/libelf/gelf_getmove.c
@@ -1,5 +1,5 @@
/* Get move structure at the given index.
- Copyright (C) 2000, 2001, 2002 Red Hat, Inc.
@@ -432,7 +432,7 @@
Written by Ulrich Drepper <drepper at redhat.com>, 2000.
This program is free software; you can redistribute it and/or modify
-@@ -50,7 +50,8 @@ gelf_getmove (data, ndx, dst)
+@@ -50,7 +50,8 @@
/* The data is already in the correct form. Just make sure the
index is OK. */
@@ -442,8 +442,8 @@
{
__libelf_seterrno (ELF_E_INVALID_INDEX);
goto out;
---- elfutils-0.115/libelf/gelf_getrela.c
-+++ elfutils-0.115/libelf/gelf_getrela.c
+--- elfutils-0.116/libelf/gelf_getrela.c
++++ elfutils-0.116/libelf/gelf_getrela.c
@@ -1,5 +1,5 @@
/* Get RELA relocation information at given index.
- Copyright (C) 2000, 2001, 2002 Red Hat, Inc.
@@ -451,7 +451,7 @@
Written by Ulrich Drepper <drepper at redhat.com>, 2000.
This program is free software; you can redistribute it and/or modify
-@@ -38,12 +38,6 @@ gelf_getrela (data, ndx, dst)
+@@ -38,12 +38,6 @@
if (data_scn == NULL)
return NULL;
@@ -464,7 +464,7 @@
if (unlikely (data_scn->d.d_type != ELF_T_RELA))
{
__libelf_seterrno (ELF_E_INVALID_HANDLE);
-@@ -60,7 +54,8 @@ gelf_getrela (data, ndx, dst)
+@@ -60,7 +54,8 @@
if (scn->elf->class == ELFCLASS32)
{
/* We have to convert the data. */
@@ -474,7 +474,7 @@
{
__libelf_seterrno (ELF_E_INVALID_INDEX);
result = NULL;
-@@ -81,7 +76,8 @@ gelf_getrela (data, ndx, dst)
+@@ -81,7 +76,8 @@
{
/* Simply copy the data after we made sure we are actually getting
correct data. */
@@ -484,8 +484,8 @@
{
__libelf_seterrno (ELF_E_INVALID_INDEX);
result = NULL;
---- elfutils-0.115/libelf/gelf_getrel.c
-+++ elfutils-0.115/libelf/gelf_getrel.c
+--- elfutils-0.116/libelf/gelf_getrel.c
++++ elfutils-0.116/libelf/gelf_getrel.c
@@ -1,5 +1,5 @@
/* Get REL relocation information at given index.
- Copyright (C) 2000, 2001, 2002 Red Hat, Inc.
@@ -493,7 +493,7 @@
Written by Ulrich Drepper <drepper at redhat.com>, 2000.
This program is free software; you can redistribute it and/or modify
-@@ -38,12 +38,6 @@ gelf_getrel (data, ndx, dst)
+@@ -38,12 +38,6 @@
if (data_scn == NULL)
return NULL;
@@ -506,7 +506,7 @@
if (unlikely (data_scn->d.d_type != ELF_T_REL))
{
__libelf_seterrno (ELF_E_INVALID_HANDLE);
-@@ -60,7 +54,8 @@ gelf_getrel (data, ndx, dst)
+@@ -60,7 +54,8 @@
if (scn->elf->class == ELFCLASS32)
{
/* We have to convert the data. */
@@ -516,7 +516,7 @@
{
__libelf_seterrno (ELF_E_INVALID_INDEX);
result = NULL;
-@@ -80,7 +75,8 @@ gelf_getrel (data, ndx, dst)
+@@ -80,7 +75,8 @@
{
/* Simply copy the data after we made sure we are actually getting
correct data. */
@@ -526,8 +526,8 @@
{
__libelf_seterrno (ELF_E_INVALID_INDEX);
result = NULL;
---- elfutils-0.115/libelf/gelf_getsym.c
-+++ elfutils-0.115/libelf/gelf_getsym.c
+--- elfutils-0.116/libelf/gelf_getsym.c
++++ elfutils-0.116/libelf/gelf_getsym.c
@@ -1,5 +1,5 @@
/* Get symbol information from symbol table at the given index.
- Copyright (C) 1999, 2000, 2001, 2002 Red Hat, Inc.
@@ -535,7 +535,7 @@
Written by Ulrich Drepper <drepper at redhat.com>, 1999.
This program is free software; you can redistribute it and/or modify
-@@ -57,7 +57,8 @@ gelf_getsym (data, ndx, dst)
+@@ -57,7 +57,8 @@
table entries has to be adopted. The user better has provided
a buffer where we can store the information. While copying the
data we are converting the format. */
@@ -545,7 +545,7 @@
{
__libelf_seterrno (ELF_E_INVALID_INDEX);
goto out;
-@@ -86,7 +87,8 @@ gelf_getsym (data, ndx, dst)
+@@ -86,7 +87,8 @@
/* The data is already in the correct form. Just make sure the
index is OK. */
@@ -555,8 +555,8 @@
{
__libelf_seterrno (ELF_E_INVALID_INDEX);
goto out;
---- elfutils-0.115/libelf/gelf_getsyminfo.c
-+++ elfutils-0.115/libelf/gelf_getsyminfo.c
+--- elfutils-0.116/libelf/gelf_getsyminfo.c
++++ elfutils-0.116/libelf/gelf_getsyminfo.c
@@ -1,5 +1,5 @@
/* Get additional symbol information from symbol table at the given index.
- Copyright (C) 2000, 2001, 2002 Red Hat, Inc.
@@ -564,7 +564,7 @@
Written by Ulrich Drepper <drepper at redhat.com>, 2000.
This program is free software; you can redistribute it and/or modify
-@@ -51,7 +51,8 @@ gelf_getsyminfo (data, ndx, dst)
+@@ -51,7 +51,8 @@
/* The data is already in the correct form. Just make sure the
index is OK. */
@@ -574,8 +574,8 @@
{
__libelf_seterrno (ELF_E_INVALID_INDEX);
goto out;
---- elfutils-0.115/libelf/gelf_getsymshndx.c
-+++ elfutils-0.115/libelf/gelf_getsymshndx.c
+--- elfutils-0.116/libelf/gelf_getsymshndx.c
++++ elfutils-0.116/libelf/gelf_getsymshndx.c
@@ -1,6 +1,6 @@
/* Get symbol information and separate section index from symbol table
at the given index.
@@ -584,7 +584,7 @@
Written by Ulrich Drepper <drepper at redhat.com>, 2000.
This program is free software; you can redistribute it and/or modify
-@@ -57,7 +57,9 @@ gelf_getsymshndx (symdata, shndxdata, nd
+@@ -57,7 +57,9 @@
section index table. */
if (likely (shndxdata_scn != NULL))
{
@@ -595,7 +595,7 @@
{
__libelf_seterrno (ELF_E_INVALID_INDEX);
goto out;
-@@ -77,7 +79,8 @@ gelf_getsymshndx (symdata, shndxdata, nd
+@@ -77,7 +79,8 @@
table entries has to be adopted. The user better has provided
a buffer where we can store the information. While copying the
data we are converting the format. */
@@ -605,7 +605,7 @@
{
__libelf_seterrno (ELF_E_INVALID_INDEX);
goto out;
-@@ -106,7 +109,8 @@ gelf_getsymshndx (symdata, shndxdata, nd
+@@ -106,7 +109,8 @@
/* The data is already in the correct form. Just make sure the
index is OK. */
@@ -615,8 +615,8 @@
{
__libelf_seterrno (ELF_E_INVALID_INDEX);
goto out;
---- elfutils-0.115/libelf/gelf_getversym.c
-+++ elfutils-0.115/libelf/gelf_getversym.c
+--- elfutils-0.116/libelf/gelf_getversym.c
++++ elfutils-0.116/libelf/gelf_getversym.c
@@ -1,5 +1,5 @@
/* Get symbol version information at the given index.
- Copyright (C) 1999, 2000, 2001, 2002 Red Hat, Inc.
@@ -624,7 +624,7 @@
Written by Ulrich Drepper <drepper at redhat.com>, 1999.
This program is free software; you can redistribute it and/or modify
-@@ -59,7 +59,8 @@ gelf_getversym (data, ndx, dst)
+@@ -59,7 +59,8 @@
/* The data is already in the correct form. Just make sure the
index is OK. */
@@ -634,8 +634,8 @@
{
__libelf_seterrno (ELF_E_INVALID_INDEX);
result = NULL;
---- elfutils-0.115/libelf/gelf_update_dyn.c
-+++ elfutils-0.115/libelf/gelf_update_dyn.c
+--- elfutils-0.116/libelf/gelf_update_dyn.c
++++ elfutils-0.116/libelf/gelf_update_dyn.c
@@ -1,5 +1,5 @@
/* Update information in dynamic table at the given index.
- Copyright (C) 2000, 2001, 2002 Red Hat, Inc.
@@ -643,7 +643,7 @@
Written by Ulrich Drepper <drepper at redhat.com>, 2000.
This program is free software; you can redistribute it and/or modify
-@@ -38,12 +38,6 @@ gelf_update_dyn (data, ndx, src)
+@@ -38,12 +38,6 @@
if (data == NULL)
return 0;
@@ -656,7 +656,7 @@
if (unlikely (data_scn->d.d_type != ELF_T_DYN))
{
/* The type of the data better should match. */
-@@ -69,7 +63,8 @@ gelf_update_dyn (data, ndx, src)
+@@ -69,7 +63,8 @@
}
/* Check whether we have to resize the data buffer. */
@@ -666,7 +666,7 @@
{
__libelf_seterrno (ELF_E_INVALID_INDEX);
goto out;
-@@ -83,7 +78,8 @@ gelf_update_dyn (data, ndx, src)
+@@ -83,7 +78,8 @@
else
{
/* Check whether we have to resize the data buffer. */
@@ -676,8 +676,8 @@
{
__libelf_seterrno (ELF_E_INVALID_INDEX);
goto out;
---- elfutils-0.115/libelf/gelf_update_lib.c
-+++ elfutils-0.115/libelf/gelf_update_lib.c
+--- elfutils-0.116/libelf/gelf_update_lib.c
++++ elfutils-0.116/libelf/gelf_update_lib.c
@@ -1,5 +1,5 @@
/* Update library in table at the given index.
- Copyright (C) 2004 Red Hat, Inc.
@@ -685,7 +685,7 @@
Written by Ulrich Drepper <drepper at redhat.com>, 2004.
This program is free software; you can redistribute it and/or modify
-@@ -35,12 +35,6 @@ gelf_update_lib (data, ndx, src)
+@@ -35,12 +35,6 @@
if (data == NULL)
return 0;
@@ -698,7 +698,7 @@
Elf_Data_Scn *data_scn = (Elf_Data_Scn *) data;
if (unlikely (data_scn->d.d_type != ELF_T_LIB))
{
-@@ -54,7 +48,8 @@ gelf_update_lib (data, ndx, src)
+@@ -54,7 +48,8 @@
<<Diff was trimmed, longer than 597 lines>>
---- CVS-web:
http://cvs.pld-linux.org/SOURCES/elfutils-portability.patch?r1=1.2&r2=1.3&f=u
http://cvs.pld-linux.org/SOURCES/elfutils-robustify.patch?r1=1.2&r2=1.3&f=u
More information about the pld-cvs-commit
mailing list