aboutsummaryrefslogtreecommitdiff
path: root/libobjc
diff options
context:
space:
mode:
authorTrevor Saunders <tbsaunde+gcc@tbsaunde.org>2015-09-12 22:19:06 +0000
committerTrevor Saunders <tbsaunde@gcc.gnu.org>2015-09-12 22:19:06 +0000
commit5625cfc443ed963e0d05760bab691e7ba3867bea (patch)
treecd6f2c6a0e9cb6d9e1a291c016b6d1aa239e7572 /libobjc
parent2f0c2a0cc4024163281b7c960764635fafb21b8d (diff)
downloadgcc-5625cfc443ed963e0d05760bab691e7ba3867bea.zip
gcc-5625cfc443ed963e0d05760bab691e7ba3867bea.tar.gz
gcc-5625cfc443ed963e0d05760bab691e7ba3867bea.tar.bz2
remove unused defines from sendmsg.c
libobjc/ChangeLog: 2015-09-12 Trevor Saunders <tbsaunde+gcc@tbsaunde.org> PR libobjc/24775 * sendmsg.c (gen_rtx): Remove macro. (gen_rtx_MEM): Likewise. (gen_rtx_REG): Likewise. (rtx): Likewise. From-SVN: r227711
Diffstat (limited to 'libobjc')
-rw-r--r--libobjc/ChangeLog8
-rw-r--r--libobjc/sendmsg.c7
2 files changed, 8 insertions, 7 deletions
diff --git a/libobjc/ChangeLog b/libobjc/ChangeLog
index 26e468f..17dba59 100644
--- a/libobjc/ChangeLog
+++ b/libobjc/ChangeLog
@@ -1,6 +1,14 @@
2015-09-12 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
PR libobjc/24775
+ * sendmsg.c (gen_rtx): Remove macro.
+ (gen_rtx_MEM): Likewise.
+ (gen_rtx_REG): Likewise.
+ (rtx): Likewise.
+
+2015-09-12 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
+
+ PR libobjc/24775
* sendmsg.c: Remove check of STRUCT_VALUE macro.
2015-05-13 Eric Botcazou <ebotcazou@adacore.com>
diff --git a/libobjc/sendmsg.c b/libobjc/sendmsg.c
index 3a079f0..ba31930 100644
--- a/libobjc/sendmsg.c
+++ b/libobjc/sendmsg.c
@@ -47,13 +47,6 @@ see the files COPYING3 and COPYING.RUNTIME respectively. If not, see
#include <assert.h> /* For assert */
#include <string.h> /* For strlen */
-#define gen_rtx(args...) 1
-#define gen_rtx_MEM(args...) 1
-#define gen_rtx_REG(args...) 1
-/* Already defined in gcc/coretypes.h. So prevent double definition warning. */
-#undef rtx
-#define rtx int
-
#define INVISIBLE_STRUCT_RETURN 1
/* The uninstalled dispatch table. If a class' dispatch table points