diff options
author | Eric Andersen <andersen@codepoet.org> | 2002-10-29 11:25:10 +0000 |
---|---|---|
committer | Eric Andersen <andersen@codepoet.org> | 2002-10-29 11:25:10 +0000 |
commit | 88daaa079e14f674b10be117ce0fd6925d45cc09 (patch) | |
tree | 6403e257ec9275acd63099b5637f7fd85a421768 /libc/sysdeps | |
parent | 5986069da6b6fd365c834e2b69c5e5ed2e5ca5c2 (diff) |
Remove my horrible SH hack infavor of this fix for initfini.awk from
Stefan Allius <allius@atecom.com>, which does a better job.
Diffstat (limited to 'libc/sysdeps')
-rw-r--r-- | libc/sysdeps/linux/common/initfini.c | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/libc/sysdeps/linux/common/initfini.c b/libc/sysdeps/linux/common/initfini.c index 927ed1db3..4a6ebee75 100644 --- a/libc/sysdeps/linux/common/initfini.c +++ b/libc/sysdeps/linux/common/initfini.c @@ -109,11 +109,6 @@ void _init (void) asm ("ALIGN"); asm("END_INIT"); -#if defined(__sh__) - /* This is a horrible hack, but seems to be necessary to - * make this work for the Hitachi SH processors */ - asm ("\n.L5:\n\t.long _GLOBAL_OFFSET_TABLE_\n"); -#endif /* Now the epilog. */ asm ("\n/*@_init_PROLOG_ENDS*/"); asm ("\n/*@_init_EPILOG_BEGINS*/"); @@ -134,11 +129,6 @@ void _fini (void) /* End of the _fini prolog. */ asm ("ALIGN"); asm ("END_FINI"); -#if defined(__sh__) - /* This is a horrible hack, but seems to be necessary to - * make this work for the Hitachi SH processors */ - asm ("\n.L10:\n\t.long _GLOBAL_OFFSET_TABLE_\n"); -#endif asm ("\n/*@_fini_PROLOG_ENDS*/"); { |