diff options
author | Mike Frysinger <vapier@gentoo.org> | 2011-11-27 03:55:38 -0500 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2011-11-27 05:01:38 -0500 |
commit | 0d08b449615e52c386eeca25a64d8548a01c8bec (patch) | |
tree | 6164050f2690370fe3ef1a51d54642201cec5a55 /ldso/ldso/frv/dl-startup.h | |
parent | 0405cb8f5b647fadf61f7539828ef88a883223e2 (diff) |
ldso: fdpic: unify duplicate bfin/frv logic
Much of the logic in the bfin/frv subdirs is FDPIC specific and not arch
specific. So start a new fdpic/ subdir to keep common things.
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Diffstat (limited to 'ldso/ldso/frv/dl-startup.h')
-rw-r--r-- | ldso/ldso/frv/dl-startup.h | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/ldso/ldso/frv/dl-startup.h b/ldso/ldso/frv/dl-startup.h index 72bea6807..fd5edddb9 100644 --- a/ldso/ldso/frv/dl-startup.h +++ b/ldso/ldso/frv/dl-startup.h @@ -72,8 +72,6 @@ _dl_boot (void *dl_boot_got_pointer, \ struct funcdesc_value *dl_main_funcdesc, \ X) -struct elf32_fdpic_loadmap; - /* * Get a pointer to the argv array. On many platforms this can be just * the address of the first argument, on other platforms we need to @@ -82,17 +80,6 @@ struct elf32_fdpic_loadmap; #define GET_ARGV(ARGVP, ARGS) ARGVP = ((unsigned long*) ARGS) /* - * Compute the GOT address. On several platforms, we use assembly - * here. on FR-V FDPIC, there's no way to compute the GOT address, - * since the offset between text and data is not fixed, so we arrange - * for the assembly _dl_boot to pass this value as an argument to - * _dl_boot. */ -#define DL_BOOT_COMPUTE_GOT(got) ((got) = dl_boot_got_pointer) - -#define DL_BOOT_COMPUTE_DYN(dpnt, got, load_addr) \ - ((dpnt) = dl_boot_ldso_dyn_pointer) - -/* * Here is a macro to perform a relocation. This is only used when * bootstrapping the dynamic loader. RELP is the relocation that we * are performing, REL is the pointer to the address we are relocating. |