Commit c11cdefb by Sivanupandi Pitchumani Committed by Georg-Johann Lay

re PR target/65296 ([avr] fix various issues with specs file generation)

	PR target/65296
	* config/avr/gen-avr-mmcu-specs.c (*avrlibc_startfile): Adjust
	to new AVR-LibC file layout (bug #44574).
	(*avrlibc_devicelib): Same.
	* config/avr/avr-mcus.def: Adjust comments.
	* config/avr/avr.opt (nodevicelib): Adjust help.

From-SVN: r222179
parent abd0cdc9
2015-04-17 Sivanupandi Pitchumani <Pitchumani.Sivanupandi@atmel.com>
PR target/65296
* config/avr/gen-avr-mmcu-specs.c (*avrlibc_startfile): Adjust
to new AVR-LibC file layout (bug #44574).
(*avrlibc_devicelib): Same.
* config/avr/avr-mcus.def: Adjust comments.
* config/avr/avr.opt (nodevicelib): Adjust help.
2015-04-17 Alan Lawrence <alan.lawrence@arm.com> 2015-04-17 Alan Lawrence <alan.lawrence@arm.com>
* config/aarch64/arm_neon.h (vdup_n_f32): Remove forward declaration. * config/aarch64/arm_neon.h (vdup_n_f32): Remove forward declaration.
......
...@@ -44,8 +44,8 @@ ...@@ -44,8 +44,8 @@
used by DRIVER_SELF_SPECS and gen-avr-mmcu-specs.c for used by DRIVER_SELF_SPECS and gen-avr-mmcu-specs.c for
- the name of the device specific specs file - the name of the device specific specs file
in -specs=device-specs/spec-<NAME> in -specs=device-specs/spec-<NAME>
- the name of the startup file dev/<NAME>/crt1.o - the name of the startup file crt<NAME>.o
- the name of the device library dev/<NAME>/libdev.a - to link the device library by means of -l<NAME>
ARCH Specifies the multilib variant together with AVR_SHORT_SP ARCH Specifies the multilib variant together with AVR_SHORT_SP
......
...@@ -97,4 +97,4 @@ Allow to use truncation instead of rounding towards 0 for fractional int types ...@@ -97,4 +97,4 @@ Allow to use truncation instead of rounding towards 0 for fractional int types
nodevicelib nodevicelib
Driver Target Report RejectNegative Driver Target Report RejectNegative
Do not link against the device-specific library libdev.a Do not link against the device-specific library lib<MCU>.a
...@@ -171,11 +171,11 @@ print_mcu (const avr_mcu_t *mcu) ...@@ -171,11 +171,11 @@ print_mcu (const avr_mcu_t *mcu)
if (is_device) if (is_device)
{ {
fprintf (f, "*avrlibc_startfile:\n"); fprintf (f, "*avrlibc_startfile:\n");
fprintf (f, "\tdev/%s/crt1.o%%s", mcu->name); fprintf (f, "\tcrt%s.o%%s", mcu->name);
fprintf (f, "\n\n"); fprintf (f, "\n\n");
fprintf (f, "*avrlibc_devicelib:\n"); fprintf (f, "*avrlibc_devicelib:\n");
fprintf (f, "\t%%{!nodevicelib:dev/%s/libdev.a%%s}", mcu->name); fprintf (f, "\t%%{!nodevicelib:-l%s}", mcu->name);
fprintf (f, "\n\n"); fprintf (f, "\n\n");
} }
#endif // WITH_AVRLIBC #endif // WITH_AVRLIBC
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment