mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-23 19:50:13 +08:00
* aoutx.h (NAME(aout,new_section_hook)): Don't set N_EXT in target
index.
This commit is contained in:
@ -1,3 +1,8 @@
|
|||||||
|
Fri Apr 8 12:22:02 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
|
||||||
|
|
||||||
|
* aoutx.h (NAME(aout,new_section_hook)): Don't set N_EXT in target
|
||||||
|
index.
|
||||||
|
|
||||||
Wed Apr 6 20:44:56 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
|
Wed Apr 6 20:44:56 1994 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
|
||||||
|
|
||||||
* config.bfd, configure.host: Add mips-*-sysv4* support.
|
* config.bfd, configure.host: Add mips-*-sysv4* support.
|
||||||
|
@ -989,19 +989,19 @@ NAME(aout,new_section_hook) (abfd, newsect)
|
|||||||
{
|
{
|
||||||
if (obj_textsec(abfd) == NULL && !strcmp(newsect->name, ".text")) {
|
if (obj_textsec(abfd) == NULL && !strcmp(newsect->name, ".text")) {
|
||||||
obj_textsec(abfd)= newsect;
|
obj_textsec(abfd)= newsect;
|
||||||
newsect->target_index = N_TEXT | N_EXT;
|
newsect->target_index = N_TEXT;
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (obj_datasec(abfd) == NULL && !strcmp(newsect->name, ".data")) {
|
if (obj_datasec(abfd) == NULL && !strcmp(newsect->name, ".data")) {
|
||||||
obj_datasec(abfd) = newsect;
|
obj_datasec(abfd) = newsect;
|
||||||
newsect->target_index = N_DATA | N_EXT;
|
newsect->target_index = N_DATA;
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (obj_bsssec(abfd) == NULL && !strcmp(newsect->name, ".bss")) {
|
if (obj_bsssec(abfd) == NULL && !strcmp(newsect->name, ".bss")) {
|
||||||
obj_bsssec(abfd) = newsect;
|
obj_bsssec(abfd) = newsect;
|
||||||
newsect->target_index = N_BSS | N_EXT;
|
newsect->target_index = N_BSS;
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user