Commit Graph

16387 Commits

Author SHA1 Message Date
GDB Administrator
e8f9da19bc Automatic date update in version.in 2020-10-25 00:00:31 +00:00
GDB Administrator
893aa14fb9 Automatic date update in version.in 2020-10-24 00:00:32 +00:00
GDB Administrator
34718bcc22 Automatic date update in version.in 2020-10-23 00:00:45 +00:00
GDB Administrator
9a312e4904 Automatic date update in version.in 2020-10-22 00:00:26 +00:00
GDB Administrator
43b860e8c4 Automatic date update in version.in 2020-10-21 00:00:32 +00:00
GDB Administrator
974fee813c Automatic date update in version.in 2020-10-20 00:00:26 +00:00
GDB Administrator
aa873d8315 Automatic date update in version.in 2020-10-19 00:00:32 +00:00
GDB Administrator
628b363a6a Automatic date update in version.in 2020-10-18 00:00:27 +00:00
GDB Administrator
c94703dc45 Automatic date update in version.in 2020-10-17 00:00:24 +00:00
GDB Administrator
b96b7cf31f Automatic date update in version.in 2020-10-16 00:00:29 +00:00
GDB Administrator
2acc8db7ed Automatic date update in version.in 2020-10-15 00:00:28 +00:00
GDB Administrator
2e052fd569 Automatic date update in version.in 2020-10-14 00:00:28 +00:00
GDB Administrator
0241ddc77d Automatic date update in version.in 2020-10-13 00:00:31 +00:00
GDB Administrator
5d09cf9879 Automatic date update in version.in 2020-10-12 00:00:23 +00:00
GDB Administrator
e610101040 Automatic date update in version.in 2020-10-11 00:00:26 +00:00
GDB Administrator
f7a8799115 Automatic date update in version.in 2020-10-10 00:00:23 +00:00
GDB Administrator
114f9fd9e9 Automatic date update in version.in 2020-10-09 00:00:29 +00:00
GDB Administrator
f39391b6f0 Automatic date update in version.in 2020-10-08 00:00:25 +00:00
GDB Administrator
8f97e9b79d Automatic date update in version.in 2020-10-07 00:00:26 +00:00
GDB Administrator
e68941ba17 Automatic date update in version.in 2020-10-06 00:00:29 +00:00
GDB Administrator
7ba0e35baa Automatic date update in version.in 2020-10-05 00:00:29 +00:00
GDB Administrator
522605be60 Automatic date update in version.in 2020-10-04 00:00:30 +00:00
GDB Administrator
fdb72ad268 Automatic date update in version.in 2020-10-03 00:00:24 +00:00
GDB Administrator
ea9cc728dc Automatic date update in version.in 2020-10-02 00:00:28 +00:00
GDB Administrator
2378f62126 Automatic date update in version.in 2020-10-01 00:00:29 +00:00
GDB Administrator
7e7e2357fc Automatic date update in version.in 2020-09-30 00:00:31 +00:00
GDB Administrator
ccf7653413 Automatic date update in version.in 2020-09-29 00:00:29 +00:00
GDB Administrator
5cb6abf208 Automatic date update in version.in 2020-09-28 00:00:32 +00:00
GDB Administrator
df69589808 Automatic date update in version.in 2020-09-27 00:00:29 +00:00
GDB Administrator
698ef0a3e7 Automatic date update in version.in 2020-09-26 00:00:28 +00:00
GDB Administrator
f6defe2064 Automatic date update in version.in 2020-09-25 00:00:24 +00:00
GDB Administrator
6006bb78cc Automatic date update in version.in 2020-09-24 00:00:30 +00:00
GDB Administrator
2051e5340c Automatic date update in version.in 2020-09-23 00:00:23 +00:00
GDB Administrator
1e4d9e71cc Automatic date update in version.in 2020-09-22 00:00:24 +00:00
GDB Administrator
d941eafc46 Automatic date update in version.in 2020-09-21 00:00:24 +00:00
GDB Administrator
a78d1a1c28 Automatic date update in version.in 2020-09-20 00:00:40 +00:00
GDB Administrator
4567103763 Automatic date update in version.in 2020-09-19 00:00:46 +00:00
GDB Administrator
0d789f59d1 Automatic date update in version.in 2020-09-18 00:00:42 +00:00
GDB Administrator
7ea31d3da0 Automatic date update in version.in 2020-09-17 00:00:38 +00:00
GDB Administrator
f0f01c9e23 Automatic date update in version.in 2020-09-16 00:00:39 +00:00
GDB Administrator
9c4a30eb45 Automatic date update in version.in 2020-09-15 00:00:51 +00:00
GDB Administrator
5ebb0da9a5 Automatic date update in version.in 2020-09-14 00:00:48 +00:00
Joel Brobecker
713bde4c19 Set development mode to "off" by default.
bfd/ChangeLog:

	* development.sh (development): Set to false.
2020-09-12 19:34:37 -07:00
H.J. Lu
496afd1705 elf: Add -z unique-symbol to avoid duplicated local symbol names
The symbol string table in the .symtab section is optional and cosmetic.
The contents of the .symtab section have no impact on run-time execution.
The symbol names in the symbol string table help distinguish addresses at
different locations.  Add a linker option, -z unique-symbol, to avoid
duplicated local symbol names in the symbol string table.

This feature was well received by the livepatch maintainers.  It not only
solves the duplicated local symbol name problem, but also would allow
livepatch to more precisely locate duplicate symbols in general for
patching.

bfd/

	PR ld/26391
	* elflink.c (elf_final_link_info): Add local_hash_table.
	(local_hash_entry): New.
	(local_hash_newfunc): Likewise.
	(elf_link_output_symstrtab): Append ".COUNT" to duplicated local
	symbols.
	(bfd_elf_final_link): Initialize and free local_hash_table for
	"-z unique-symbol".

include/

	PR ld/26391
	* bfdlink.h (bfd_link_info): Add unique_symbol.

ld/

	PR ld/26391
	* NEWS: Mention "-z unique-symbol".
	* emultempl/elf.em (gld${EMULATION_NAME}_handle_option): Handle
	"-z unique-symbol" and "-z nounique-symbol".
	* ld.texi: Document "-z unique-symbol" and "-z nounique-symbol".
	* lexsup.c (elf_static_list_options): Add "-z unique-symbol" and
	"-z nounique-symbol".
	* testsuite/ld-elf/elf.exp: Add PR ld/26391 tests.
	* testsuite/ld-elf/pr26391.nd: New file.
	* testsuite/ld-elf/pr26391.out: Likewise.
	* testsuite/ld-elf/pr26391a.c: Likewise.
	* testsuite/ld-elf/pr26391b.c: Likewise.
	* testsuite/ld-elf/pr26391c.c: Likewise.
	* testsuite/ld-elf/pr26391d.c: Likewise.
2020-09-12 05:37:43 -07:00
GDB Administrator
e71774ed24 Automatic date update in version.in 2020-09-12 00:00:07 +00:00
GDB Administrator
580decb024 Automatic date update in version.in 2020-09-11 00:00:13 +00:00
Siddhesh Poyarekar
c7cd291722 aarch64: Return an error on conditional branch to an undefined symbol
The fix in 7e05773767 introduced a PLT
for conditional jumps when the target symbol is undefined.  This is
incorrect because conditional branch relocations are not allowed to
clobber IP0/IP1 and hence, should not result in a dynamic relocation.

Revert that change and in its place, issue an error when the target
symbol is undefined.

bfd/

	2020-09-10  Siddhesh Poyarekar  <siddesh.poyarekar@arm.com>

	* elfnn-aarch64.c (elfNN_aarch64_final_link_relocate): Revert
	changes in 7e05773767.  Set
	error for undefined symbol in BFD_RELOC_AARCH64_BRANCH19 and
	BFD_RELOC_AARCH64_TSTBR14 relocations.

ld/

	2020-09-10  Siddhesh Poyarekar  <siddesh.poyarekar@arm.com>

	* testsuite/ld-aarch64/emit-relocs-560.d: Expect error instead
	of valid output.
2020-09-10 21:42:37 +05:30
GDB Administrator
a3a08c5a2f Automatic date update in version.in 2020-09-10 00:00:07 +00:00
Nick Clifton
10556cdc8e Fix thinko in the code to check coff archive elements.
* cofflink.c (coff_link_check_archive_element): Move the check for
	coff type input to the start of the function.
2020-09-09 15:00:55 +01:00
GDB Administrator
7671fe54f3 Automatic date update in version.in 2020-09-09 00:00:13 +00:00