public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc(refs/users/meissner/heads/work008-orig)] amdgcn: Remove dead defines from gcn-run
@ 2020-08-06 17:48 Michael Meissner
  0 siblings, 0 replies; only message in thread
From: Michael Meissner @ 2020-08-06 17:48 UTC (permalink / raw)
  To: gcc-cvs

https://gcc.gnu.org/g:1790d13dc8ffb3b454f2ca5e4a6d6d482f7fa985

commit 1790d13dc8ffb3b454f2ca5e4a6d6d482f7fa985
Author: Andrew Stubbs <ams@codesourcery.com>
Date:   Tue Aug 4 17:50:38 2020 +0100

    amdgcn: Remove dead defines from gcn-run
    
    Nothing uses these since the switch to HSACOv3.
    
    gcc/ChangeLog:
    
            * config/gcn/gcn-run.c (R_AMDGPU_NONE): Delete.
            (R_AMDGPU_ABS32_LO): Delete.
            (R_AMDGPU_ABS32_HI): Delete.
            (R_AMDGPU_ABS64): Delete.
            (R_AMDGPU_REL32): Delete.
            (R_AMDGPU_REL64): Delete.
            (R_AMDGPU_ABS32): Delete.
            (R_AMDGPU_GOTPCREL): Delete.
            (R_AMDGPU_GOTPCREL32_LO): Delete.
            (R_AMDGPU_GOTPCREL32_HI): Delete.
            (R_AMDGPU_REL32_LO): Delete.
            (R_AMDGPU_REL32_HI): Delete.
            (reserved): Delete.
            (R_AMDGPU_RELATIVE64): Delete.

Diff:
---
 gcc/config/gcn/gcn-run.c | 18 ------------------
 1 file changed, 18 deletions(-)

diff --git a/gcc/config/gcn/gcn-run.c b/gcc/config/gcn/gcn-run.c
index 8961ea17d37..31f14f39c6d 100644
--- a/gcc/config/gcn/gcn-run.c
+++ b/gcc/config/gcn/gcn-run.c
@@ -34,24 +34,6 @@
 #include <elf.h>
 #include <signal.h>
 
-/* These probably won't be in elf.h for a while.  */
-#ifndef R_AMDGPU_NONE
-#define R_AMDGPU_NONE		0
-#define R_AMDGPU_ABS32_LO	1	/* (S + A) & 0xFFFFFFFF  */
-#define R_AMDGPU_ABS32_HI	2	/* (S + A) >> 32  */
-#define R_AMDGPU_ABS64		3	/* S + A  */
-#define R_AMDGPU_REL32		4	/* S + A - P  */
-#define R_AMDGPU_REL64		5	/* S + A - P  */
-#define R_AMDGPU_ABS32		6	/* S + A  */
-#define R_AMDGPU_GOTPCREL	7	/* G + GOT + A - P  */
-#define R_AMDGPU_GOTPCREL32_LO	8	/* (G + GOT + A - P) & 0xFFFFFFFF  */
-#define R_AMDGPU_GOTPCREL32_HI	9	/* (G + GOT + A - P) >> 32  */
-#define R_AMDGPU_REL32_LO	10	/* (S + A - P) & 0xFFFFFFFF  */
-#define R_AMDGPU_REL32_HI	11	/* (S + A - P) >> 32  */
-#define reserved		12
-#define R_AMDGPU_RELATIVE64	13	/* B + A  */
-#endif
-
 #include "hsa.h"
 
 #ifndef HSA_RUNTIME_LIB


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2020-08-06 17:48 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-08-06 17:48 [gcc(refs/users/meissner/heads/work008-orig)] amdgcn: Remove dead defines from gcn-run Michael Meissner

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).