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.
This commit is contained in:
parent
95a2b9d2ce
commit
4346166b07
11
ld/ChangeLog
11
ld/ChangeLog
@ -1,3 +1,14 @@
|
||||
Tue Aug 24 18:49:40 1993 Ken Raeburn (raeburn@cambridge.cygnus.com)
|
||||
|
||||
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.
|
||||
|
||||
Tue Aug 24 16:17:00 1993 K. Richard Pixley (rich@sendai.cygnus.com)
|
||||
|
||||
* ld.h: define BYTE_SIZE, SHORT_SIZE, and LONG_SIZE which are no
|
||||
|
@ -1,5 +1,5 @@
|
||||
SCRIPT_NAME=hppaosf
|
||||
OUTPUT_FORMAT="elf-big"
|
||||
OUTPUT_FORMAT="elf32-hppa"
|
||||
TEXT_START_ADDR=0x1000
|
||||
PAGE_SIZE=4096
|
||||
ARCH=hppa
|
||||
|
@ -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
|
||||
|
@ -9,6 +9,7 @@ SECTIONS
|
||||
{
|
||||
${RELOCATING+__text_start = .};
|
||||
CREATE_OBJECT_SYMBOLS
|
||||
*(.hppa_linker_stubs)
|
||||
*(.text)
|
||||
}
|
||||
.data ${RELOCATING+ 0x40000000 } :
|
||||
|
Loading…
Reference in New Issue
Block a user