This website requires JavaScript.
Explore
Help
Register
Sign in
darkkirb
/
old-cross-binutils
Watch
1
Star
0
Fork
You've already forked old-cross-binutils
0
Code
Issues
Pull requests
Projects
Releases
Packages
Wiki
Activity
91b96a45e3
old-cross-binutils
/
ld
/
testsuite
/
ld-elf
/
group.ld
7 lines
107 B
Text
Raw
Normal View
History
Unescape
Escape
2004-12-01 Paul Brook <paul@codesourcery.com> bfd/ * elflink.c (elf_link_add_object_symbols): Make symbols from discarded sections undefined. ld/testsuite/ * ld-elf/group1.d: New test. * ld-elf/group.ld, ld-elf/group1a.s, ld-elf/group1b.s: New test.
2004-12-01 23:23:12 +00:00
SECTIONS
{
. = 0x1000;
ld/ * emultempl/elf32.em (gld*_before_allocation): Adjust output section size for warning sections. ld/testsuite/ * ld-elf/group.ld: Handle .rodata.brlt for powerpc64.
2006-11-08 11:29:16 +00:00
.text : { *(.text) *(.rodata.brlt) }
bfd/ * elf.c (_bfd_elf_fixup_group_sections): New function, split out from.. (_bfd_elf_copy_private_header_data): ..here. * elflink.c (_bfd_elf_size_group_sections): New function. (bfd_elf_size_dynamic_sections): Call it. * elf-bfd.h (_bfd_elf_size_group_sections): Declare. (_bfd_elf_fixup_group_sections): Declare. ld/ * ldlang.c (unique_section_p): Add os param. Allow group sections to match /DISCARD/. Update all callers. * emultempl/genelf.em (gld${EMULATION_NAME}_before_allocation): New. (LDEMUL_BEFORE_ALLOCATION): Define. ld/testsuite/ * ld-elf/group.ld: Discard .dropme sections. * ld-elf/group10.d, * ld-elf/group10.s: New test.
2010-02-19 01:47:16 +00:00
/DISCARD/ : { *(.dropme) *(.reginfo) }
2004-12-01 Paul Brook <paul@codesourcery.com> bfd/ * elflink.c (elf_link_add_object_symbols): Make symbols from discarded sections undefined. ld/testsuite/ * ld-elf/group1.d: New test. * ld-elf/group.ld, ld-elf/group1a.s, ld-elf/group1b.s: New test.
2004-12-01 23:23:12 +00:00
}
Reference in a new issue
Copy permalink