aboutsummaryrefslogtreecommitdiff
path: root/ld/emultempl
diff options
context:
space:
mode:
authorKen Raeburn <raeburn@cygnus>1993-08-24 23:45:26 +0000
committerKen Raeburn <raeburn@cygnus>1993-08-24 23:45:26 +0000
commit4346166b0776aaa239172faa744f4357be89f0f7 (patch)
treeb28dfb144d073b6b89c776720f62ec2739265f41 /ld/emultempl
parent95a2b9d2ce074cecfcb85f4e1c943e33d068d100 (diff)
downloadgdb-4346166b0776aaa239172faa744f4357be89f0f7.zip
gdb-4346166b0776aaa239172faa744f4357be89f0f7.tar.gz
gdb-4346166b0776aaa239172faa744f4357be89f0f7.tar.bz2
From Peter Hoogenboom <hoogen@shafer.cs.utah.edu>:
* emultempl/hppaosf.em (ld_hppaosf_emulation): Correct name for PA ELF emulation is "elf32-hppa" not "elf-big". (hppaosf_before_parse): Remove unneeded processing of environment variables. * scripttempl/hppaosf.sc: Include .hppa_linker_stubs sections in .text segment of output file. * emulparams/hppaosf.sh (OUTPUT_FORMAT): Use elf32-hppa.
Diffstat (limited to 'ld/emultempl')
-rw-r--r--ld/emultempl/hppaosf.em30
1 files changed, 1 insertions, 29 deletions
diff --git a/ld/emultempl/hppaosf.em b/ld/emultempl/hppaosf.em
index 91ddd36..93ae021 100644
--- a/ld/emultempl/hppaosf.em
+++ b/ld/emultempl/hppaosf.em
@@ -40,38 +40,10 @@ extern char *ldfile_output_machine_name;
extern bfd *output_bfd;
-
-#ifdef HPPAOSF
-
-static void hppaosf_before_parse()
-{
- static char *env_variables[] = { "HPPALIB", "HPPABASE", 0 };
- char **p;
- char *env ;
-
- for ( p = env_variables; *p; p++ ){
- env = (char *) getenv(*p);
- if (env) {
- ldfile_add_library_path(concat(env,"/lib/libbout",""));
- }
- }
- ldfile_output_architecture = bfd_arch_hppa;
-}
-#else
static void hppaosf_before_parse()
{
- char *env ;
- env = getenv("HPPALIB");
- if (env) {
- ldfile_add_library_path(env);
- }
- env = getenv("HPPABASE");
- if (env) {
- ldfile_add_library_path(concat(env,"/lib",""));
- }
ldfile_output_architecture = bfd_arch_hppa;
}
-#endif /* HPPAOSF */
static void
hppaosf_set_output_arch()
@@ -154,6 +126,6 @@ struct ld_emulation_xfer_struct ld_hppaosf_emulation =
before_allocation_default,
hppaosf_get_script,
"hppaosf",
- "elf-big"
+ "elf32-hppa"
};
EOF