]> git.pld-linux.org Git - packages/elfutils.git/commitdiff
- build fix for gcc-4.2.
authorPaweł Sikora <pluto@pld-linux.org>
Sat, 2 Dec 2006 12:46:11 +0000 (12:46 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    elfutils-gcc4.patch -> 1.4

elfutils-gcc4.patch [new file with mode: 0644]

diff --git a/elfutils-gcc4.patch b/elfutils-gcc4.patch
new file mode 100644 (file)
index 0000000..1232b64
--- /dev/null
@@ -0,0 +1,15 @@
+cc1: warnings being treated as errors
+elflint.c: In function 'check_dynamic':
+elflint.c:1505: warning: initialized field overwritten
+elflint.c:1505: warning: (near initialization for 'dependencies[2]')
+
+--- elfutils-0.124/src/elflint.c.orig  2006-12-02 13:40:17.000000000 +0100
++++ elfutils-0.124/src/elflint.c       2006-12-02 13:40:29.929272750 +0100
+@@ -1502,7 +1502,6 @@
+       [DT_JMPREL] = { [DT_PLTRELSZ] = true, [DT_PLTREL] = true },
+       [DT_RUNPATH] = { [DT_STRTAB] = true },
+       [DT_PLTREL] = { [DT_JMPREL] = true },
+-      [DT_PLTRELSZ] = { [DT_JMPREL] = true }
+     };
+   bool has_dt[DT_NUM];
+   bool has_val_dt[DT_VALNUM];
This page took 0.139181 seconds and 4 git commands to generate.