Browse Source
2003-06-03 H.J. Lu <hongjiu.lu@intel.com> * elflink.h (elf_link_input_bfd): Call linker error_handler for discarded definitions. include/ 2003-06-03 H.J. Lu <hongjiu.lu@intel.com> * bfdlink.h (LD_DEFINITION_IN_DISCARDED_SECTION): New. ld/ 2003-06-03 H.J. Lu <hongjiu.lu@intel.com> * ldmisc.c: Include "bfdlink.h". (error_handler): Handle LD_DEFINITION_IN_DISCARDED_SECTION and -LD_DEFINITION_IN_DISCARDED_SECTION. * Makefile.am: Rebuild dependency. * Makefile.in: Regenerated. ld/testsuite/ 2003-06-03 H.J. Lu <hongjiu.lu@intel.com> * ld-discard/extern.d: Updated. * ld-discard/start.d: Likewise. * ld-discard/static.d: Likewise.ezannoni_pie-20030916-branch
12 changed files with 112 additions and 38 deletions
@ -1,3 +1,3 @@ |
|||
#source: extern.s |
|||
#ld: -T discard.ld |
|||
#error: undefined reference to `(data|local symbols in discarded section \.data\.exit)' |
|||
#error: data: discarded in section `\.data\.exit' from tmpdir/dump0.o |
|||
|
|||
@ -1,4 +1,4 @@ |
|||
#source: start.s |
|||
#source: exit.s |
|||
#ld: -T discard.ld |
|||
#error: undefined reference to `data' |
|||
#error: data: discarded in section `\.data\.exit' from tmpdir/dump1.o |
|||
|
|||
@ -1,3 +1,3 @@ |
|||
#source: static.s |
|||
#ld: -T discard.ld |
|||
#error: undefined reference to `local symbols in discarded section \.data\.exit' |
|||
#error: local symbol 0: discarded in section `\.data\.exit' from tmpdir/dump0.o |
|||
|
|||
Loading…
Reference in new issue