Skip to content

Commit

Permalink
Some missing bits from sysdeps/*/elf dismissal.
Browse files Browse the repository at this point in the history
This fixes up commits 735095a,
09ae94c, and
ff962fb.
  • Loading branch information
Thomas Schwinge committed Jun 23, 2012
1 parent 4b2c8da commit a9fa33b
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 107 deletions.
5 changes: 5 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
2012-06-23 Thomas Schwinge <thomas@codesourcery.com>

* sysdeps/mach/start.c: Remove file.
* sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
* sysdeps/i386/init-first.c: Fix comment regarding start.S.
* sysdeps/sh/init-first.c: Likewise.

* sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
registers for frame unwinding purposes, add CFI directives.
* sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
Expand Down
2 changes: 1 addition & 1 deletion sysdeps/i386/init-first.c
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ init (int *data)

#ifdef SHARED
/* This function is called to initialize the shared C library.
It is called just before the user _start code from i386/elf/start.S,
It is called just before the user _start code from i386/start.S,
with the stack set up as that code gets it. */

/* NOTE! The linker notices the magical name `_init' and sets the DT_INIT
Expand Down
4 changes: 2 additions & 2 deletions sysdeps/mach/hurd/i386/static-start.S
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/* Startup code for statically linked Hurd/i386 binaries.
Copyright (C) 1998 Free Software Foundation, Inc.
Copyright (C) 1998-2012 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
Expand All @@ -24,4 +24,4 @@ _start:
jmp _start1

#define _start _start1
#include <sysdeps/i386/elf/start.S>
#include <sysdeps/i386/start.S>
103 changes: 0 additions & 103 deletions sysdeps/mach/start.c

This file was deleted.

2 changes: 1 addition & 1 deletion sysdeps/sh/init-first.c
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ init (int *data)

#ifdef SHARED
/* This function is called to initialize the shared C library.
It is called just before the user _start code from sh/sh[34]/elf/start.S,
It is called just before the user _start code from sh/sh[34]/start.S,
with the stack set up as that code gets it. */

/* NOTE! The linker notices the magical name `_init' and sets the DT_INIT
Expand Down

0 comments on commit a9fa33b

Please sign in to comment.